/* style/register.css */
/* Base styles for the register page */
.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); /* Use shared background, fallback to white */
}

/* 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); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Brand colors for hero background */
    color: #ffffff; /* White text on hero background */
    overflow: hidden; /* Prevent image overflow */
}

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

.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;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

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

.page-register__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__cta-button:hover {
    background: #d66b05;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-register__section {
    padding: 80px 0;
    text-align: center;
    overflow: hidden; /* Prevent any content overflow */
}

.page-register__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-register__dark-bg {
    background-color: #26A9E0; /* Primary brand color for dark sections */
    color: #ffffff;
}

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

.page-register__section-title {
    font-size: 2.5em;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-register__light-bg .page-register__section-title {
    color: #26A9E0; /* Primary color for titles on light background */
}

.page-register__dark-bg .page-register__section-title {
    color: #ffffff;
}

.page-register__text-block {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Intro Section Specific */
.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__benefit-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

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

/* Guide Section Specific */
.page-register__guide-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.page-register__step-item {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    max-width: 350px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 280px;
}

.page-register__step-item:hover {
    transform: translateY(-8px);
}

.page-register__step-number {
    font-size: 3em;
    font-weight: bold;
    color: #EA7C07; /* Login color for step numbers */
    margin-bottom: 15px;
    background: #fdf2e9;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #EA7C07;
}

.page-register__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-register__guide-section .page-register__image-container {
    margin: 50px auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-register__guide-section .page-register__image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-register__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-register__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 800px;
    text-align: left;
}

.page-register__list li {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-register__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* For mobile responsiveness */
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background: #EA7C07;
    color: #ffffff;
    border-color: #EA7C07;
}

.page-register__btn-primary:hover {
    background: #d66b05;
    border-color: #d66b05;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-register__btn-secondary:hover {
    background: #f0f8ff;
    color: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Benefits Section Specific */
.page-register__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}

.page-register__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-register__feature-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-register__feature-card p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Push links to bottom */
}

.page-register__card-link {
    display: inline-block;
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-register__card-link:hover {
    color: #d66b05;
    text-decoration: underline;
}

/* Account Management Section Specific */
.page-register__management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__management-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%; /* Ensure same height */
    display: flex;
    flex-direction: column;
}

.page-register__management-item:hover {
    transform: translateY(-8px);
}

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

.page-register__management-item p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section Specific */
.page-register__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* FAQ container styles */
.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff; /* Ensure white background for FAQ items */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}