/* ============================================
   MOBILE CSS - MOBILE FIRST DESIGN
   Ottimizzato per dispositivi mobili
   Usato per ruoli: driver, commerciale, pescheria, amministrazione, magazzino
   ============================================ */

/* --- RESET E BASE MOBILE --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f9fc;
    color: #222;
    font-size: 1.08rem;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    padding-bottom: 70px; /* spazio per menu basso se presente */
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.7em;
}

.container, .container-fluid {
    padding: 1rem 0.75rem;
    max-width: 100%;
}

main {
    flex: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* --- HEADER MOBILE CON HAMBURGER --- */
.mobile-header {
    background: #fff;
    border-bottom: 1px solid #e3e6ee;
    box-shadow: 0 2px 8px rgba(30,41,59,0.07);
    position: sticky;
    top: 0;
    z-index: 1040;
    min-height: 60px;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.mobile-brand i {
    font-size: 1.5rem;
    color: #2563eb;
}

.mobile-brand span {
    display: none;
}

@media (min-width: 400px) {
    .mobile-brand span {
        display: inline;
    }
}

/* Hamburger Button - Solo mobile */
.hamburger-btn.mobile-only {
    display: flex;
}

/* Nascondi hamburger menu su desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* Hamburger Button */
.hamburger-btn {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1041;
}

.hamburger-btn span {
    width: 24px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-btn:hover span {
    background: #1e40af;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.btn-login-mobile {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Logout Button nell'header - Sempre visibile per utenti autenticati */
.btn-logout-header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.btn-logout-header:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.btn-logout-header i {
    font-size: 1rem;
}

@media (max-width: 576px) {
    .btn-logout-header {
        padding: 0.5rem;
        min-width: 44px;
        justify-content: center;
    }
    .btn-logout-header span {
        display: none;
    }
}

/* Desktop-only: mostra login button su desktop */
@media (min-width: 769px) {
    .desktop-only {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* Public Menu Button - Stesso stile hamburger */
.public-menu-btn {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1041;
}

.public-menu-btn span {
    width: 24px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.public-menu-btn:hover span {
    background: #1e40af;
}

/* Public Menu Overlay */
.public-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.public-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Public Menu Sidebar */
.public-menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.public-menu-sidebar.active {
    transform: translateX(0);
}

.public-menu-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    padding: 1.25rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.public-menu-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.public-menu-brand i {
    font-size: 1.5rem;
}

.public-menu-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.2rem;
}

.public-menu-close:hover {
    background: rgba(255,255,255,0.3);
}

.public-menu-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.public-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.75rem;
}

.public-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 1rem;
}

.public-menu-item i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    transition: color 0.2s;
}

.public-menu-item span {
    flex: 1;
}

.public-menu-item:hover {
    background: #f1f5f9;
    color: #2563eb;
    transform: translateX(4px);
}

.public-menu-item:hover i {
    color: #2563eb;
}

.public-menu-item.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    font-weight: 600;
}

.public-menu-item.active i {
    color: #2563eb;
}

.public-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2563eb;
    border-radius: 0 4px 4px 0;
}

/* Hamburger Overlay */
.hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hamburger-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Sidebar */
.hamburger-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.hamburger-sidebar.active {
    transform: translateX(0);
}

.hamburger-sidebar-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    padding: 1.25rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hamburger-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.hamburger-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.hamburger-user-details {
    flex: 1;
}

.hamburger-user-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.hamburger-user-role {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hamburger-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.2rem;
}

.hamburger-close:hover {
    background: rgba(255,255,255,0.3);
}

.hamburger-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

/* Hamburger Menu List */
.hamburger-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.75rem;
}

.hamburger-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 1rem;
}

.hamburger-menu-item i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    transition: color 0.2s;
}

.hamburger-menu-item span {
    flex: 1;
}

.hamburger-menu-item:hover {
    background: #f1f5f9;
    color: #2563eb;
    transform: translateX(4px);
}

.hamburger-menu-item:hover i {
    color: #2563eb;
}

.hamburger-menu-item.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
    font-weight: 600;
}

.hamburger-menu-item.active i {
    color: #2563eb;
}

.hamburger-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2563eb;
    border-radius: 0 4px 4px 0;
}

/* Hamburger Menu Sections */
.hamburger-menu-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.hamburger-menu-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hamburger-menu-section-title i {
    width: 24px;
    text-align: center;
    color: #94a3b8;
}

.hamburger-menu-subitem {
    padding-left: 2.5rem;
    font-size: 0.95rem;
}

/* Hamburger Sidebar Footer */
.hamburger-sidebar-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1rem;
}

.hamburger-logout {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #ef4444;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
}

.hamburger-logout i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.hamburger-logout:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: translateX(4px);
}

/* Badge nel menu */
.hamburger-menu-item .badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* --- NAVBAR MOBILE (mantenuta per compatibilità) --- */
.navbar-modern {
    display: none;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon {
    font-size: 1.3rem;
    color: #2563eb;
}

/* Scrollbar per hamburger sidebar */
.hamburger-sidebar::-webkit-scrollbar {
    width: 6px;
}

.hamburger-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.hamburger-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.hamburger-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animazione hamburger item */
.hamburger-menu-item {
    position: relative;
}

.hamburger-menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #2563eb;
    border-radius: 0 4px 4px 0;
}

/* Responsive hamburger */
@media (min-width: 992px) {
    .mobile-header {
        display: none;
    }
    
    .hamburger-sidebar,
    .hamburger-overlay {
        display: none !important;
    }
}

/* --- CARD MOBILE --- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.07);
    background: #fff;
    margin-bottom: 1rem;
    padding: 1rem;
}

.card-header {
    background: none;
    border: none;
    font-weight: 700;
    color: #2563eb;
    font-size: 1.1em;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.card-body {
    padding: 0.5rem 0;
}

/* --- BUTTONS MOBILE --- */
.btn {
    width: 100%;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    padding: 0.9em 1.2em;
    margin-bottom: 0.7rem;
    font-size: 1.1em;
    transition: all 0.2s;
}

.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1741a6; color: #fff; }
.btn-info { background: #06b6d4; color: #fff; }
.btn-info:hover { background: #0e7490; color: #fff; }
.btn-warning { background: #facc15; color: #222; }
.btn-warning:hover { background: #eab308; color: #222; }
.btn-secondary { background: #64748b; color: #fff; }
.btn-secondary:hover { background: #334155; color: #fff; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #b91c1c; color: #fff; }

/* --- TABLE MOBILE --- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table {
    min-width: 600px;
    font-size: 0.95em;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table th, .table td {
    padding: 0.6em 0.5em;
    border: none;
}

.table thead th {
    background: #f1f5f9;
    font-weight: 600;
    color: #2563eb;
    font-size: 0.9em;
}

/* --- BADGE MOBILE --- */
.badge {
    font-size: 0.9em;
    border-radius: 6px;
    padding: 0.4em 0.7em;
    font-weight: 600;
}

.badge.bg-info {
    background-color: #06b6d4 !important;
    color: #fff !important;
}

.badge.bg-warning {
    background-color: #facc15 !important;
    color: #222 !important;
}

.badge.bg-success {
    background-color: #22c55e !important;
    color: #fff !important;
}

/* --- ALERT MOBILE --- */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95em;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger,
.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

.flash-messages-container {
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
    z-index: 1050;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- LIST GROUP MOBILE --- */
.list-group-item {
    border: none;
    background: #f8fafc;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

/* --- FORM MOBILE --- */
.form-control, .form-select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e3e6ee;
    background: #f8fafc;
    font-size: 1.08em;
    padding: 0.75rem;
    margin-bottom: 0.7rem;
    min-height: 44px;
}

.form-control:focus, .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    outline: none;
}

label {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* --- FOOTER MOBILE --- */
.footer {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.9em;
    border-top: 1px solid #e3e6ee;
    padding: 1.5rem 0;
    margin-top: auto;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 480px) {
    body {
        font-size: 1em;
    }
    
    .navbar-modern {
        min-height: 56px;
    }
    
    .brand-title {
        font-size: 0.95rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .card {
        padding: 0.75rem;
        border-radius: 10px;
    }
    
    .btn {
        font-size: 1em;
        padding: 0.8em 1em;
    }
    
    .table {
        font-size: 0.9em;
    }
    
    h1, h2, h3 {
        font-size: 1.2rem;
    }
    
    .container, .container-fluid {
        padding: 0.5rem;
    }
}

/* Nascondi elementi desktop su mobile */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

/* Scrollbar mobile */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selezione testo */
::selection {
    background: #2563eb;
    color: #fff;
}

/* Focus migliorato per mobile */
*:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Transizioni globali */
a, button, .btn, .nav-link {
    transition: all 0.2s ease;
}

/* Touch targets più grandi su mobile */
@media (max-width: 768px) {
    button, .btn, a.btn, .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   MOBILE STANDARD UI - DESIGN SYSTEM
   Standardizzato per tutti i ruoli employee
   (driver, pescheria, commerciale, magazzino)
   ============================================ */

/* Mobile Page Standard Structure */
.mobile-page {
    padding: 0;
    max-width: 100%;
}

.mobile-page-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 1.5rem 1rem;
    margin: -1.5rem -15px 1.5rem -15px;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-page-header-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.mobile-page-header-content h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.mobile-page-header-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

/* Mobile Page Card */
.mobile-page-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.mobile-page-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-page-card-title i {
    color: #2563eb;
    font-size: 1.3rem;
}

/* Mobile Form Standardizzato */
.mobile-form-group {
    margin-bottom: 1.25rem;
}

.mobile-form-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.mobile-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    min-height: 44px;
    transition: all 0.2s ease;
}

.mobile-form-input:focus {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.mobile-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    min-height: 100px;
    resize: vertical;
    transition: all 0.2s ease;
    font-family: inherit;
}

.mobile-form-textarea:focus {
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Mobile Primary Button */
.mobile-primary-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mobile-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.mobile-primary-btn:active {
    transform: translateY(0);
}

/* Mobile Status Badges */
.mobile-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.mobile-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.mobile-status-badge.approved {
    background: #d1fae5;
    color: #065f46;
}

.mobile-status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* Mobile List Items */
.mobile-list-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(30, 41, 59, 0.08);
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

.mobile-list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.mobile-list-item-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.mobile-list-item-content {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.mobile-list-item-content strong {
    color: #1e293b;
}

.mobile-list-item-row {
    margin-top: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.mobile-list-item-row:first-child {
    margin-top: 0;
}

.mobile-list-item-icon {
    color: #2563eb;
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.mobile-list-item-meta {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Empty State */
.mobile-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
}

.mobile-empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.mobile-empty-state p {
    font-size: 1rem;
    margin: 0;
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .mobile-page-card {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-primary-btn {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Landing Page Styles */
.hero-section {
    background: linear-gradient(135deg, #f7f9fc 0%, #e0e7ff 100%);
    border-bottom: 1px solid #e3e6ee;
}

.features {
    background: #fff;
}

.login-section {
    background: #f7f9fc;
}
