

.recover-password-container {
    max-width: 520px !important;
    margin: 40px auto !important;
    padding: 24px !important;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.recover-password-container h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
}



.ru-alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.6;
}

.ru-alert-success {
    background-color: #e8f5e9;
    color: #0a7a2f;
    border-color: #4caf50;
}

.ru-alert-error {
    background-color: #ffebee;
    color: #b00020;
    border-color: #e53935;
}

.ru-alert div {
    margin-bottom: 8px;
}

.ru-alert div:last-child {
    margin-bottom: 0;
}



.recover-password-form,
.new-password-form {
    width: 100%;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9em;
    color: #333;
}

.form-group label .required {
    color: #b00020;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 0.95em;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

.form-control:invalid {
    border-color: #b00020;
}



.password-requirements,
.password-match {
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
    color: #666;
}

.password-requirements.error,
.password-match.error {
    color: #b00020;
}

.password-requirements.valid {
    color: #0a7a2f;
}



.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background-color: #0073aa;
    color: #fff;
}

.btn-primary:hover {
    background-color: #005f8d;
}

.btn-primary:active {
    background-color: #004578;
    transform: translateY(1px);
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}



@media (max-width: 600px) {
    .recover-password-container {
        margin: 20px 10px;
        padding: 20px;
    }

    .recover-password-container h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-control {
        font-size: 16px;
    }
}
