/* style/login.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --background-color-page: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --header-offset: 120px; /* Default for desktop */
}

/* Base styles for the login page */
.page-login {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Light text on dark body background */
    background-color: var(--background-color-page);
    line-height: 1.6;
}

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

.page-login__section {
    padding: 60px 0;
    text-align: center;
}

.page-login__dark-bg {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

.page-login__medium-bg {
    background-color: #222222; /* A slightly lighter dark for contrast */
    color: var(--text-main-color);
}

.page-login__section-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.page-login__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 246, 214, 0.8);
}

.page-login__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 20px;
    /* No fixed font-size, rely on responsive scaling */
}

/* Hero Section */
.page-login__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--background-color-page);
    position: relative;
    padding-top: var(--header-offset, 120px); /* For fixed header */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-login__hero-image-block {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-login__login-form-container {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    margin: 40px auto 0 auto;
    border: 1px solid var(--border-color);
}

.page-login__form-title {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: bold;
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main-color);
    font-size: 1.1em;
}

.page-login__form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main-color);
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-login__forgot-password-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
    color: var(--primary-color);
}

.page-login__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-login__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-login__register-prompt {
    margin-top: 30px;
    font-size: 0.95em;
    color: rgba(255, 246, 214, 0.7);
}

.page-login__register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__register-link:hover {
    color: var(--secondary-color);
}

/* Why Login Section */
.page-login__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-login__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-login__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__feature-text {
    color: rgba(255, 246, 214, 0.8);
    font-size: 0.95em;
}

.page-login__feature-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-login__feature-text a:hover {
    text-decoration: underline;
}

/* Login Guide Section */
.page-login__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-login__step-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-login__step-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}}