/* style/login.css */

/* --- General Styles for .page-login --- */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Fallback color */
}

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

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

.page-login__hero-section .page-login__container {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
}

.page-login__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}

.page-login__lead-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-login__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-login__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-login__btn--primary {
    background-color: #C30808; /* Custom color for Login */
    color: #FFFF00; /* Custom font color for Login */
    border: 2px solid #C30808;
}

.page-login__btn--primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-login__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-login__btn--secondary:hover {
    background-color: #ffffff;
    color: #017439;
    border-color: #ffffff;
}

/* --- Intro Section --- */
.page-login__intro-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background from body */
    color: #f0f0f0;
}

.page-login__intro-section .page-login__section-title {
    color: #ffffff;
}

.page-login__intro-section p {
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    font-size: 1.05em;
}

/* --- Login Form Section --- */
.page-login__form-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly darker than body background for contrast */
    color: #f0f0f0;
}

.page-login__form-section .page-login__section-title,
.page-login__form-section .page-login__section-description {
    color: #ffffff;
}

.page-login__login-form {
    max-width: 450px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffffff;
    font-size: 1.05em;
}

.page-login__form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.page-login__form-input:focus {
    border-color: #017439;
    background-color: rgba(0, 0, 0, 0.6);
    outline: none;
}

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

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

.page-login__remember-me input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #017439; /* Checkbox color */
}

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

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

.page-login__submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #C30808; /* Custom color for Login */
    color: #FFFF00; /* Custom font color for Login */
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__submit-btn:hover {
    background-color: #e02020;
    color: #ffffff;
}

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

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

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

/* --- Benefits Section --- */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background from body */
    color: #f0f0f0;
}

.page-login__benefits-section .page-login__section-title {
    color: #ffffff;
}

.page-login__benefits-section .page-login__section-description {
    color: #f0f0f0;
}

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

.page-login__benefit-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #f0f0f0;
}

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

.page-login__benefit-icon {
    width: 150px; /* Larger icon size */
    height: 150px; /* Larger icon size */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded corners for images */
}

.page-login__benefit-title {
    font-size: 1.5em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__benefit-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-login__cta-register {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-login__cta-register a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__cta-register a:hover {
    color: #00a040;
    text-decoration: underline;
}

/* --- Troubleshooting Section --- */
.page-login__troubleshooting-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly darker than body background for contrast */
    color: #f0f0f0;
}

.page-login__troubleshooting-section .page-login__section-title,
.page-login__troubleshooting-section .page-login__section-description {
    color: #ffffff;
}

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

.page-login__troubleshooting-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-login__troubleshooting-title {
    font-size: 1.4em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__troubleshooting-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-login__troubleshooting-contact {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-login__troubleshooting-contact a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__troubleshooting-contact a:hover {
    color: #00a040;
    text-decoration: underline;
}

/* --- FAQ Section --- */
.page-login__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background from body */
    color: #f0f0f0;
}

.page-login__faq-section .page-login__section-title {
    color: #ffffff;
}

.page-login__faq-section .page-login__section-description {
    color: #f0f0f0;
}

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