/* style/login.css */

/* Base styles for the login page */
.page-login {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Assuming body is dark from shared.css */
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-login__hero-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.7); /* Dark overlay for text readability */
    z-index: 2;
}

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

.page-login__main-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold accent for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-login__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__form-wrapper {
    background: rgba(10, 25, 47, 0.9); /* Dark blue with transparency */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    margin: 0 auto;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    background-color: #0A192F;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-login__form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.page-login__btn-primary,
.page-login__btn-secondary {
    display: block;
    width: 100%;
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-login__btn-primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

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

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

.page-login__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-login__form-links {
    text-align: center;
    margin-top: 15px;
}

.page-login__link {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.95em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

/* Sections General */
.page-login__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-login__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
}

/* Benefits Section */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

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

.page-login__benefits-section .page-login__section-intro {
    color: #555555;
}

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

.page-login__benefit-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-login__benefit-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px; /* Limit height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-login__benefit-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__benefit-text {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Troubleshooting Section */
.page-login__troubleshooting-section {
    padding: 80px 0;
    background-color: #0A192F; /* Dark blue background */
    color: #ffffff; /* White text for dark background */
}

.page-login__troubleshooting-section .page-login__section-title {
    color: #FFD700;
}

.page-login__troubleshooting-section .page-login__section-intro {
    color: #f0f0f0;
}

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

.page-login__trouble-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.page-login__trouble-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-login__trouble-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__trouble-text {
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}