.password-reset-container {
    max-width: 450px;
    margin: 80px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
}

.password-reset-title {
    text-align: center;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.password-reset-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8eeef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    text-align: right;
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control::placeholder {
    text-align: right;
    direction: rtl;
    color: #9ca3af;
}

input[type="tel"].form-control {
    direction: ltr;
    text-align: left;
}

input[type="tel"].form-control::placeholder {
    direction: rtl;
    text-align: right;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2980b9, #2573a7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.help-text {
    margin-top: 8px;
    font-size: 13px;
    color: #7f8c8d;
    text-align: right;
    direction: rtl;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    text-align: right;
    direction: rtl;
}

.success-message {
    color: #27ae60;
    font-size: 13px;
    margin-top: 5px;
    text-align: right;
    direction: rtl;
}

.back-to-login {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-submit::after {
    content: " ...";
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 100% { content: " ."; }
    33% { content: " .."; }
    66% { content: " ..."; }
}

.status-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: right;
    direction: rtl;
}

.status-success {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.status-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.is-invalid {
    border-color: #e74c3c !important;
}

.is-valid {
    border-color: #27ae60 !important;
}

.focused {
    position: relative;
}

.focused::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #3498db;
    border-radius: 10px;
    animation: focusPulse 2s infinite;
}

@keyframes focusPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}