﻿:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --accent: #dc2626;
    --success: #059669;
    --warning: #d97706;
    --bg-light: #f1f5f9;
    --bg-card-light: #ffffff;
    --text-light: #1e293b;
    --text-muted-light: #64748b;
    --border-light: #cbd5e1;
    --bg-dark: #0f172a;
    --bg-card-dark: #1e293b;
    --text-dark: #f8fafc;
    --text-muted-dark: #94a3b8;
    --border-dark: #334155;
}

.light-theme {
    --bg-primary: var(--bg-light);
    --bg-card: var(--bg-card-light);
    --text-primary: var(--text-light);
    --text-muted: var(--text-muted-light);
    --border: var(--border-light);
}

.dark-theme {
    --bg-primary: var(--bg-dark);
    --bg-card: var(--bg-card-dark);
    --text-primary: var(--text-dark);
    --text-muted: var(--text-muted-dark);
    --border: var(--border-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.corporate-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.brand-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}  

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

    .brand-logo i {
        font-size: 2.5rem;
        margin-right: 15px;
        background: rgba(255, 255, 255, 0.2);
        padding: 15px;
        border-radius: 12px;
    }

    .brand-logo h1 {
        font-size: 1.8rem;
        font-weight: 700;
    }

.brand-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.brand-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.security-features {
    list-style: none;
    position: relative;
    z-index: 2;
}

    .security-features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        font-size: 1.05rem;
    }

        .security-features li i {
            margin-right: 12px;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.2);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

.reset-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reset-header {
    margin-bottom: 40px;
}

    .reset-header h2 {
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--primary);
    }

    .reset-header p {
        color: var(--text-muted);
        font-size: 1rem;
    }

.progress-container {
    margin-bottom: 40px;
    position: relative;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
}

.progress-track {
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: var(--border);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 20px;
    left: 50px;
    height: 3px;
    background: var(--primary);
    z-index: 2;
    transition: all 0.3s ease;
    width: 0%;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    flex: 1;
    max-width: 33.33%;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border: 3px solid var(--bg-card);
}

.step.active .step-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.step.completed .step-icon {
    background: var(--success);
    color: white;
    border-color: var(--success);
}

.step-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

.step.active .step-text {
    color: var(--primary);
}

.step-content {
    display: none;
}

    .step-content.active {
        display: block;
    }

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: 500;
        color: var(--text-primary);
        font-size: 1rem;
    }

.input-group {
    position: relative;
}

    .input-group i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
    }

.form-control {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    }

.password-requirements {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

    .password-requirements ul {
        list-style: none;
        padding-left: 0;
    }

    .password-requirements li {
        margin-bottom: 4px;
        display: flex;
        align-items: center;
    }

        .password-requirements li i {
            margin-right: 8px;
            font-size: 0.8rem;
        }

.requirement-met {
    color: var(--success);
}

.requirement-not-met {
    color: var(--text-muted);
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    }

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

    .btn-secondary:hover {
        background: var(--border);
    }

.system-info {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-top: 30px;
}

    .system-info h4 {
        margin-bottom: 10px;
        font-size: 1rem;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .system-info p {
        color: var(--text-muted);
        font-size: 0.9rem;
        line-height: 1.5;
    }

.theme-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--primary);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 1000;
}

    .theme-toggle:hover {
        background: var(--primary-dark);
        transform: rotate(15deg);
    }

.alert {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: none;
    font-weight: 500;
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--success);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--accent);
}

.alert-info {
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
    color: var(--primary);
}

.back-to-login {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

    .back-to-login a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

        .back-to-login a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .corporate-container {
        flex-direction: column;
    }

    .brand-section, .reset-section {
        padding: 40px 30px;
    }

    .theme-toggle {
        top: 20px;
        right: 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .progress-steps {
        padding: 0 10px;
    }

    .progress-track,
    .progress-bar {
        left: 30px;
        right: 30px;
    }
}
