/* style/login.css */

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

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

/* Section specific background and text colors */
.page-login__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body for contrast */
    color: #ffffff;
}

.page-login__light-bg {
    background-color: #262626; /* Dark grey for light-bg sections */
    color: #f0f0f0;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure no overflow for internal elements */
}

.page-login__hero-section .page-login__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-login__hero-content {
    flex: 1;
    text-align: left;
}

.page-login__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(38, 169, 224, 0.5);
}

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

.page-login__login-form-wrapper {
    flex: 0 0 400px; /* Fixed width for form on desktop */
    background-color: rgba(38, 169, 224, 0.1); /* Semi-transparent brand color */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #26A9E0;
    margin-left: auto; /* Push to the right */
}

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

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #26A9E0;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-login__form-input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(38, 169, 224, 0.8);
}

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

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

.page-login__checkbox {
    margin-right: 8px;
    accent-color: #26A9E0; /* Style checkbox with brand color */
}

.page-login__forgot-password-link {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-login__btn-primary {
    display: block;
    width: 100%;
    padding: 14px 25px;
    background-color: #EA7C07; /* Login specific color */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.page-login__btn-primary:hover {
    background-color: #d16e06;
    transform: translateY(-2px);
}

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

.page-login__register-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-login__download-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.page-login__download-text {
    color: #f0f0f0;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.page-login__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.page-login__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-login__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}


/* General Section Styles */
.page-login__welcome-section,
.page-login__benefits-section,
.page-login__security-section,
.page-login__game-categories-section,
.page-login__responsible-gaming-section,
.page-login__faq-section,
.page-login__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-login__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(38, 169, 224, 0.3);
}