/* style/login.css */

/* Base styles for page-login */
.page-login {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background #F4F7FB */
    background-color: #F4F7FB; /* Match body background from shared.css */
    line-height: 1.6;
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per instruction */
    text-align: center;
    overflow: hidden;
    background-color: #F4F7FB; /* Consistent background */
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-login__hero-content {
    max-width: 900px;
    margin: 20px auto 40px auto;
    padding: 0 20px;
}

.page-login__main-title {
    font-size: clamp(2em, 4vw, 3em); /* H1 font size clamp */
    font-weight: bold;
    color: #1F2D3D; /* Text Main color */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-login__description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main color */
    margin-bottom: 20px;
}

/* Form Section */
.page-login__form-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F4F7FB;
}

.page-login__form-container {
    background-color: #FFFFFF; /* Card BG color */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-login__form-title {
    font-size: 2em;
    color: #1F2D3D; /* Text Main color */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

.page-login__forgot-password-link {
    color: #2F6BFF; /* Main color */
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
    color: #6FA3FF; /* Auxiliary color */
}

.page-login__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4); /* Glow color */
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main color */
}

.page-login__register-link {
    color: #2F6BFF; /* Main color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-login__register-link:hover {
    color: #6FA3FF; /* Auxiliary color */
}

/* Benefits Section */
.page-login__benefits-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #F4F7FB;
}

.page-login__section-title {
    font-size: 2.5em;
    color: #1F2D3D; /* Text Main color */
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

.page-login__benefit-card {
    background-color: #FFFFFF; /* Card BG color */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
    color: #333333; /* Ensure dark text on light background */
}

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

.page-login__benefit-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-login__benefit-title {
    font-size: 1.4em;
    color: #2F6BFF; /* Main color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__benefit-description {
    font-size: 1em;
    color: #1F2D3D; /* Text Main color */
}

/* Guide Section */
.page-login__guide-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #2F6BFF; /* Main color for dark background */
    color: #ffffff;
}