* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5a6fd8;
    --secondary: #764ba2;
    --dark-bg: #0d1117;
    --dark-card: #161b22;
    --dark-card-hover: #21262d;
    --text-light: #f0f6fc;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --success: #3fb950;
    --warning: #d29922;
    --danger: #f85149;
    --shadow: rgba(0, 0, 0, 0.4);
    --glow: rgba(102, 126, 234, 0.5);
    --neon-glow: 0 0 10px var(--glow), 0 0 20px var(--glow), 0 0 30px var(--glow);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- SIMPLIFIED LOGIN STYLES --- */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--dark-bg); /* Simplified background */
    padding: 1rem;
}

.login-container {
    background: var(--dark-card); /* Simplified solid background */
    padding: 2.5rem;
    border-radius: 16px; /* Slightly softer radius */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Softer, simpler shadow */
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 10; /* Added to ensure this container is above other elements */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for definition */
    transition: all 0.3s ease; /* Kept a subtle transition */
}

.login-container:hover {
    border-color: rgba(255, 255, 255, 0.15); /* Gentle hover effect */
}

.login-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light); /* Solid text color */
    font-size: 1.8rem; /* Slightly smaller font size */
    font-weight: 600;
    position: relative;
}

.login-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px; /* Slightly smaller underline */
    height: 2px; /* Thinner underline */
    background: var(--primary); /* Solid color underline */
    border-radius: 2px;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.login-container input {
    width: 100%;
    padding: 14px 18px; /* Adjusted padding */
    margin: 5px 0;
    border: 1px solid #30363d; /* Clearer border */
    border-radius: 10px; /* Softer radius */
    background: #0d1117; /* Darker, solid background */
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    pointer-events: auto; /* Explicitly make sure inputs are clickable */
}

.login-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2); /* Softer focus ring */
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.login-container button {
    width: 100%;
    padding: 14px;
    background: var(--primary); /* Solid background color */
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    pointer-events: auto; /* Explicitly make sure the button is clickable */
}

.login-container button:hover {
    background: var(--primary-dark); /* Darker shade on hover */
    transform: translateY(-2px); /* Simple lift effect */
}

.login-container button:active {
    transform: translateY(0);
}

.login-container form {
    position: relative;
    z-index: 1;
}

.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
    text-align: center;
    font-size: 0.9rem;
}

/* --- END OF SIMPLIFIED LOGIN STYLES --- */


/* Enhanced Header with 3D Effect */
header {
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 5px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header nav {
    display: flex;
    gap: 1rem;
}

header nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

header nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

header nav a:hover::before {
    width: 80%;
}

header nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.user-info {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.user-info::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(59, 201, 80, 0.7);
    }
    70% { 
        opacity: 0.7;
        box-shadow: 0 0 0 10px rgba(59, 201, 80, 0);
    }
    100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(59, 201, 80, 0);
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

/* Enhanced Profile Styles with 3D Cards */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.sidebar {
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar:hover {
    transform: translateY(-8px) rotateY(3deg);
    box-shadow: 
        0 15px 40px var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.profile-card table {
    width: 100%;
    border-collapse: collapse;
}

.profile-card td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--text-muted);
}

/* Enhanced Dashboard with 3D Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px var(--shadow), 0 0 20px rgba(102, 126, 234, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card p {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 2px 4px var(--shadow);
}

.stat-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.trend-up {
    color: var(--success);
}

.trend-down {
    color: var(--danger);
}

/* Enhanced Data Center Styles */
.datacenter-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-credit {
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-credit strong {
    color: var(--success);
    font-size: 1.3rem;
}

/* Alert Messages */
.alert-message {
    margin-bottom: 2rem;
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border-left: 4px solid;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.alert-info {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger);
    color: var(--danger);
}

.alert-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-actions {
    margin-left: 1rem;
}

.alert-link {
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.alert-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Search Panel */
.search-panel {
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.search-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.panel-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.search-form {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-section {
    display: flex;
    flex-direction: column;
}

.form-section.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-select,
.form-input,
.form-textarea {
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-select:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
}

.checkbox-container input {
    margin-right: 10px;
    accent-color: var(--primary);
    transform: scale(1.2);
}

.checkbox-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* Credit Summary */
.credit-summary {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.credit-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.credit-label {
    font-weight: 600;
    color: var(--text-light);
}

.credit-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.credit-help {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Results Panel */
.results-panel {
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-top: 2rem;
}

.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    font-weight: 600;
    color: var(--text-light);
}

.export-actions {
    display: flex;
    gap: 1rem;
}

.btn-export {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.btn-export:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

/* Results Table */
.results-container {
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.results-table tr:hover td {
    background: var(--dark-card-hover);
    transform: scale(1.01);
}

/* Gender Badges */
.gender-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gender-male {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.gender-female {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

/* Results Footer */
.results-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.results-summary {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Enhanced Buttons with 3D Effect */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    margin: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn:active {
    transform: translateY(1px);
}

/* Enhanced Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: linear-gradient(145deg, var(--dark-card) 0%, #1c2128 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-container {
        grid-template-columns: 280px 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    header nav.active {
        display: flex;
    }
    
    .profile-container {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .results-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .export-actions {
        width: 100%;
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .results-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .login-container {
        padding: 1.5rem 1rem;
    }
    
    .search-form {
        padding: 1.5rem;
    }
    
    .sidebar {
        padding: 1.5rem 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .results-table th, 
    .results-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    
    .panel-header {
        padding: 1rem 1.5rem;
    }
}

/* Additional 3D Effects */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.glow-effect {
    box-shadow: 0 0 20px var(--glow);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6a4b9a 100%);
}

/* Selection Color */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-light);
}

/* Focus Outline for Accessibility */
*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Animation for table rows */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-table tbody tr {
    animation: fadeIn 0.5s ease-out;
}

.results-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* Hover effects for export buttons */
.btn-export {
    position: relative;
    overflow: hidden;
}

.btn-export::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-export:hover::before {
    left: 100%;
}

/* Credit counter animation */
.credit-amount {
    transition: all 0.3s ease;
}

.credit-amount.updating {
    animation: pulse 0.5s ease-in-out;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Login Box */
.login-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 380px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-container h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Inputs */
.login-container input {
    width: 100%;
    padding: 12px 14px;
    margin: 0.5rem 0;
    border: 1px solid #30363d;
    border-radius: 8px;
    background: #0d1117;
    color: var(--text-light);
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.login-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* Button */
.login-container button {
    width: 100%;
    padding: 12px;
    margin-top: 1rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.15s ease;
}

.login-container button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.login-container button:active {
    transform: translateY(0);
}

/* Error Box */
.error {
    background: rgba(248, 81, 73, 0.15);
    border: 1px solid rgba(248, 81, 73, 0.4);
    color: var(--danger);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Extra Links */
.login-container a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.login-container a:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }
}

/* Mobile optimizations for datacenter */
@media (max-width: 768px) {
    .results-table {
        font-size: 0.8rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .gender-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
}

/* Print styles for datacenter */
@media print {
    .search-panel,
    .export-actions,
    .page-header .user-credit {
        display: none;
    }
    
    .results-table {
        font-size: 12pt;
    }
    
    .results-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

