/* Synchrotask Forgot Password Styles - Matching Login Page Design */
.synchrotask-forgot-landing {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px 40px;
}

.synchrotask-forgot-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-wrapper {
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.forgot-password-left {
    flex: 1;
    padding: 60px 50px;
    background: white;
}

.forgot-password-right {
    flex: 1;
    background-color:black;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-bottom:345px;
    overflow: hidden;
    box-sizing: border-box;
}

    .forgot-password-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        opacity: 0.1;
    }

/* Forgot Password Header */
.forgot-password-logo {
    display: flex;
    align-items: center;
    justify-content:space-around;
    margin-bottom: 25px;
}
.forgot-password-logo img{
    width:50%;
}
.forgot-password-logo-icon {
    background-color: #2563eb;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.forgot-password-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: black;
}

.forgot-password-title {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
}

.forgot-password-subtitle {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 25px;
}

/* Instructions */
.forgot-password-instructions {
    background-color: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.forgot-password-instructions-title {
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.forgot-password-instructions-icon {
    margin-right: 10px;
    color: #2563eb;
}

/* Success Message */
.forgot-password-success-message {
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #22543d;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.forgot-password-success-icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

.forgot-password-success-animation {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Elements */
.forgot-password-input-group {
    margin-bottom: 25px;
}

.forgot-password-input-label {
    font-weight: 600;
    color: black;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.forgot-password-input-with-icon {
    position: relative;
}

.forgot-password-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    font-size: 18px;
    z-index: 1;
}

.forgot-password-form-control {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    font-size: 16px;
    background-color: #f8fafc;
    color: #2d3748;
}

    .forgot-password-form-control:focus {
        border-color: #2563eb;
        outline: none;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        background-color: white;
    }

/* Button */
.forgot-password-btn {
    width: 100%;
    padding: 18px;
    border: solid 1px;
    background-color: white;
    color: black;
    font-size: 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

    .forgot-password-btn:hover {
        border-color:black;
        background-color: #3498db;
        color: white;
        transform: translateY(-3px);
    }

    .forgot-password-btn:active {
        transform: translateY(0);
    }

.forgot-password-btn-icon {
    margin-right: 12px;
}

/* Extra Links */
.forgot-password-extra-links {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: black;
}

    .forgot-password-extra-links p {
        margin-bottom: 12px;
    }

.forgot-password-link {
    color: black;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

    .forgot-password-link:hover {
        color: #2563eb;
        text-decoration: underline;
    }

.forgot-password-link-icon {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Right Panel Content */
.forgot-password-feature-highlight {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

    .forgot-password-feature-highlight h3 {
        font-size: 2rem;
        margin-bottom: 15px;
        color: white;
    }

    .forgot-password-feature-highlight p {
        font-size: 1.1rem;
        line-height: 1.6;
        opacity: 0.9;
    }

.forgot-password-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

    .forgot-password-feature-list li {
        margin-bottom: 25px;
        display: flex;
        align-items: flex-start;
    }

    .forgot-password-feature-list .icon {
        background: rgba(255, 255, 255, 0.2);
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 18px;
        flex-shrink: 0;
    }

    .forgot-password-feature-list .text h4 {
        font-size: 1.15rem;
        margin-bottom: 5px;
        color: white;
    }

    .forgot-password-feature-list .text p {
        font-size: 0.95rem;
        opacity: 0.8;
        margin: 0;
    }

/* Validation Styles */
.forgot-password-validation-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.forgot-password-text-danger {
    color: #ef4444 !important;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .forgot-password-wrapper {
        flex-direction: column;
        max-width: 600px;
    }

    .forgot-password-left, .forgot-password-right {
        width: 100%;
        padding: 40px 30px;
    }

    .forgot-password-right {
        order: -1;
    }

    .synchrotask-forgot-landing {
        padding: 100px 20px 40px;
    }
}

@media (max-width: 576px) {
    .forgot-password-left, .forgot-password-right {
        padding: 30px 20px;
    }

    .forgot-password-title {
        font-size: 1.6rem;
    }

    .forgot-password-logo-text {
        font-size: 1.6rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forgot-password-left {
    animation: fadeIn 0.8s ease-out;
}

.forgot-password-right {
    animation: fadeIn 0.8s ease-out 0.2s both;
}
