/* MobService Modern Light Theme Design System */
:root {
    --mob-primary: #0284c7;
    --mob-primary-hover: #0369a1;
    --mob-secondary: #475569;
    --mob-success: #10b981;
    --mob-warning: #f59e0b;
    --mob-danger: #ef4444;
    --mob-bg: #f8fafc;
    --mob-sidebar-bg: #0f172a;
    --mob-sidebar-text: #94a3b8;
    --mob-sidebar-active: #38bdf8;
    --mob-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--mob-bg);
    color: #1e293b;
    margin: 0;
    padding: 0;
}

/* Sidebar Styling */
.app-sidebar {
    width: 260px;
    background-color: var(--mob-sidebar-bg);
    min-height: 100vh;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-brand {
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav {
    padding: 1rem 0.75rem;
    list-style: none;
    margin: 0;
}

.sidebar-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 0.75rem 0.75rem 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    color: var(--mob-sidebar-text);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.sidebar-link i {
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.sidebar-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

.sidebar-link.active {
    color: #ffffff;
    background-color: var(--mob-primary);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* Content Area */
.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
}

.main-container {
    padding: 1.75rem 1.5rem;
    flex: 1;
}

/* Cards & Widgets */
.card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: var(--mob-card-shadow);
    background-color: #ffffff;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.stat-card {
    padding: 1.25rem;
    border-radius: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--mob-card-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

/* Pontaj Big Action Buttons */
.clock-btn {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.clock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badges */
.badge-service {
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.75rem;
}

/* PWA Native Splash Screen */
.pwa-splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #090d16 0%, #0f172a 50%, #1e3a8a 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pwa-splash-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pwa-splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pwaContentFadeIn 0.5s ease-out;
}

.pwa-splash-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 35px rgba(56, 189, 248, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: pwaPulse 2s infinite ease-in-out;
}

@keyframes pwaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.35);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 45px rgba(56, 189, 248, 0.7);
    }
}

@keyframes pwaContentFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Bottom Navigation Bar (Small Screens only: < 768px) */
.mobile-bottom-nav {
    z-index: 1040;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.96) !important;
    height: 60px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.2rem 0.6rem;
    border-radius: 0.5rem;
    flex: 1;
    text-align: center;
}

.mobile-nav-item i {
    font-size: 1.15rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: #0284c7;
}

.mobile-nav-item.active {
    color: #0284c7;
    font-weight: 700;
}

.mobile-nav-item.active i {
    transform: translateY(-2px);
    color: #0284c7;
}

/* Compensare spatiu jos pe ecrane mici sa nu acopere continutul */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 68px;
    }
}
