/*
 *  LOGIN.CSS
 *  Styles for the standalone Login/Signup page
*/

body{
    background: url('../Resource/Banner/section_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* 1. Page Background & Container */
.login-page-body {
    background-color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-form-wrapper {
    background-color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    /* Important for transitions */
}

.login-logo {
    height: 80px;
    width: auto;
}

/* 2. Form Container Transitions */
.form-container {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    backface-visibility: hidden;
    /* Prevents flickering during transition */
}

.form-container:not(.active) {
    opacity: 0;
    transform: scale(0.95);
    position: absolute;
    /* Take non-active forms out of the layout flow */
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    pointer-events: none;
    /* Make non-active forms unclickable */
}

/* 3. Form Elements */
.login-form-wrapper .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.login-form-wrapper .form-control:focus {
    background-color: white;
    border-color: var(--color-garden);
    box-shadow: 0 0 0 0.25rem rgba(30, 79, 67, 0.25);
}

.form-link {
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    color: var(--color-garden);
}

.form-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #6c757d;
}