/* ============================================
   DASHBOARD CSS - DARK BLUE + GREEN THEME
   Daily Earning Hub Dashboard Styles
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors - Dark Blue + Green Theme */
    --bg-primary: #020617;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --primary-green: #22C55E;
    --secondary-green: #16A34A;
    --accent-blue: #38BDF8;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --success: #22C55E;
    --warning: #EAB308;
    --danger: #EF4444;
    --info: #38BDF8;
    
    --sidebar-width: 280px;
    --topbar-height: 70px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   AUTH PAGE LAYOUT
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
}

.animated-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -150px;
    animation-delay: 3s;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.circle-3 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: 30%;
    animation-delay: 6s;
}

.circle-4 {
    width: 350px;
    height: 350px;
    bottom: 20%;
    right: 20%;
    animation-delay: 9s;
    background: radial-gradient(circle, var(--secondary-green) 0%, transparent 70%);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

/* Auth Container */
.auth-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    width: 95%;
    margin: 2rem auto;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.forgot-container {
    grid-template-columns: 1fr;
    max-width: 900px;
}

/* Auth Box */
.auth-box {
    padding: 3rem;
    background: var(--bg-secondary);
    position: relative;
}

.register-box,
.forgot-box {
    padding: 2.5rem 3rem;
}

/* Logo & Header */
.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.logo-container h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.forgot-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.auth-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-tertiary);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--primary-green);
    font-weight: 600;
}

/* Form Styles */
.auth-form {
    max-width: 100%;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.form-group label i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-tertiary);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: inherit;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-tertiary);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary-green);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-green);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.strength-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--danger);
    transition: var(--transition);
}

.strength-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-tertiary);
    border-radius: 5px;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-color: var(--primary-green);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
}

.forgot-link {
    color: var(--primary-green);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.forgot-link:hover {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    position: relative;
    overflow: hidden;
    border: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.45);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--bg-tertiary);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    border: none;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.loading .btn-text,
.btn.loading .btn-icon {
    display: none;
}

.btn.loading .btn-loader {
    display: block;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button-group .btn {
    flex: 1;
}

/* Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--bg-tertiary);
}

.divider span {
    position: relative;
    background: var(--bg-secondary);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Social Login */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.875rem;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.google-btn {
    background: white;
    color: #333;
    border: 2px solid #ddd;
}

.google-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.facebook-btn {
    background: #1877F2;
    color: white;
    border: 2px solid #1877F2;
}

.facebook-btn:hover {
    background: #145dbf;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-tertiary);
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.register-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.register-link:hover {
    color: var(--accent-blue);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent-blue);
    transform: translateX(-5px);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-tertiary);
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.badge-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Verification Info */
.verification-info {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.verification-info i {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.verification-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-group .checkbox-label {
    font-size: 0.9rem;
}

.link {
    color: var(--primary-green);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Reset Steps */
.reset-step {
    display: none;
}

.reset-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.success-animation {
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-animation h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-animation p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.info-box {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-box i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.info-box p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Help Section */
.help-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-tertiary);
}

.help-section h4 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.help-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 0.85rem;
}

.help-option:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
}

.help-option i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

/* Info Panel */
.auth-info-panel {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-info-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.info-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.info-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.info-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.info-content > p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.info-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

.feature-item i {
    font-size: 1.25rem;
}

.info-benefits {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: white;
}

.benefit-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.security-features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.security-item {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.security-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.security-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: white;
}

.security-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.tips-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.tips-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
}

.tips-box ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.tips-box li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.tips-box li i {
    color: white;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-page {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--bg-tertiary);
    z-index: 1000;
    transition: var(--transition);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    transition: width 0.4s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.nav-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding-left: 2rem;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.1);
}

.nav-item:hover::before {
    width: 4px;
}

.nav-item:hover::after {
    width: 300px;
    height: 300px;
}

.nav-item:hover i {
    color: var(--primary-green);
    transform: scale(1.15) rotate(5deg);
}

.nav-item.active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    box-shadow: inset 0 0 25px rgba(34, 197, 94, 0.15);
}

.nav-item.active::before {
    width: 4px;
    background: var(--primary-green);
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.nav-item span {
    position: relative;
    z-index: 1;
}

.nav-item .badge {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.nav-item:hover .badge {
    background: rgba(34, 197, 94, 0.2);
    transform: scale(1.1);
}

.nav-item .badge.notify {
    background: var(--danger);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0);
    }
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--bg-tertiary);
}

.user-plan {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.user-plan i {
    font-size: 1.5rem;
    color: var(--warning);
}

.plan-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.plan-info strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.plan-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    width: 100%;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
}

.logout-btn:hover {
    background: var(--danger);
    color: white;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    background: var(--bg-primary);
}

/* Top Bar */
.top-bar {
    height: var(--topbar-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.top-bar h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 300px;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-primary);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--bg-primary);
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.notification-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.notification-btn:hover {
    background: var(--bg-primary);
    color: var(--primary-green);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu:hover {
    background: var(--bg-primary);
}

.user-menu img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 0.9rem;
}

.user-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.welcome-text h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: white;
}

.welcome-text p {
    opacity: 0.9;
    margin: 0;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
}

.welcome-actions .btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.welcome-actions .btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 1.75rem;
    border-radius: 16px;
    border: 2px solid var(--bg-tertiary);
    display: flex;
    gap: 1.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(34, 197, 94, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-icon.balance {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: var(--primary-green);
}

.stat-icon.earnings {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
    color: var(--accent-blue);
}

.stat-icon.referrals {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1));
    color: var(--warning);
}

.stat-icon.tasks {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: #A855F7;
}

.stat-content {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-change {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    background: var(--bg-tertiary);
}

.stat-change.positive {
    color: var(--success);
    background: rgba(34, 197, 94, 0.1);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.dashboard-card:hover {
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-tab {
    padding: 0.375rem 0.875rem;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-tab.active,
.btn-tab:hover {
    background: var(--primary-green);
    color: white;
}

.view-all {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-blue);
}

.card-body {
    padding: 1.5rem;
}

/* Activity List */
.activity-list {
    display: grid;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: var(--transition);
}

.activity-item:hover {
    background: var(--bg-primary);
}

.activity-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.activity-icon.info {
    background: rgba(56, 189, 248, 0.2);
    color: var(--info);
}

.activity-icon.warning {
    background: rgba(234, 179, 8, 0.2);
    color: var(--warning);
}

.activity-icon.primary {
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary-green);
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.activity-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.activity-amount {
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.activity-amount.positive {
    color: var(--success);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.quick-action-btn:hover {
    background: var(--bg-primary);
    transform: translateY(-3px);
}

.quick-action-btn i {
    font-size: 1.75rem;
    color: var(--primary-green);
}

.quick-action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Performers List */
.performers-list {
    display: grid;
    gap: 1rem;
}

.performer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    transition: var(--transition);
}

.performer-item:hover {
    background: var(--bg-primary);
}

.rank {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rank.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
}

.rank.silver {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    color: white;
}

.rank.bronze {
    background: linear-gradient(135deg, #CD7F32, #B87333);
    color: white;
}

.performer-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.performer-info {
    flex: 1;
}

.performer-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.performer-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.performer-item > i {
    color: #FFD700;
    font-size: 1.25rem;
}

/* Referral Card */
.referral-card .card-body {
    text-align: center;
}

.referral-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.referral-link-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.referral-link-box input {
    flex: 1;
    padding: 0.875rem;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.copy-btn {
    width: 45px;
    height: 45px;
    background: var(--primary-green);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--secondary-green);
}

.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.social-share span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.linkedin {
    background: #0A66C2;
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */

/* Profile Header Card */
.profile-header-card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-green) 100%);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar {
    position: relative;
}

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.change-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border: 3px solid var(--bg-secondary);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.change-avatar-btn:hover {
    background: var(--secondary-green);
    transform: scale(1.1);
}

.profile-info {
    flex: 1;
    color: white;
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-info > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat-item {
    text-align: center;
}

.profile-stat-item strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.profile-stat-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Profile Form */
.profile-form {
    display: grid;
    gap: 1.25rem;
}

/* Account Info List */
.account-info-list {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Badges Grid */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.badge-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.5;
}

.badge-item.earned {
    opacity: 1;
    border-color: var(--primary-green);
}

.badge-item.earned:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.badge-item.earned .badge-icon {
    color: var(--primary-green);
}

.badge-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.badge-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   SETTINGS PAGE STYLES
   ============================================ */

/* Settings Form */
.settings-form {
    display: grid;
    gap: 1.25rem;
}

.settings-divider {
    height: 1px;
    background: var(--bg-tertiary);
    margin: 1.5rem 0;
}

/* Settings Item */
.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    gap: 1.5rem;
}

.settings-item-info {
    flex: 1;
}

.settings-item-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.settings-item-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    border: 2px solid var(--bg-tertiary);
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-secondary);
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background-color: white;
}

.toggle-slider:hover {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

/* Payment Method Card */
.payment-methods-list {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.payment-method-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.payment-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.payment-method-info {
    flex: 1;
}

.payment-method-info strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.payment-method-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.payment-method-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Account Actions */
.account-actions {
    display: flex;
    gap: 1rem;
}

.account-actions .btn {
    flex: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .tasks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .investment-plans {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 968px) {
    /* Auth Pages */
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-info-panel {
        display: none;
    }
    
    /* Sidebar */
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
        z-index: 1000;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    /* Main Content */
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Top Bar */
    .top-bar-left {
        gap: 1rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Dashboard Grids */
    .dashboard-grid-2 {
        grid-template-columns: 1fr;
    }
    
    /* Tasks */
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    /* Investment Plans */
    .investment-plans {
        grid-template-columns: 1fr;
    }
    
    /* Team Levels */
    .team-levels {
        gap: 1rem;
    }
    
    /* Performers List */
    .performers-list {
        gap: 0.75rem;
    }
    
    /* Transaction Filters */
    .transaction-filters {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .filter-date {
        width: 100%;
    }
    
    /* Profile Header */
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    /* Payment Methods */
    .payment-methods-list {
        gap: 1rem;
    }
    
    /* Settings Items */
    .settings-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .account-actions {
        flex-direction: column;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Auth Pages */
    .auth-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .progress-steps {
        font-size: 0.85rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .help-options {
        grid-template-columns: 1fr;
    }
    
    .info-stats {
        grid-template-columns: 1fr;
    }
    
    /* Top Bar */
    .top-bar {
        padding: 0.75rem 1rem;
        height: auto;
    }
    
    .top-bar h1 {
        font-size: 1.25rem;
    }
    
    .search-box {
        display: none;
    }
    
    .user-info {
        display: none;
    }
    
    .user-menu img {
        width: 35px;
        height: 35px;
    }
    
    /* Dashboard Content */
    .dashboard-content {
        padding: 1rem;
    }
    
    /* Welcome Banner */
    .welcome-banner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .welcome-text h2 {
        font-size: 1.5rem;
    }
    
    .welcome-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .welcome-actions .btn {
        width: 100%;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    /* Dashboard Cards */
    .dashboard-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .card-actions {
        width: 100%;
    }
    
    .card-actions .btn {
        width: 100%;
    }
    
    /* Quick Actions */
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .quick-action-btn {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Activity List */
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .activity-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .activity-amount {
        margin-left: 0;
    }
    
    /* Performers List */
    .performer-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .performer-item img {
        width: 40px;
        height: 40px;
    }
    
    /* Referral Link */
    .referral-link-box {
        flex-direction: column;
    }
    
    .referral-link-box .copy-btn {
        width: 100%;
        height: 45px;
    }
    
    .social-share {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    /* Task Categories */
    .task-categories {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Task Card */
    .task-card {
        padding: 1.25rem;
    }
    
    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .task-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Investment Plans */
    .investment-plan {
        padding: 1.5rem;
    }
    
    .plan-details {
        gap: 0.75rem;
    }
    
    /* Earnings Breakdown */
    .earnings-breakdown {
        gap: 1rem;
    }
    
    .breakdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .breakdown-icon {
        width: 45px;
        height: 45px;
    }
    
    /* Balance Card */
    .balance-info {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Withdraw Methods */
    .withdraw-methods {
        gap: 1rem;
    }
    
    .method-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Team Levels */
    .level-item {
        padding: 1rem;
    }
    
    .level-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .level-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Transaction Filters */
    .transaction-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .filter-date {
        flex-direction: column;
    }
    
    /* Table Responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 650px;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    /* Profile Header */
    .profile-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-stat-item {
        padding: 1rem;
        border: 1px solid var(--bg-tertiary);
        border-radius: 10px;
        width: 100%;
    }
    
    /* Profile Form */
    .profile-form .form-group {
        margin-bottom: 1rem;
    }
    
    /* Account Info List */
    .account-info-list .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Badges Grid */
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Payment Method Card */
    .payment-method-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .payment-method-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .payment-method-actions .btn {
        width: 100%;
    }
    
    /* Settings Form */
    .settings-form {
        gap: 1rem;
    }
    
    .settings-item {
        padding: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Auth Pages */
    .auth-box {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .logo-container h1 {
        font-size: 1.25rem;
    }
    
    .logo-container p {
        font-size: 0.8rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    /* Top Bar */
    .top-bar {
        padding: 0.75rem 0.75rem;
    }
    
    .top-bar h1 {
        font-size: 1.1rem;
    }
    
    .notification-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .user-menu img {
        width: 30px;
        height: 30px;
    }
    
    /* Dashboard Content */
    .dashboard-content {
        padding: 0.75rem;
    }
    
    /* Welcome Banner */
    .welcome-banner {
        padding: 1.25rem;
    }
    
    .welcome-text h2 {
        font-size: 1.25rem;
    }
    
    .welcome-text p {
        font-size: 0.85rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        gap: 0.75rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .stat-icon {
        margin: 0 auto 0.75rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-change {
        font-size: 0.75rem;
    }
    
    /* Dashboard Cards */
    .dashboard-card {
        padding: 1rem;
    }
    
    .card-header h3 {
        font-size: 1.1rem;
    }
    
    /* Quick Actions */
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .quick-action-btn {
        padding: 1rem;
    }
    
    /* Activity List */
    .activity-content h4 {
        font-size: 0.95rem;
    }
    
    .activity-content p {
        font-size: 0.8rem;
    }
    
    /* Task Card */
    .task-card {
        padding: 1rem;
    }
    
    .task-body h4 {
        font-size: 1rem;
    }
    
    .task-body p {
        font-size: 0.85rem;
    }
    
    /* Investment Plan */
    .investment-plan {
        padding: 1.25rem;
    }
    
    .plan-roi {
        font-size: 1.25rem;
    }
    
    /* Referral Link */
    .social-share {
        justify-content: center;
    }
    
    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Badges Grid */
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    /* Form Controls */
    .form-control {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Table */
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Profile Avatar */
    .profile-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .profile-info h2 {
        font-size: 1.25rem;
    }
    
    /* Sidebar */
    .sidebar {
        width: 260px;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-item i {
        font-size: 1rem;
    }
}

/* ============================================
   ADDITIONAL ENHANCED HOVER EFFECTS
   ============================================ */

/* Dashboard Card Hover Effects */
.dashboard-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Stat Card Enhanced Hover */
.stat-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.2);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(10deg);
}

/* Button Enhanced Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Table Row Hover */
.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: rgba(34, 197, 94, 0.05);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* User Menu Hover */
.user-menu {
    transition: all 0.3s ease;
}

.user-menu:hover {
    transform: translateY(-2px);
}

/* Glow Effect on Active Elements */
.nav-item.active {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.1);
    }
    to {
        box-shadow: inset 0 0 25px rgba(34, 197, 94, 0.2);
    }
}
