body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mobile-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.btn-lg-touch {
    padding: 15px 20px;
    font-size: 1.2rem;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 12px;
}

.card-touch {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.form-control-lg {
    height: 55px;
    font-size: 1.1rem;
}

/* DASHBOARD LAYOUT */
#app-container {
    display: flex;
    min-height: 100vh;
}

#sidebar {
    width: 250px;
    background: #2c3e50;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

#sidebar .brand {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    background: #1a252f;
    border-bottom: 1px solid #34495e;
}

#sidebar .menu {
    flex-grow: 1;
    padding: 10px 0;
}

#sidebar .menu a {
    display: block;
    padding: 12px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.2s;
}

#sidebar .menu a:hover,
#sidebar .menu a.active {
    background: #34495e;
    color: #fff;
    border-left: 4px solid #3498db;
}

#sidebar .menu a i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

#sidebar .user-panel {
    padding: 15px;
    background: #1a252f;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
}

#main-content {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 100vh;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #app-container {
        flex-direction: column;
    }

    #sidebar {
        width: 100%;
        order: 2;
    }

    #main-content {
        order: 1;
    }
}

canvas.signature-pad {
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
    width: 100%;
}

.receipt-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.receipt-val {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Modal z-index fixes */
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    z-index: 10000 !important;
}
