/* Forgot Password Request Page Specific Styles */

/* TradeSocial Logo Styling */
.tradesocial-logo-container {
    display: flex;
    justify-content: center;
}

.tradesocial-logo {
    width: 183px;
    height: auto;
    max-width: 100%;
}

/* Override login title for forgot password */
.login-title {
    font-family: 'Nulshock', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: #282e3a;
    text-align: center;
    margin: 0;
    text-transform: lowercase;
}

.login-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15.75px;
    line-height: 24px;
    color: #858c9b;
    text-align: center;
    letter-spacing: -0.176px;
    margin: 0;
}

/* Form adjustments for forgot password */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
    /* max-width: 323px; */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0;
}

/* Button styling */
.login-button {
    background: #2e6b51;
    border: none;
    border-radius: 12px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 12.25px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0;
}

.button-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button:hover {
    background: #245a43;
}

/* Signup link styling */
.signup-link {
    text-align: center;
    margin-top: 0;
}

.signup-link span {
    font-family: 'Nulshock', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: #282e3a;
}

.signup-text {
    font-family: 'Nulshock', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: #49ab81;
    text-decoration: none;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.signup-text:hover {
    color: #2e6b51;
}

/* Error message styling */
.error-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Input error state */
.form-input.is-invalid {
    border-color: #dc3545;
}

.input-container:has(.is-invalid) {
    border-color: #dc3545;
    box-shadow: 0 0 0 1px #dc3545;
}

/* Center the form for forgot password */
.login-container {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.login-form-section {
    flex: none;
    width: 100%;
    max-width: 428px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

.login-form-wrapper {
    width: 100%;
    max-width: 428px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    padding: 0;
}

/* Right side background override for forgot password */
.login-background-section {
    background: transparent;
    display: none;
}

.login-background-section .background-image {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        padding: 0;
    }
    
    .login-form-wrapper {
        gap: 1.5rem;
        padding: 0.5rem;
    }
    
    .login-form {
        gap: 1.5rem;
    }
    
    .login-title {
        font-size: 12px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 0.25rem;
    }
    
    .login-form-wrapper {
        gap: 1rem;
        padding: 0.25rem;
    }
    
    .login-form {
        gap: 1rem;
    }
    
    .login-button {
        height: 44px;
        font-size: 12px;
    }
    
    .tradesocial-logo {
        width: 140px;
    }
}

@media (max-width: 360px) {
    .login-form-wrapper {
        gap: 0.75rem;
    }
    
    .login-form {
        gap: 0.75rem;
    }
    
    .tradesocial-logo {
        width: 120px;
    }
}
