/* style/resources-xoso66-registration-login-guide.css */

/* Base styles for the page content */
.page-resources-xoso66-registration-login-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a requires light text */
    background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

.page-resources-xoso66-registration-login-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-xoso66-registration-login-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #0a0a0a; /* Dark background for hero */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-xoso66-registration-login-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay for text readability */
    z-index: 1;
}

.page-resources-xoso66-registration-login-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.page-resources-xoso66-registration-login-guide__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-xoso66-registration-login-guide__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-xoso66-registration-login-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-resources-xoso66-registration-login-guide__btn-primary,
.page-resources-xoso66-registration-login-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-resources-xoso66-registration-login-guide__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-xoso66-registration-login-guide__btn-primary:hover {
    background-color: #1a8ccb;
    transform: translateY(-2px);
}

.page-resources-xoso66-registration-login-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-xoso66-registration-login-guide__btn-secondary:hover {
    background-color: rgba(38, 169, 224, 0.1);
    transform: translateY(-2px);
}

.page-resources-xoso66-registration-login-guide__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Content Sections */
.page-resources-xoso66-registration-login-guide__content-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
}

.page-resources-xoso66-registration-login-guide__dark-bg {
    background-color: #0a0a0a; /* Darker background for contrast */
}

.page-resources-xoso66-registration-login-guide__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-xoso66-registration-login-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #EA7C07; /* Login orange for accent */
    border-radius: 2px;
}

.page-resources-xoso66-registration-login-guide__sub-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-xoso66-registration-login-guide p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-resources-xoso66-registration-login-guide p a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources-xoso66-registration-login-guide p a:hover {
    color: #EA7C07;
}

.page-resources-xoso66-registration-login-guide__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources-xoso66-registration-login-guide__list li {
    margin-bottom: 10px;
}

.page-resources-xoso66-registration-login-guide__list li a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources-xoso66-registration-login-guide__list li a:hover {
    color: #EA7C07;
}

/* Step Cards & Benefit Cards */
.page-resources-xoso66-registration-login-guide__steps-grid,
.page-resources-xoso66-registration-login-guide__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-xoso66-registration-login-guide__step-card,
.page-resources-xoso66-registration-login-guide__benefit-card {
    background-color: #1a1a1a; /* Card background, slightly lighter than body */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(38, 169, 224, 0.3);
    color: #f0f0f0; /* Light text for card content */
}

.page-resources-xoso66-registration-login-guide__step-card:hover,
.page-resources-xoso66-registration-login-guide__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-xoso66-registration-login-guide__step-image,
.page-resources-xoso66-registration-login-guide__benefit-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Ensure minimum image size */
    min-height: 200px; /* Ensure minimum image size */
    object-fit: cover;
}

.page-resources-xoso66-registration-login-guide__step-title,
.page-resources-xoso66-registration-login-guide__benefit-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-resources-xoso66-registration-login-guide__faq-list {
    margin-top: 30px;
}

.page-resources-xoso66-registration-login-guide__faq-item {
    background-color: #1a1a1a; /* FAQ item background */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(38, 169, 224, 0.2);
}

.page-resources-xoso66-registration-login-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources-xoso66-registration-login-guide__faq-question:hover {
    background-color: #26A9E0;
    border-radius: 8px 8px 0 0;
}

.page-resources-xoso66-registration-login-guide__faq-question h3 {
    margin: 0;
    color: inherit; /* Inherit color from parent */
    flex-grow: 1;
}

.page-resources-xoso66-registration-login-guide__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #EA7C07; /* Orange for toggle icon */
}

.page-resources-xoso66-registration-login-guide__faq-item.active .page-resources-xoso66-registration-login-guide__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-resources-xoso66-registration-login-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Adjust padding to match question */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-xoso66-registration-login-guide__faq-item.active .page-resources-xoso66-registration-login-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
    padding-top: 0; /* No top padding if already set in question padding */
}

.page-resources-xoso66-registration-login-guide__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section at the bottom */
.page-resources-xoso66-registration-login-guide__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Brand color for final CTA */
    color: #ffffff;
}

.page-resources-xoso66-registration-login-guide__cta-section .page-resources-xoso66-registration-login-guide__section-title {
    color: #ffffff;
}

.page-resources-xoso66-registration-login-guide__cta-section .page-resources-xoso66-registration-login-guide__section-title::after {
    background-color: #ffffff;
}

.page-resources-xoso66-registration-login-guide__cta-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-xoso66-registration-login-guide__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-xoso66-registration-login-guide__main-title {
        font-size: 2em;
    }

    .page-resources-xoso66-registration-login-guide__description {
        font-size: 1em;
    }

    .page-resources-xoso66-registration-login-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-xoso66-registration-login-guide__btn-primary,
    .page-resources-xoso66-registration-login-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-xoso66-registration-login-guide__section-title {
        font-size: 1.8em;
    }

    .page-resources-xoso66-registration-login-guide__sub-title {
        font-size: 1.4em;
    }

    .page-resources-xoso66-registration-login-guide__steps-grid,
    .page-resources-xoso66-registration-login-guide__benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Image responsiveness for mobile */
    .page-resources-xoso66-registration-login-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-xoso66-registration-login-guide__container,
    .page-resources-xoso66-registration-login-guide__step-card,
    .page-resources-xoso66-registration-login-guide__benefit-card,
    .page-resources-xoso66-registration-login-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-resources-xoso66-registration-login-guide__hero-content,
    .page-resources-xoso66-registration-login-guide__content-section .page-resources-xoso66-registration-login-guide__container,
    .page-resources-xoso66-registration-login-guide__cta-section .page-resources-xoso66-registration-login-guide__container {
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-resources-xoso66-registration-login-guide__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-resources-xoso66-registration-login-guide__faq-answer {
        padding: 0 15px;
    }

    .page-resources-xoso66-registration-login-guide__faq-item.active .page-resources-xoso66-registration-login-guide__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}

/* Ensure content area images are not too small */
/* This rule applies to any img within the page content, regardless of class */
.page-resources-xoso66-registration-login-guide img:not(.shared-logo):not(.shared-icon) {
    max-width: 100%; 
    height: auto; 
    min-width: 200px; /* Enforce minimum display width */
    min-height: 200px; /* Enforce minimum display height */
    object-fit: cover;
}

/* Override for images that might be smaller like logos or social icons if they were in main */
/* However, the prompt strictly forbids small icons, so this is mainly a safeguard */
.page-resources-xoso66-registration-login-guide__step-image,
.page-resources-xoso66-registration-login-guide__benefit-image {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast adjustments for specific elements */
.page-resources-xoso66-registration-login-guide__card {
    background: #1a1a1a; /* Dark background for cards */
    color: #f0f0f0; /* Light text */
}

.page-resources-xoso66-registration-login-guide__dark-section {
    background: #0a0a0a;
    color: #ffffff;
}

/* Additional contrast fix classes if needed */
.page-resources-xoso66-registration-login-guide__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-xoso66-registration-login-guide__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}