/* style/login.css */

/* --- General Page Styling --- */
.page-login {
    color: #ffffff; /* Dark body background #121212, so light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background from shared.css */
}

.page-login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
}

.page-login__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.page-login__description-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Buttons --- */
.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-login__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #003366; /* Dark blue */
    border-color: #FFD700;
}

.page-login__btn-primary:hover {
    background-color: #e6c200;
    color: #001a33;
    border-color: #e6c200;
}

.page-login__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border-color: #FFD700;
}

.page-login__btn-secondary:hover {
    background-color: #FFD700;
    color: #003366;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.page-login__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.9)); /* Dark blue overlay */
    z-index: 2;
}

.page-login__hero-section > .page-login__container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.page-login__main-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-login__intro-text {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* --- Login Form --- */
.page-login__login-form-wrapper {
    background-color: rgba(0, 51, 102, 0.85); /* Slightly lighter dark blue */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    margin: 0 auto;
}

.page-login__login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-login__form-group {
    text-align: left;
}

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #FFD700;
    font-weight: bold;
}