.page-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background #0a0a0a */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-login__dark-bg {
    background-color: #0a0a0a; /* Ensure sections with dark background maintain contrast */
    color: #ffffff;
}

.page-login__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-login__main-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-login__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    overflow: hidden;
    background-color: #0a0a0a; /* Dark background for hero */
}

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

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: brightness(0.7); /* Darken image without changing color */
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-login__btn-primary,
.page-login__btn-secondary,
.page-login__submit-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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;
    white-space: nowrap; /* Prevent text wrapping initially */
}

.page-login__btn-primary,
.page-login__submit-button {
    background-color: #FFD700; /* Gold */
    color: #0a0a0a; /* Dark text for gold background */
    border: 2px solid #FFD700;
}

.page-login__btn-primary:hover,
.page-login__submit-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
}

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

.page-login__btn-secondary:hover {
    background-color: #FFD700; /* Gold background */
    color: #0a0a0a; /* Dark text */
}

/* Login Form Section */
.page-login__login-form-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-login__form-wrapper {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for form background */
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    margin: 30px auto 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.page-login__login-form .page-login__form-group {
    margin-bottom: 20px;
}

.page-login__login-form .page-login__form-label {
    display: block;
    margin-bottom: 8px;
    color: #FFD700; /* Gold for labels */
    font-weight: bold;
}

.page-login__login-form .page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #8B0000; /* Dark red border */
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark input background */
    color: #ffffff; /* White text for input */
    font-size: 1em;
}

.page-login__login-form .page-login__form-input::placeholder {
    color: #ccc;
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    accent-color: #FFD700; /* Gold checkbox */
}

.page-login__checkbox-label {
    color: #f0f0f0;
}

.page-login__forgot-password {
    color: #FFD700; /* Gold link */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-login__register-link {
    color: #FFD700; /* Gold link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__register-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-login__form-footer-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9em;
    color: #aaa;
}

/* Security Info Section */
.page-login__security-info-section {
    padding: 80px 0;
    text-align: center;
}

.page-login__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__security-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-login__security-card:hover {
    transform: translateY(-5px);
}

.page-login__security-icon {
    width: 250px; /* Ensure minimum size */
    height: 187px; /* Maintain aspect ratio (4:3) */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
}

.page-login__security-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 10px;
}

.page-login__security-description {
    color: #f0f0f0;
    font-size: 0.95em;
}