/* style/login.css */

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

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-login__form-wrapper {
    position: relative;
    z-index: 1;
    background: rgba(26, 32, 44, 0.9); /* #1A202C with transparency */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
}

.page-login__main-title {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-login__description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Login Form */
.page-login__form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.page-login__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FFD700; /* Accent border */
    border-radius: 5px;
    background-color: #0d0d0d; /* Dark input background */
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__input::placeholder {
    color: #cccccc;
}

.page-login__input:focus {
    outline: none;
    border-color: #DC143C; /* Emphasis color on focus */
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.3);
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.page-login__checkbox-group {
    display: flex;
    align-items: center;
}

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

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

.page-login__forgot-password {
    color: #FFD700;
    text-decoration: none;
}

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

.page-login__btn-primary {
    width: 100%;
    padding: 15px 20px;
    background-color: #FFD700; /* Accent color for primary button */
    color: #1A202C; /* Dark text for accent background */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-login__btn-primary:hover {
    background-color: #DC143C; /* Emphasis color on hover */
    color: #ffffff;
}

.page-login__no-account {
    margin-top: 25px;
    color: #f0f0f0;
    font-size: 1em;
}

.page-login__register-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

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

/* Benefits Section */
.page-login__benefits-section {
    padding: 60px 0;
    background-color: #1A202C; /* Main brand color for section background */
    text-align: center;
}

.page-login__section-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 40px;
    font-weight: bold;
}