/* password_resnt.css */
.password-reset-container {
    background: #ffffff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.password-reset-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 550px;
}

.password-reset-header {
    text-align: center;
    margin-bottom: 30px;
}

.password-reset-icon {
    width: 60px;
    height: 60px;
    background: #4194ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.password-reset-icon svg {
    width: 24px;
    height: 24px;
}

.password-reset-title {
    color: #000000;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.password-reset-subtitle {
    color: #666666;
    font-size: 14px;
    line-height: 1.4;
}

.password-reset-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #000000;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary {
    color: #ffffff;
    background: #000000;
}

.btn-primary:hover {
    background: #434344;;
}



.btn-full {
    width: 100%;
}

.password-reset-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.password-reset-footer p {
    margin: 0;
    color: #666666;
    font-size: 14px;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

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

/* Стили для сообщений */
.messages {
    margin-bottom: 20px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}

.alert-success {
    background: #f0f9f0;
    color: #0d5c0d;
    border: 1px solid #d4edda;
}

.alert-error {
    background: #fdf2f2;
    color: #c53030;
    border: 1px solid #f8d7da;
}

.alert-error-form {
    background: #ff0000;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.alert-error-form strong {
    display: block;
    margin-bottom: 5px;
}

.alert-error-form div {
    margin-bottom: 3px;
}




/* Мобильная адаптация */
@media (max-width: 600px) {
    .password-reset-container {
        padding: 10px;
        align-items: flex-start;
        padding-top: 40px;
    }

    .password-reset-card {
        padding: 30px 20px;
        box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    }

    .password-reset-icon {
        width: 60px;
        height: 60px;
    }

    .password-reset-icon svg {
        width: 30px;
        height: 30px;
    }

    .password-reset-title {
        font-size: 20px;
    }

    .password-reset-subtitle {
        font-size: 13px;
    }

    .form-input {
        padding: 10px;
        font-size: 14px;
    }

    .btn {
        padding: 8px;
    }
    .password-reset-footer p {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .password-reset-card {
        padding: 25px 15px;
    }
    
    .password-reset-title {
        font-size: 18px;
    }
    
    .password-reset-icon {
        width: 45px;
        height: 45px;
    }
}

/* Дополнительные стили для безопасности */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loading-spinner {
    display: inline-block;
}

/* Запрет копирования чувствительных данных */
.password-reset-card {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.password-reset-card input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


/* Защита от кликджекинга */
.password-reset-container {
    position: relative;
    z-index: 1;
}
