.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--black-color); /* Inherited from shared.css */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ensure it takes full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    z-index: -1;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff;
}

.page-login__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-login__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Login Form */
.page-login__login-form-wrapper {
    background-color: rgba(0, 0, 0, 0.7); /* Dark background for form */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    margin: 0 auto;
}

.page-login__form-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: #ffffff;
}

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

.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: #333333; /* Dark input background */
    color: #ffffff; /* Light input text */
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: #aaaaaa;
}

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

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

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

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

.page-login__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-login__link:hover {
    color: #1a7fb2;
    text-decoration: underline;
}

.page-login__forgot-password {
    font-size: 0.9em;
}

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

/* General Section Styles */
.page-login__section {
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-login__dark-bg {
    background-color: #1a1a1a; /* Darker background for contrast */
    color: #ffffff;
}

.page-login__light-bg {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    color: #ffffff;
}

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

.page-login__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-login__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* Features Grid */
.page-login__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-login__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-login__feature-card:hover {
    transform: translateY(-10px);
}

.page-login__feature-icon {
    width: 100%;
    max-width: 250px; /* Adjust icon size as needed */
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-login__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-login__feature-text {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1; /* Allow text to grow and fill space */
}

/* Steps Grid */
.page-login__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.page-login__step-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-login__step-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-login__step-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-login__step-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-top: auto; /* Push image to bottom if content is short */
}

/* App Login */
.page-login__app-login {
    background-color: #2a2a2a;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__app-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-login__app-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    color: #e0e0e0;
}

.page-login__app-download-button {
    margin-bottom: 30px;
}

.page-login__app-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-login__security-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    text-align: left;
}

.page-login__security-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-login__security-heading {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-login__security-text {
    font-size: 1em;
    color: #e0e0e0;
}

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

.page-login__troubleshoot-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-login__troubleshoot-heading {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-login__troubleshoot-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-login__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-login__faq-item {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #1a1a1a; /* Darker background for summary */
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #2a2a2a;
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #EA7C07;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    content: "−";
}

.page-login__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.7;
    background-color: #2a2a2a; /* Lighter dark background for answer */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Hide default details arrow */
.page-login__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-login__faq-item summary {
    list-style: none;
}