/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #ffffff); /* Fallback to white if variable not set */
}

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

.page-register__section {
    padding: 60px 0;
}

.page-register__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-title--light {
    color: #ffffff; /* White color for titles on dark backgrounds */
}

.page-register__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-register__section-description--light {
    color: #f0f0f0; /* Light color for descriptions on dark backgrounds */
}

.page-register__text-center {
    text-align: center;
}

/* Card styles */
.page-register__card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button styles */
.page-register__cta-button,
.page-register__btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #26A9E0; /* Primary brand color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-register__cta-button:hover,
.page-register__btn-primary:hover {
    background: #1e87c0; /* Slightly darker primary color on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* HERO Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #26A9E0, #a0d8f5); /* Light blue gradient */
    color: #ffffff;
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-register__hero-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-register__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Benefits Section */
.page-register__intro-benefits {
    background-color: #f9f9f9;
}

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

.page-register__benefit-item {
    text-align: center;
}

.page-register__benefit-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__benefit-text {
    font-size: 16px;
    color: #555555;
}

/* Registration Guide Section */
.page-register__registration-guide {
    background-color: #26A9E0; /* Primary brand color for dark background */
    color: #ffffff;
}

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

.page-register__step-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    transition: background-color 0.3s ease;
}

.page-register__step-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-register__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: #26A9E0;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-register__step-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__step-text {
    font-size: 16px;
    color: #f0f0f0;
}

.page-register__step-text a {
    color: #f0f0f0;
    text-decoration: underline;
}

.page-register__step-text a:hover {
    color: #ffffff;
}

/* Registration Form Section */
.page-register__form-section {
    max-width: 600px;
    margin: 60px auto 0;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-register__form-title {
    font-size: 28px;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

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

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.page-register__form-input:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(38, 169, 224, 0.2);
}

.page-register__checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
}

.page-register__checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px; /* Align checkbox with text */
    flex-shrink: 0;
}

.page-register__checkbox-group label {
    font-weight: normal;
    color: #555555;
    font-size: 15px;
}

.page-register__checkbox-group a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-register__checkbox-group a:hover {
    text-decoration: underline;
}

.page-register__form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    margin-top: 30px;
}

/* Security Info Section */
.page-register__security-info {
    background-color: #f0f8ff; /* Light blue background */
}

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

.page-register__feature-item {
    text-align: center;
}

.page-register__feature-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__feature-text {
    font-size: 16px;
    color: #555555;
}

.page-register__feature-text a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-register__feature-text a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-register__promotions {
    background-color: #26A9E0; /* Primary brand color for dark background */
    color: #ffffff;
}

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

.page-register__promo-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    transition: background-color 0.3s ease;
    color: #ffffff;
}

.page-register__promo-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-register__promo-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}