/* style/login.css */

/* Base styles for the page login scope */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default light text for potentially dark body background */
    background-color: var(--primary-color); /* Ensure consistency with shared.css */
}

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

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

.page-login__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-login__btn-primary {
    background-color: #FFD700; /* Auxiliary color for primary action */
    color: #0A1931; /* Main color for text to ensure contrast */
    border: 2px solid #FFD700;
}

.page-login__btn-primary:hover {
    background-color: #E6C200; /* Darkened FFD700 */
    border-color: #E6C200;
}

.page-login__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

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

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

.page-login__link:hover {
    color: #FFE033; /* Lightened FFD700 */
    text-decoration: underline;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
    box-sizing: border-box;
}

.page-login__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken background image for text readability */
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Additional overlay for text readability */
    z-index: -1;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 800px;
}

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

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-login__form-wrapper {
    background-color: rgba(10, 25, 49, 0.85); /* Slightly transparent main color */
    padding: 30px;
    border-radius: 12px;
    max-width: 450px;
    margin: 40px auto 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.page-login__form-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 25px;
    text-align: center;
}

.page-login__input-group {
    margin-bottom: 20px;
}

.page-login__label {
    display: block;
    margin-bottom: 8px;
    color: #f0f0f0;
    font-weight: bold;
}