/* ========================================
   GLOBAL FIXES FOR ALL PAGES
   Fix all invisible text and buttons
   ======================================== */

/* Fix all CTA sections and buttons */
.cta-section {
    padding: 5rem 0 !important;
    background: #f7fafc !important;
}

.cta-box {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.cta-content h2,
.cta-content h3 {
    color: #1a202c !important;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: #4a5568 !important;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Fix all buttons visibility */
.btn-cta,
.cta-button,
.register-button,
a[href*="register"],
a[href*="Register"] {
    display: inline-block !important;
    background: linear-gradient(135deg, #14B8A6, #0D9488) !important;
    color: #ffffff !important;
    padding: 1rem 2.5rem !important;
    border-radius: 12px !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.btn-cta:hover,
.cta-button:hover,
.register-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4) !important;
    background: linear-gradient(135deg, #0D9488, #14B8A6) !important;
    color: #ffffff !important;
}

/* Fix info boxes */
.info-box,
.tip-box,
.note-box {
    background: #f7fafc !important;
    border-left: 4px solid #14B8A6 !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
    border-radius: 8px !important;
    min-height: auto !important;
}

.info-box h3,
.info-box h4,
.tip-box h3,
.tip-box h4 {
    color: #1a202c !important;
    margin-bottom: 0.75rem !important;
}

.info-box p,
.tip-box p,
.note-box p {
    color: #2d3748 !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

/* Fix all content sections */
.content-section,
.page-section,
.tips-section {
    min-height: auto !important;
    padding: 2rem 0 !important;
}

.content-section h2,
.content-section h3,
.page-section h2,
.page-section h3 {
    color: #1a202c !important;
    margin-bottom: 1rem !important;
}

.content-section p,
.content-section li,
.page-section p,
.page-section li {
    color: #4a5568 !important;
    line-height: 1.8 !important;
}

/* Fix step numbers */
.step-number {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #14B8A6, #F97316) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 auto 1.5rem !important;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3) !important;
}

/* Fix auth form buttons (register/login) */
button[type="submit"],
.btn-submit,
.submit-btn,
input[type="submit"] {
    background: linear-gradient(135deg, #14B8A6, #0D9488) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    width: 100%;
    margin-top: 1rem;
}

button[type="submit"]:hover,
.btn-submit:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4) !important;
    background: linear-gradient(135deg, #0D9488, #14B8A6) !important;
}


/* Fix FAQ answers */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white !important;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
    min-height: 0 !important;
}

.faq-answer.active {
    max-height: 2000px !important;
    min-height: auto !important;
    padding: 25px !important;
    border-color: #14B8A6 !important;
}

.faq-answer-content {
    color: #555 !important;
    line-height: 1.8 !important;
    min-height: auto !important;
}

.faq-answer-content p,
.faq-answer-content li {
    color: #555 !important;
}

/* Fix all white text issues */
body * {
    min-height: auto !important;
}

/* Ensure all text is visible */
h1, h2, h3, h4, h5, h6 {
    color: #1a202c !important;
}

p, li, span, div {
    color: #4a5568 !important;
}

/* Override any white backgrounds causing issues */
section {
    min-height: auto !important;
}

/* Fix empty white spaces */
.container {
    min-height: auto !important;
}
