/* === LOGIN PAGE STYLES === */
body.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
    overflow: hidden;
    font-size: 14px;
}

.login-page-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    /*min-height: 80vh;
    max-height: 700px;
    overflow: hidden;*/
}

.login-form-section {
    flex: 1 1 50%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    max-height: 100vh;
    overflow: scroll;
}

.login-logo {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: left;
}

.login-title {
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.login-subtitle {
    font-size: 1em;
    color: #666;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1em;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}
.form-group label[for="remember"] {
    font-weight: normal;
    font-size: 1em;
    color: #555;
    display: inline;
    margin-bottom: 0;
}

.form-control {height: 45px;}
.form-control[type="email"], .form-control[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.2s ease;
}

.form-control[type="email"]:focus, .form-control[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(72, 201, 176, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.forgot-password,
.signup-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}
.forgot-password:hover,
.signup-link a:hover {
    text-decoration: underline;
}

.btn-login-submit {
    max-width: 280px;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-login-submit:hover {
    background-color: #367fa9;
    color: white;
}

.signup-link {
    text-align: center;
    margin: 10px 0 0 0;
    font-size: 1em;
    color: #555;
}

.login-promo-section {
    flex: 1 1 50%;
    /*background-color: var(--primary-color);*/
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    border-radius: 0 12px 12px 0;
}
.login-promo-section img {
    width: 100%;
    height: auto;
}
.login-promo-section h2 {
    font-size: 1.9em;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.rocket-illustration svg {
    width: 200px;
    height: auto;
    transform: rotate(-15deg);
    animation: floatRocket 6s ease-in-out infinite;
}

@keyframes floatRocket {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-15px) rotate(-12deg);
    }
}

@media (max-width: 992px) {
    .login-page-container {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
        margin: 20px;
        max-height: none;
    }
    .login-form-section {
        padding: 15px 20px;
        border-radius: 12px 12px 0 0;
        justify-content: flex-start;
        min-height: auto;
    }
    .login-promo-section {
        display: none;
    }
    .login-promo-section h2 {
        font-size: 1.5em;
    }
    .rocket-illustration svg {
        width: 150px;
    }
    .signup-link {margin-bottom: 20px}
}

@media (max-width: 480px) {
    .login-form-section {
        padding: 10px 20px;
    }
    .login-title {
        font-size: 1.6em;
    }
    .login-subtitle {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    .forgot-password {
        margin-top: 10px;
    }
     .rocket-illustration svg {
        width: 120px;
    }
}
