/* Ensure the help center inherits global dark theme variables */
:root {
  --accent-gradient: linear-gradient(135deg, #35cafc, #7D3CF6, #6A11CB);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.12);
  --text-light: #f0f0f0;
  --text-muted: #999;
  --hover-bg: rgba(125, 60, 246, 0.25);
  --yellow-accent: #FFD700; /* Gold/Yellow for headings */
}

/* General Layout */
.help-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* Header Section */
.help-header {
    text-align: center;
    margin-bottom: 50px;
}

.help-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.help-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ------------------- HIGHLIGHTED SEARCH BOX STYLING ------------------- */
.search-box {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(53, 202, 252, 0.5); /* Blue/Cyan border for highlight */
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 0 15px rgba(53, 202, 252, 0.2); /* Subtle glow effect */
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 20px rgba(53, 202, 252, 0.6); /* Stronger glow on focus */
}

.search-box svg {
    margin-right: 10px;
    color: #35cafc; /* Make the icon the accent color */
}

.search-box input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
}
.search-box input::placeholder {
    color: var(--text-muted);
}

/* ------------------- FAQ HEADING UPDATES (YELLOW) ------------------- */
.faq-section h2 {
    font-size: 2rem;
    color: var(--yellow-accent); /* YELLOW COLOR */
    border-bottom: 2px solid var(--card-border);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.faq-category h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Accordion Item Styling */
.accordion-item {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    transition: background 0.2s, color 0.2s; 
}

/* Question Mark Icon Styling */
.accordion-header .q-icon {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--yellow-accent); /* YELLOW ACCENT */
    margin-right: 15px;
    padding: 0 5px;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #35cafc; /* Subtle color change on hover */
}

.accordion-header[aria-expanded="true"] {
    background: rgba(53, 202, 252, 0.15); 
}

.accordion-header .icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    /* REDUCED TRANSITION TIME for snappier feel */
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out; 
}

.accordion-content p {
    padding: 15px 0 20px 0;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact CTA Footer */
.contact-cta {
    text-align: center;
    padding: 40px;
    background: rgba(125, 60, 246, 0.1); /* Subtle background for contrast */
    border-radius: 18px;
    border: 1px solid rgba(125, 60, 246, 0.2);
}

.contact-cta h2 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--yellow-accent); /* YELLOW COLOR */
}
.contact-cta p {
    margin-bottom: 25px;
    color: var(--text-muted);
}
/* ==========================================================================
   MOBILE TOUCH OPTIMIZATION GATEWAY
   ========================================================================== */
@media (max-width: 768px) {
    /* Prevent the layout from collapsing on narrow screens */
    .dashboard-layout {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
        gap: 16px !important;
    }

    /* Expand button touch zones to meet standard accessibility guidelines (minimum 44px) */
    button, 
    .instagram-post-card,
    .nav-links a {
        min-height: 44px !important;
        padding: 12px !important;
    }

    /* Make the calendar grid easily scrollable on mobile screens */
    .calendar-grid {
        overflow-x: auto !important;
        display: block !important;
        white-space: nowrap !important;
    }
}