/* Reset Password & Forgot Password Page Styles */

/* Color Variables */
:root {
    --pink-color: #FF1493;
    --pink-hover: #E01185;
    --blue-color: #1e3a8a;
    --blue-hover: #1e40af;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --border-gray: #e9ecef;
}

/* Wrapper */
.forgot-password-wrapper {
    min-height: 100vh;
    position: relative;
    background: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.bg-shape-pink {
    width: 600px;
    height: 600px;
    background: var(--pink-color);
    bottom: -200px;
    left: -200px;
    transform: rotate(-15deg);
}

.bg-shape-blue {
    width: 700px;
    height: 700px;
    background: var(--blue-color);
    top: -250px;
    right: -250px;
    transform: rotate(15deg);
}

/* Container */
.forgot-password-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

/* Card */
.forgot-password-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    position: relative;
}

/* Header Section */
.card-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

/* Back Button */
.back-button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--pink-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-color);
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    margin-top: 26px;
}

.back-button:hover {
    background: var(--pink-color);
    color: white;
    transform: translateX(-3px);
}

.back-button i {
    font-size: 1rem;
}

/* Logo Section */
.logo-section {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.logo-image {
    max-height: 100px;
    width: auto;
    display: block;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 400;
    text-transform: lowercase;
    margin-top: 0.25rem;
}

/* Body Section */
.card-body-section {
    margin-top: 1.5rem;
}

.form-title {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--blue-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

/* Submit Button */
.submit-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.submit-btn:hover:not(:disabled) {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Back to Login Link */
.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.back-to-login a {
    color: var(--blue-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-to-login a:hover {
    color: var(--blue-hover);
    text-decoration: underline;
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.medium {
    color: #ffc107;
}

.password-strength.strong {
    color: #28a745;
}

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.password-requirements h6 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-requirements h6 i {
    color: var(--blue-color);
}

.password-requirements ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style: none;
}

.password-requirements li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.password-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.requirement-met {
    color: #28a745;
}

.requirement-not-met {
    color: #dc3545;
}

/* Legacy Support (for existing reset-password-container) */
.reset-password-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.reset-password-card {
    background: white;
    border-radius: 15px;
    box-shadow: 2px 4px 4px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.reset-password-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.reset-password-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.reset-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.reset-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.reset-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .forgot-password-wrapper {
        padding: 1rem;
    }

    .forgot-password-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .card-header-section {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .logo-section {
        text-align: left;
        width: 100%;
        align-items: flex-start;
    }
    
    .logo-image {
        max-height: 50px;
    }

    .bg-shape-pink,
    .bg-shape-blue {
        display: none;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 0.875rem;
    }

    .reset-password-container {
        padding: 1rem;
    }

    .reset-password-card {
        padding: 1.5rem;
    }

    .reset-password-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .forgot-password-card {
        padding: 1.25rem;
    }

    .form-title {
        font-size: 1.375rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}
