/* style/login.css */
/* All CSS classes must use BEM naming convention: .page-login__element-name */

/* Base styles for the login page content */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
}

/* HERO Section */
.page-login__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-bottom: 60px; /* Space below login card */
    padding-top: 10px; /* Small top padding for first section to prevent header overlap, body handles the main offset */
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height of the hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 200px; /* Enforce min size */
}

.page-login__hero-content {
    position: relative; /* Ensure content is above image if z-index is used, though we prefer top-down flow */
    z-index: 2;
    padding: 20px;
    max-width: 800px;
    margin-top: -100px; /* Pull content up slightly over the image for visual flow */
    background: rgba(17, 17, 17, 0.9); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #3A2A12; /* Border */
}

.page-login__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

.page-login__hero-description {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

/* Login Card */
.page-login__login-card {
    background: #111111; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border */
    max-width: 400px;
    margin: 30px auto 0;
}

.page-login__card-title {
    font-size: 1.8em;
    color: #FFD36B; /* Glow */
    margin-bottom: 25px;
    text-align: center;
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    color: #FFF6D6; /* Text Main */
    font-weight: bold;
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3A2A12; /* Border */
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFF6D6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
}

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

.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;
}

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

.page-login__checkbox-label {
    color: #FFF6D6; /* Text Main */
}

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

.page-login__forgot-password:hover {
    color: #FFD36B; /* Auxiliary color on hover */
    text-decoration: underline;
}

.page-login__submit-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for button */
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.page-login__submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-login__register-prompt,
.page-login__app-prompt {
    text-align: center;
    margin-top: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-login__register-link,
.page-login__app-link,
.page-login__text-link {
    color: #F2C14E; /* Primary color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__register-link:hover,
.page-login__app-link:hover,
.page-login__text-link:hover {
    color: #FFD36B; /* Auxiliary color on hover */
    text-decoration: underline;
}

/* General Section Styling */
.page-login__section {
    padding: 60px 0;
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD36B; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

.page-login__feature-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 450px; /* Ensure cards have similar height */
}

.page-login__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-login__feature-title {
    font-size: 1.5em;
    color: #F2C14E; /* Primary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__feature-description {
    color: #FFF6D6; /* Text Main */
    font-size: 0.95em;
    flex-grow: 1;
}

/* Guide Section */
.page-login__guide-section {
    background: #0A0A0A; /* Background */
}

.page-login__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-login__step-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__step-icon {
    width: 150px; /* Adjusted size for step icons */
    height: 150px; /* Adjusted size for step icons */
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size, this will override the 150px if needed */
    min-height: 200px; /* Enforce min size, this will override the 150px if needed */
}

.page-login__step-title {
    font-size: 1.4em;
    color: #F2C14E; /* Primary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__step-description {
    color: #FFF6D6; /* Text Main */
    font-size: 0.9em;
}

/* Troubleshooting Section */
.page-login__troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-login__trouble-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-login__trouble-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__trouble-description {
    color: #FFF6D6; /* Text Main */
    font-size: 0.95em;
}

/* Register CTA Section */
.page-login__register-cta-section {
    background: #F2C14E; /* Primary color as background */
    padding: 80px 0;
    text-align: center;
    color: #111111; /* Dark text for contrast */
}

.page-login__register-cta-content .page-login__section-title {
    color: #111111; /* Dark text for title */
}

.page-login__register-cta-content .page-login__section-description {
    color: #111111; /* Dark text for description */
    margin-bottom: 30px;
}

.page-login__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for button */
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

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

/* FAQ Section */
.page-login__faq-section {
    background: #0A0A0A; /* Background */
}

.page-login__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-login__faq-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #111111; /* Card BG */
    color: #F2C14E; /* Primary color */
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-login__faq-question:hover {
    background: rgba(242, 193, 78, 0.1); /* Slight hover effect */
}

.page-login__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #F2C14E; /* Primary color */
}

.page-login__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD36B; /* Glow */
    transition: transform 0.3s ease;
}

.page-login__faq-item.active .page-login__faq-toggle {
    transform: rotate(0deg); /*}