 /* Add this new style for the navigation menu */
        .nav-menu {
            background-color: #2c3e50;
            padding: 0.5rem 0;
            margin-bottom: 1rem;
        }
        
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
        }
        
        .nav-list {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
            flex-wrap: wrap;
        }
        
        .nav-item {
            margin: 0 0.5rem;
        }
        
        .nav-link {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: background-color 0.3s ease;
            display: flex;
            align-items: center;
        }
        
        .nav-link:hover {
            background-color: #34495e;
        }
        
        .nav-link i {
            margin-right: 0.5rem;
        }
        
        .nav-link.active {
            background-color: var(--primary);
            font-weight: 500;
        }
  
        :root {
            --primary: #0071e3;
            --primary-dark: #0062c4;
            --secondary: #34c759;
            --danger: #ff3b30;
            --warning: #ff9500;
            --light: #f5f5f7;
            --dark: #1d1d1f;
            --gray: #86868b;
            --light-gray: #e5e5e5;
            --border-radius: 12px;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'SF Pro Text', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
        
        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }
        
        /* Header Styles */
        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 1.5rem 1rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .header-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.05;
            background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0id2hpdGUiIG9wYWNpdHk9IjAuMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
            background-size: 40px 40px;
        }
        
        .logo {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .logo i {
            margin-right: 0.8rem;
        }
        
        .tagline {
            font-size: 1rem;
            opacity: 0.9;
            margin-bottom: 0.5rem;
        }
        
        /* Auth Buttons */
        .auth-buttons {
            position: absolute;
            top: 1rem;
            right: 1rem;
            display: flex;
            gap: 0.5rem;
        }
        
        .auth-btn {
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }
        
        .login-btn {
            background-color: transparent;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .login-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .register-btn {
            background-color: white;
            color: var(--primary);
        }
        
        .register-btn:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }
        
        .user-info {
            position: absolute;
            top: 1rem;
            right: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            color: white;
        }
        
        .user-info span {
            font-weight: 500;
        }
        
        .logout-btn {
            background-color: transparent;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .logout-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .credit-balance {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            font-weight: 600;
        }
        
        /* Main Container */
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 2rem;
        }
        
        /* Left Panel - Checker */
        .checker-panel {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 1rem;
        }
        
        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .panel-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary);
        }
        
        .price-info {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .price-amount {
            font-weight: 600;
            color: var(--primary);
        }
        
        /* Form Styles */
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--dark);
        }
        
        .form-control {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--light-gray);
            border-radius: var(--border-radius);
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
        }
        
        textarea.form-control {
            min-height: 180px;
            resize: vertical;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 1rem;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            width: 100%;
        }
        
        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .btn:disabled {
            background-color: var(--gray);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .btn-secondary {
            background-color: var(--warning);
            margin-top: 1rem;
        }
        
        .btn-secondary:hover {
            background-color: #e68a00;
        }
        
        /* Login/Register Modal */
        .auth-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .auth-modal-content {
            background-color: white;
            border-radius: var(--border-radius);
            width: 100%;
            max-width: 400px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        }
        
        .auth-modal-header {
            margin-bottom: 1.5rem;
            text-align: center;
        }
        
        .auth-modal-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .auth-modal-switch {
            color: var(--primary);
            cursor: pointer;
            font-size: 0.9rem;
            text-decoration: underline;
        }
        
        .auth-modal-switch:hover {
            opacity: 0.8;
        }
        
        .auth-modal-footer {
            margin-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        /* Right Panel - Results */
        .results-panel {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }
        
        .results-header {
            background-color: var(--dark);
            color: white;
            padding: 1.2rem 1.5rem;
            font-weight: 500;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .results-title {
            font-size: 1.2rem;
        }
        
        .results-summary {
            display: flex;
            gap: 1.5rem;
        }
        
        .summary-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }
        
        .summary-value {
            font-weight: 600;
        }
        
        .total-count { color: white; }
        .on-count { color: var(--danger); }
        .off-count { color: var(--secondary); }
        .error-count { color: var(--warning); }
        
        .results-body {
            background: white;
            max-height: calc(100vh - 250px);
            overflow-y: auto;
        }
        
        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.2rem 1.5rem;
            border-bottom: 1px solid var(--light-gray);
            transition: background-color 0.2s ease;
        }
        
        .result-item:hover {
            background-color: rgba(0, 113, 227, 0.03);
        }
        
        .result-item:last-child {
            border-bottom: none;
        }
        
        .imei-number {
            font-weight: 500;
            color: var(--primary);
            flex: 1;
            font-family: 'SF Mono', monospace;
            font-size: 0.95rem;
        }
        
        .status-badge {
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            min-width: 100px;
            text-align: center;
        }
        
        .status-on {
            background-color: rgba(255, 59, 48, 0.1);
            color: var(--danger);
        }
        
        .status-off {
            background-color: rgba(52, 199, 89, 0.1);
            color: var(--secondary);
        }
        
        .status-error {
            background-color: rgba(142, 142, 147, 0.1);
            color: var(--gray);
        }
        
        .status-other {
            background-color: rgba(255, 149, 0, 0.1);
            color: var(--warning);
        }
        
        /* Loading Indicator */
        .loading {
            display: none;
            text-align: center;
            padding: 2rem;
        }
        
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-radius: 50%;
            border-top: 4px solid var(--primary);
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Empty State */
        .empty-state {
            padding: 3rem 2rem;
            text-align: center;
            color: var(--gray);
        }
        
        .empty-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 2rem 1rem;
            text-align: center;
            margin-top: 2rem;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 1rem 0;
            flex-wrap: wrap;
        }
        
        .footer-link {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s ease;
            font-size: 0.9rem;
        }
        
        .footer-link:hover {
            opacity: 0.8;
        }
        
        .copyright {
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: 1rem;
        }
        
        /* SweetAlert Customization */
        .swal2-popup {
            border-radius: var(--border-radius) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .container {
                grid-template-columns: 1fr;
            }
            
            .checker-panel {
                position: static;
            }
            
            .results-body {
                max-height: 400px;
            }
        }
        
        @media (max-width: 768px) {
            .logo {
                font-size: 1.8rem;
            }
            
            .tagline {
                font-size: 0.95rem;
            }
            
            .results-summary {
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: flex-start;
            }
            
            .auth-buttons {
                position: static;
                justify-content: center;
                margin-top: 1rem;
            }
            
            .user-info {
                position: static;
                justify-content: center;
                margin-top: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            .panel-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .result-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
                padding: 1rem;
            }
            
            .status-badge {
                align-self: flex-end;
            }
            
            .auth-modal-content {
                padding: 1.5rem;
            }
        }
        
        /* Additional styles for results in SweetAlert */
        .results-alert-container {
            max-height: 60vh;
            overflow-y: auto;
            margin: 1rem 0;
            border: 1px solid var(--light-gray);
            border-radius: var(--border-radius);
        }
        
        .alert-result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 1rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .alert-result-item:last-child {
            border-bottom: none;
        }
        
        .alert-imei {
            font-family: 'SF Mono', monospace;
            font-size: 0.9rem;
        }
        
        .alert-summary {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--light-gray);
        }
        
        .alert-summary-item {
            text-align: center;
            flex: 1;
        }
        
        .alert-summary-value {
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .alert-summary-label {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
          .result-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .imei-info {
        flex: 1;
    }
    
    .imei-number {
        font-weight: 500;
        margin-bottom: 0.25rem;
    }
    
    .model-info {
        font-size: 0.8rem;
        color: #86868b;
    }
    
    .status-badge {
        display: inline-block;
        padding: 0.35rem 0.75rem;
        border-radius: 12px;
        font-weight: 500;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .status-on {
        background-color: rgba(255, 59, 48, 0.1);
        color: #ff3b30;
    }
    
    .status-off {
        background-color: rgba(52, 199, 89, 0.1);
        color: #34c759;
    }
    
    .status-other {
        background-color: rgba(134, 134, 139, 0.1);
        color: #86868b;
    }
    
    .status-error {
        background-color: rgba(255, 149, 0, 0.1);
        color: #ff9500;
    }
    
    /* Service Menu Styles */
.service-menu {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-menu-header {
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    border-bottom: 1px solid #e9ecef;
}

.service-item:last-child {
    border-bottom: none;
}

.service-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-link:hover {
    background-color: #e9ecef;
    color: var(--primary);
}

.service-link.active {
    background-color: rgba(0, 113, 227, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.service-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.service-dropdown {
    margin-bottom: 1.5rem;
}

.service-dropdown label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.service-dropdown label i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.service-dropdown select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background-color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-dropdown select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}
    
.device-details {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(0,0,0,0.03);
    border-radius: 8px;
    font-size: 0.9rem;
}

.device-details div {
    margin: 0.25rem 0;
}


