﻿:root {
    --brand-dark: #1e2436;
    --brand-accent: #4f6cf6;
    --brand-accent2: #6d8bff;
    --success-green: #2fb344;
    --danger-red: #dc3545;
}

/* ===== MODAL SHELL ===== */
.reset-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 45px rgba(30,36,54,.2);
    padding: .5rem;
}

.reset-title {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.2rem;
}

.reset-icon-box {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffb020, #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255,140,0,.3);
}

/* ===== INPUTS ===== */
.input-group-custom .form-control {
    border: 1px solid #e3e6f0;
    border-radius: 10px 0 0 10px;
    padding: .65rem .85rem;
}

    .input-group-custom .form-control:focus {
        box-shadow: none;
        border-color: var(--brand-accent);
    }

.input-group-custom .toggle-password {
    cursor: pointer;
    background: #f4f6fb;
    border: 1px solid #e3e6f0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    color: #8a90a3;
}

.input-group-custom:focus-within .toggle-password {
    border-color: var(--brand-accent);
}

/* ===== RULES CHECKLIST ===== */
.password-rules {
    background: #f8f9fc;
    border-radius: 12px;
    padding: .85rem .5rem;
    margin-left: 0;
    margin-right: 0;
}

.rule-item {
    display: flex;
    align-items: center;
    font-size: .84rem;
    color: #b0b4c0;
    transition: color .2s ease;
}

    .rule-item .rule-icon {
        color: #d7d9e2;
        margin-right: 6px;
        font-size: .95rem;
        transition: color .2s ease, transform .2s ease;
    }

    .rule-item.valid {
        color: #37414f;
    }

        .rule-item.valid .rule-icon {
            color: var(--success-green);
            transform: scale(1.1);
        }

/* ===== STRENGTH BAR ===== */
.strength-progress {
    height: 7px;
    border-radius: 20px;
    background: #eceef4;
}

    .strength-progress .progress-bar {
        border-radius: 20px;
        transition: width .35s ease, background-color .35s ease;
    }

.strength-weak {
    background-color: #dc3545;
}

.strength-fair {
    background-color: #ff8c00;
}

.strength-good {
    background-color: #ffc107;
}

.strength-strong {
    background-color: #2fb344;
}

/* ===== BUTTON ===== */
.btn-login {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    color: #fff;
    font-weight: 600;
    padding: .75rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 6px 16px rgba(79,108,246,.35);
}

    .btn-login:hover {
        color: #fff;
        transform: translateY(-1px);
    }

    .btn-login:disabled {
        opacity: .6;
        box-shadow: none;
        transform: none;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .modal-dialog {
        margin: 1rem;
    }

    .reset-modal-content {
        padding: .25rem;
    }

    .password-rules .col-6 {
        font-size: .8rem;
    }
}
