﻿.container, .container-md, .container-sm {
    max-width: 1140px;
}

.navbar-toggler {
    display: none;
}

.recovery-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.recovery-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
}

.recovery-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 19px;
    text-align: center;
    position: relative;
}

    .recovery-header h2 {
        margin: 0;
        font-size: 1.6rem;
    }

.back-to-login {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

    .back-to-login:hover {
        color: rgba(255, 255, 255, 0.8);
    }

.recovery-body {
    padding: 2rem;
}

.recovery-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

    .recovery-steps::before {
        content: '';
        position: absolute;
        top: 20px;
        right: 60px;
        left: 60px;
        height: 3px;
        background-color: var(--border-color);
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.step.active .step-icon {
    background-color: var(--warning-color);
    color: #333;
}

.step.completed .step-icon {
    background-color: var(--success-color);
    color: white;
}

.step-title {
    font-size: 0.85rem;
    color: #666;
}

.step.active .step-title {
    color: var(--primary-color);
    font-weight: bold;
}

.recovery-form {
    display: none;
}

    .recovery-form.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    font-family: Shabnam, Tahoma, sans-serif;
}

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(94, 117, 164, 0.25);
    }

.input-group-text {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: #666;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
    font-family: Shabnam, Tahoma, sans-serif;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(94, 117, 164, 0.3);
        color: #fff;
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-otp {
    background-color: var(--warning-color);
    color: #333;
    border: none;
    transition: all 0.3s;
    font-family: Shabnam, Tahoma, sans-serif;
}

    .btn-otp:hover {
        background-color: #e0a800;
    }

    .btn-otp:disabled {
        background-color: #ccc;
        color: #666;
        cursor: not-allowed;
    }

.otp-timer {
    font-size: 0.85rem;
    color: var(--success-color);
    margin-top: 0.25rem;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 12px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

    .otp-input:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(94, 117, 164, 0.25);
        outline: none;
    }

.alert {
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.password-strength {
    height: 5px;
    border-radius: 3px;
    margin-top: 0.5rem;
    background-color: #eee;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s, background-color 0.3s;
}

.password-strength-weak {
    background-color: #dc3545;
    width: 33%;
}

.password-strength-medium {
    background-color: #ffc107;
    width: 66%;
}

.password-strength-strong {
    background-color: #28a745;
    width: 100%;
}

.mobile-info {
    background-color: rgba(94, 117, 164, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

    .form-footer a {
        color: var(--secondary-color);
        text-decoration: none;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .recovery-container {
        padding: 0;
    }

    .recovery-body {
        padding: 1.5rem;
    }

    .recovery-header {
        padding: 1rem;
    }

    .otp-input {
        width: 45px;
        height: 53px;
        font-size: 1.8rem;
    }

    .recovery-steps::before {
        right: 40px;
        left: 40px;
    }

    .step-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 7px;
    }

    .recovery-steps::before {
        right: 30px;
        left: 30px;
    }

    .step-icon {
        width: 35px;
        height: 35px;
    }
}
