﻿/* Forgot Password Styles */
:root {
    --primary-color: #4a6cf7;
    --primary-hover: #3a5ce4;
    --text-color: #333;
    --light-text: #666;
    --error-color: #e53935;
    --success-color: #43a047;
    --bg-color: #f5f7fb;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.forgot-password-container {
    width: 100%;
    max-width: 450px;
    margin: 30px auto;
}

.forgot-password-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 32px;
    width: 100%;
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 32px;
}

    .forgot-password-header h1 {
        font-size: 24px;
        margin-bottom: 12px;
        color: var(--text-color);
    }

    .forgot-password-header p {
        color: var(--light-text);
        font-size: 16px;
        line-height: 1.5;
    }

.forgot-password-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: bold;
   /* color: var(--primary-color);*/
}

.forgot-password-form-group {
    margin-bottom: 24px;
}

    .forgot-password-form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-color);
    }

.forgot-password-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

    .forgot-password-form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    }

.forgot-password-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

    .forgot-password-btn:hover {
        background-color: var(--primary-hover);
    }

    .forgot-password-btn:disabled {
        background-color: #b0b0b0;
        cursor: not-allowed;
    }

.forgot-password-text-center {
    text-align: center;
}

.forgot-password-back-link-container {
    margin-top: 20px;
    text-align: center;
}

.forgot-password-back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

    .forgot-password-back-link:hover {
        text-decoration: underline;
    }

.forgot-password-alert {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    display: none;
}

.forgot-password-alert-error {
    background-color: rgba(229, 57, 53, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.forgot-password-alert-success {
    background-color: rgba(67, 160, 71, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.forgot-password-step {
    display: none;
}

    .forgot-password-step.active {
        display: block;
    }

.forgot-password-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: forgot-password-spin 1s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
    display: none;
}

/* Make validation errors stand out but fit the design */
.text-danger {
    display: block;
    color: var(--error-color);
    margin-top: 5px;
    font-size: 14px;
}

/* Style for validation summary */
.validation-summary-errors {
    background-color: rgba(229, 57, 53, 0.1);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 20px;
    }

@keyframes forgot-password-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .forgot-password-card {
        padding: 24px;
    }
}
/***forgot password confirmation**/

/* Container */
.forgotpasswordconfirmation-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

/* Card */
.forgotpasswordconfirmation-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
}

/* Logo */
.forgotpasswordconfirmation-logo {
    margin-bottom: 20px;
}

    .forgotpasswordconfirmation-logo h1 {
        font-size: 28px;
        color: #000;
        margin: 0;
    }

/* Icon */
.forgotpasswordconfirmation-icon {
    margin: 20px 0;
}

/* Title */
.forgotpasswordconfirmation-title {
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

/* Message */
.forgotpasswordconfirmation-message {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.forgotpasswordconfirmation-email {
    font-weight: bold;
    color: #000;
}

/* Instructions */
.forgotpasswordconfirmation-instructions {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Actions */
.forgotpasswordconfirmation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.forgotpasswordconfirmation-back-link {
    background-color: #88b2d0;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 250px;
}

.forgotpasswordconfirmation-back-link:hover {
    background-color: #2309f0;
}

/*.forgotpasswordconfirmation-back-link {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

    .forgotpasswordconfirmation-back-link:hover {
        color: #2309f0;
        text-decoration: underline;
    }*/

/* Resend message */
.forgotpasswordconfirmation-resend-message {
    margin: 15px 0;
    font-size: 14px;
    color: #4CAF50;
    min-height: 20px;
}

/* Help section */
.forgotpasswordconfirmation-help {
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

    .forgotpasswordconfirmation-help a {
        color: #2309f0;
        text-decoration: none;
    }

        .forgotpasswordconfirmation-help a:hover {
            text-decoration: underline;
        }

/* Responsive adjustments */
@media (max-width: 600px) {
    .forgotpasswordconfirmation-card {
        padding: 30px 20px;
    }

    .forgotpasswordconfirmation-title {
        font-size: 22px;
    }

    .forgotpasswordconfirmation-message,
    .forgotpasswordconfirmation-instructions {
        font-size: 15px;
    }

    .forgotpasswordconfirmation-resend-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Reset Password specific styles */
.reset-password-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 30px;
    text-align: center;
    margin: 40px auto;
}

.reset-password-logo {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

    .reset-password-logo svg {
        width: 40px;
        height: 40px;
        color: #4285f4;
    }

.reset-password-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.reset-password-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.reset-password-form {
    text-align: left;
}

.reset-password-form-group {
    margin-bottom: 20px;
    position: relative;
}

.reset-password-label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

.reset-password-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

    .reset-password-input:focus {
        border-color: #4285f4;
        outline: none;
        box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
    }

.reset-password-toggle {
    position: absolute;
    right: 15px;
    top: 38px;
    cursor: pointer;
    color: #777;
    user-select: none;
}

.reset-password-requirements {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.reset-password-requirement {
    display: flex;
    align-items: center;
    margin: 5px 0;
    color: #777;
}

    .reset-password-requirement svg {
        margin-right: 6px;
        width: 14px;
        height: 14px;
    }

    .reset-password-requirement.valid {
        color: #4caf50;
    }

    .reset-password-requirement.invalid {
        color: #999;
    }

.reset-password-button {
    width: 100%;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

    .reset-password-button:hover {
        background-color: #3367d6;
    }

    .reset-password-button:disabled {
        background-color: #a9c3fa;
        cursor: not-allowed;
    }

.reset-password-error {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
    display: block;
}

.reset-password-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .reset-password-container {
        padding: 20px;
    }

    .reset-password-title {
        font-size: 22px;
    }
}

/* Override any conflicting styles from the main site */
.validation-summary-errors {
    margin-bottom: 20px;
}

    .validation-summary-errors ul {
        padding-left: 20px;
        color: #f44336;
    }