/*
* ===================================================================
* StreamerCollabs v2.0 - Main Stylesheet (Refactored)
* ===================================================================
*/

/* --- FIX: Global Color & Font Definitions --- */
:root {
    --c-brand-purple: #7876ff;
    --c-brand-purple-dark: #6d6bfd;
    --c-brand-link: #10b7de;
    --c-brand-secondary: #35ceff;
    --c-text-dark: #000;
    --c-text-light: #fff;
    --c-text-medium: #555;
    --c-text-soft: #666;
    --c-bg-light: #fff;
    --c-bg-medium: #f8f8f8;
    --c-bg-dark: #141414;
    --c-bg-dark-alt: #1a1a2e;
    --c-border-light: #eee;
    --c-border-medium: #ddd;
    --c-shadow-light: rgba(0, 0, 0, 0.05);
    --c-shadow-medium: rgba(0, 0, 0, 0.1);
    --c-online: #22c55e;
    --c-offline: #9ca3af;
    --c-pill-personality: #f97316;
    --c-pill-focus: #16a34a;
    --c-pill-platform: #7c3aed;
    --c-pill-streak: #f59e0b;
    --c-vibe-personality-bg: #eef7ff;
    --c-vibe-personality-text: #3b82f6;
    --c-vibe-personality-border: #dbeafe;
    --c-vibe-focus-bg: #f0fdf4;
    --c-vibe-focus-text: #22c55e;
    --c-vibe-focus-border: #dcfce7;--c-vibe-platform-bg: #e6f7ff;
    --c-vibe-platform-text: #0088cc;
    --c-vibe-platform-border: #cceeff;
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Saira", sans-serif;
}


/* --- Core Typography & Common Styles --- */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-size: 18px !important;
    font-weight: 400;
    color: var(--c-text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin: 0 0 40px;
    padding: 0;
}

h1 { font-size: 65px; font-weight: 800; line-height: 1.1; font-family: var(--font-secondary); }
h2 { font-size: 45px; font-weight: 700; font-family: var(--font-secondary); line-height: 1; text-transform: uppercase; }
h3 { font-size: 30px; font-weight: 600; }
h4 { font-size: 24px; font-weight: 700; }
h5 { font-size: 22px; }
h6 { font-size: 18px; margin-bottom: 8px; color: var(--c-brand-secondary); }

p {
    font-size: 20px;
    margin: 0 0 40px;
    padding: 0;
    line-height: 1.2;
}
p:last-child { margin-bottom: 0; }

a, a:link, a:visited, a:focus, a:hover {
    color: var(--c-brand-link);
    outline: none;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}
a:hover { text-decoration: none; }


/*
* ===================================================================
* UNIFIED BUTTON SYSTEM
* ===================================================================
*/

/* --- Base Button Style --- */
.btn {
    display: inline-block;
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    font-weight: 500 !important; /* Slightly bolder for better readability */
    text-align: center;
    text-decoration: none !important;
    color: var(--c-text-light) !important;
    background-color: var(--c-brand-purple) !important;
    padding: 15px 30px !important;
    border: 2px solid var(--c-brand-purple) !important;
    border-radius: 8px !important; /* Consistent rounded corners */
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(120, 118, 255, 0.2);
}

.btn:hover {
    background-color: var(--c-brand-purple-dark) !important;
    border-color: var(--c-brand-purple-dark) !important;
    color: var(--c-text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 118, 255, 0.3);
}

/* --- Secondary Button (Modifier) --- */
.btn--secondary {
    background-color: #6c757d !important; /* A neutral gray */
    border-color: #6c757d !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- Outline Button (Modifier) --- */
.btn--outline {
    background-color: transparent !important;
    color: var(--c-brand-purple) !important;
}

.btn--outline:hover {
    background-color: var(--c-brand-purple) !important;
    color: var(--c-text-light) !important;
}

/*
* ===================================================================
* Global Vibe Pill / Vibe Tag Styles
* ===================================================================
*/
.vibe-tag,
.sc-vibe-pill {
    font-size: 0.75rem !important;
    font-weight: 600 !important; /* Bolder text for readability */
    padding: 0.4rem 0.9rem !important;
    border-radius: 50px !important;
    color: var(--c-text-light) !important; /* White text for high contrast */
    border: none !important;
    text-transform: capitalize;
    white-space: nowrap;
}

.vibe-tag.personality-tag,
.sc-vibe-pill--personality {
    background-color: var(--c-pill-personality) !important;
}

.vibe-tag.focus-tag,
.sc-vibe-pill--focus {
    background-color: var(--c-pill-focus) !important;
}

.vibe-tag.platform-tag,
.sc-vibe-pill--platform {
    background-color: var(--c-pill-platform) !important;
}
/*
* ===================================================================
* Homepage Twitch Slider Styles
* ===================================================================
*/

/* --- Homepage Slider Overflow Fix --- */
.slider-container-wrapper {
    overflow: hidden;
}
.twitch-slider {
    display: none;
}
.twitch-slider.slick-initialized {
    display: block;
}
.twitch-slider .slick-track {
    padding-top: 130px;
    padding-bottom: 130px;
}
.twitch-slider .slick-slide {
    text-align: center;
    transition: transform 0.3s ease-in-out;
    transform: scale(0.8);
    opacity: 0.7;
}
.twitch-slider .slick-slide.slick-current {
    transform: scale(1.3);
    position: relative;
    z-index: 5;
    opacity: 1;
}
.twitch-slider .slider-item-wrap .video-wrap {
    background: var(--c-bg-medium);
    box-shadow: 0px 4px 50px var(--c-shadow-medium);
    border-radius: 20px;
    overflow: hidden;
}
.twitch-slider .slider-item-wrap .videos-img {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}
.twitch-slider .slider-item-wrap .videos-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}
.twitch-slider .slider-item-wrap .video-details {
    padding: 15px;
    text-align: left;
}
.twitch-slider .slick-slide.slick-current .video-details {
    padding: 10px;
}
.twitch-slider .slick-slide.slick-current .video-details p {
    font-size: 14px;
    margin: 10px 0 0;
    line-height: 1.2;
}
.twitch-slider .video-details .channel-name-wrap {
    display: flex;
    align-items: center;
}
.twitch-slider .video-details .channel-name-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.twitch-slider .video-details .channel-name-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.twitch-slider .video-details .channel-name {
    margin-left: 12px;
    overflow: hidden;
}
.twitch-slider .video-details .channel-name h5 {
    font-size: 11px;
    margin: 0 0 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.twitch-slider .video-details .channel-name h5 a {
    color: var(--c-text-dark);
}
.twitch-slider .video-details .channel-name h6 {
    font-size: 8px;
    margin: 0;
    color: var(--c-text-soft);
}
.twitch-slider .slick-arrow {
    width: 46px; height: 46px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    border-radius: 50%;
}
.twitch-slider .slick-prev { left: 25px; }
.twitch-slider .slick-next { right: 25px; }
.twitch-slider .slick-arrow:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.twitch-slider .slick-prev:before { background-image: url(../images/prev-slider.svg); }
.twitch-slider .slick-next:before { background-image: url(../images/next-slider.svg); }

/* --- Homepage Slider Vibe Tag Size Override --- */
.twitch-slider .vibe-tag {
    font-size: 9px !important;
    padding: 3px 8px !important;
    border-radius: 10px !important;
}

/*
 * ===================================================================
 * Header: Logged-In Menu Button Size Override (v3 - Definitive)
 * ===================================================================
 */

/* This is a highly specific rule to override the aggressive base .btn styles. */
.header-row.after-login .main-menu .my-account-wrap a.btn.dropdown-toggle {
    /* Reduce the font size, which is the main factor in the button's height. */
    font-size: 14px !important;

    /* Set specific, smaller padding to control the width. */
    padding: 8px 15px !important;
    
    /* Ensure the button's height shrinks with its content. */
    height: auto !important;
    min-height: unset !important;
    line-height: 1.5 !important;
}

/* Re-add the icon styles if they were removed. If not, this ensures they are correct. */
.header-row.after-login .main-menu .my-account-wrap a.btn span.icon {
    display: inline-block;
    margin-right: 6px;
}
.header-row.after-login .main-menu .my-account-wrap a.btn span.icon img {
    height: 18px;
    width: auto;
    vertical-align: middle;
}

/* Adjust the dropdown arrow's spacing */
.header-row.after-login .main-menu .my-account-wrap a.btn.dropdown-toggle::after {
    margin-left: 8px !important;
}

.main-header {
    position: relative;
    padding: 20px 0;
    z-index: 999;
    background: var(--c-bg-dark);
}
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.logo { width: 200px; }
.hdr-rt { display: flex; align-items: center; }
.main-menu ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; }
.main-menu ul li { margin-right: 20px; }
.main-menu ul li a { color: var(--c-text-light); text-decoration: none; }
.main-menu ul li.current-menu-item a { color: #00ccfb !important; }
.after-login .my-account-wrap a.btn {
    padding: 6px 6px !important;
    background-color: var(--c-brand-purple) !important;
    color: var(--c-text-light) !important;
    border-radius: 0px !important;
}
.after-login .my-account-wrap a.btn:hover {
    background-color: var(--c-brand-purple-dark) !important;
}
.after-login .my-account-wrap a.btn span.icon { margin-right: 9px; }

/*
* ===================================================================
* Edit Profile Form Styles
* ===================================================================
*/
.edit-profile-main { padding: 50px 0; }
.edit-profile-holder { box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.1); padding: 50px; background: #fff; }
.form-holder { margin-bottom: 20px; }
.form-holder label { display: block; margin-bottom: 10px; font-weight: 500; }
.form-control { width: 100%; height: 60px; background: #f7f7f7; box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.05); border-radius: 55px; border: 1px solid #eee; padding: 10px 20px; }
.profile-checkbox ul { list-style: none; padding: 0; }
.profile-checkbox ul li { display: flex; align-items: center; margin-bottom: 10px; }
.profile-checkbox ul li input { margin-right: 10px; width: 20px; height: 20px; }
#sc-game-list-saved { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.saved-game-item { display: inline-flex; align-items: center; background-color: var(--c-brand-purple); color: white; border-radius: 15px; padding: 5px 10px; font-size: 14px; }
.remove-game { background: var(--c-brand-purple-dark); border: none; color: white; border-radius: 50%; width: 20px; height: 20px; margin-left: 8px; cursor: pointer; line-height: 20px; text-align: center; }
#sc-game-list-results { list-style-type: none; padding-left: 0; margin-top: 5px; border: 1px solid #ddd; border-radius: 5px; }
#sc-game-list-results li { padding: 8px 12px; cursor: pointer; }
#sc-game-list-results li:hover { background-color: #f0f0f0; }
.social-list-wrap { display: flex; flex-wrap: wrap; }
.social-list { position: relative; width: 50%; padding: 0 15px; margin-bottom: 20px; }
.social-list .form-control { padding-left: 120px; }
.social-list .social-icon { width: 40px; height: 40px; position: absolute; left: 25px; top: 50%; transform: translateY(-50%); background: #f0f0f0; border: 2px solid rgba(120, 118, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--c-brand-purple); }
.social-list .social-icon img { width: 15px; }

/* ... (Duplicate Edit Profile styles from baseline) ... */
.edit-profile-main { padding: 80px 0; }
.edit-profile-holder { box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.1); padding: 70px 50px 50px; background: #fff; }
.ed-header h1 { text-align: center; font-family: "Saira", Sans-serif; font-weight: 700; }
.edit-profile-main .form-holder { margin-bottom: 20px; }
.edit-profile-main .form-holder label { margin: 10px 0; font-weight: 500; display: block; }
.edit-profile-main .form-control { width: 100%; height: 60px; background: #ffffff; box-shadow: 0px 4px 36px rgba(0, 0, 0, 0.12); border-radius: 55px; border: 1px solid #ddd; padding: 10px 20px; }
.edit-profile-main .profile-checkbox { padding-top: 30px; padding-bottom: 30px; }
#sc-game-list-results { list-style-type: none; padding: 10px; margin-top: 5px; border: 1px solid #ddd; border-radius: 5px; background: #fff; max-height: 200px; overflow-y: auto; }
a.pmpro-discord-connect-button { background-color: #5865F2 !important; color: #ffffff !important; }
a.pmpro-discord-connect-button:hover { background-color: #4a55d2 !important; color: #ffffff !important; }
.ets_assigned_role p {font-size: 14px;}

/*
* ===================================================================
* Single Twitch Video Page Styles
* ===================================================================
*/
.single-twitch_video .site-main { padding-top: 50px; padding-bottom: 50px; }
.single-twitch_video .entry-title { margin-bottom: 30px; font-family: var(--font-secondary); }
.video-player-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; margin-bottom: 20px; border-radius: 10px; }
.video-player-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-meta { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--c-border-light); color: var(--c-text-medium); font-size: 16px; }
.video-meta span { margin-right: 25px; }
.single-twitch_video .entry-content p { font-size: 18px; line-height: 1.6; }

/*
===================================================================
--- FINAL DEFINITIVE SLIDER & POPUP STYLES ---
===================================================================
*/
.twitch-slider .slick-list { overflow: visible !important; }
.twitch-slider .slick-track { padding-top: 40px !important; padding-bottom: 40px !important; }
.twitch-slider .video-details { min-height: 0; padding: 15px; display: flex; flex-direction: column; }
.twitch-slider .video-details p { margin-top: 8px; margin-bottom: 8px; }
.card-bottom-row { margin-top: auto; padding-top: 10px; }
.card-bottom-row p { margin: 0; padding-right: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.videos-img { position: relative; }
.play-button-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); color: var(--c-brand-purple); display: flex; align-items: center; justify-content: center; font-size: 50px; opacity: 0; transition: opacity 0.3s ease; cursor: pointer; }
.slider-item-wrap:hover .play-button-overlay { opacity: 1; }
.channel-name-top-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.channel-name-top-row h5 { margin: 0; }
.slider-vibe-tags-inline { display: flex; gap: 5px; }


body .fancybox__content { width: 90vw !important; padding: 0 !important; max-width: 900px !important; height: auto !important; aspect-ratio: 16 / 9 !important; }
.fancybox__content > .f-button.is-close-btn { position: absolute !important; top: -40px !important; right: 0 !important; width: 36px !important; height: 36px !important; background: #fff !important; border-radius: 50% !important; cursor: pointer !important; z-index: 1055 !important; padding: 0 !important; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.fancybox__content > .f-button.is-close-btn svg { stroke: #000 !important; stroke-width: 1.5 !important; }
.fancybox__content > .f-button.is-close-btn:hover { background: #eee !important; }
.slick-loading .slick-list { background: #fff url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" width="40" height="40"><circle cx="50" cy="50" r="32" stroke-width="8" stroke="%237876ff" stroke-dasharray="50.26548245743669 50.26548245743669" fill="none" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;360 50 50"></animateTransform></circle></svg>') center center no-repeat; }


/*
* ===================================================================
* Member Hub Dashboard Layout
* ===================================================================
*/
.sc-dashboard-container {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

.sc-dashboard-sidebar {
    flex: 0 0 260px;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 50px; /* Adjust this value based on your sticky header height */
}

.sc-sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.sc-sidebar-user-info img {
    border-radius: 50%;
}

.sc-sidebar-username {
    font-weight: 600;
    font-size: 1rem;
}

.sc-dashboard-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.sc-dashboard-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sc-dashboard-nav a:hover {
    background-color: #e9ecef;
    color: #111;
}

.sc-dashboard-nav a.active {
    background-color: var(--c-brand-purple, #7876ff);
    color: #fff;
}

.sc-dashboard-content {
    flex: 1; /* Takes up the remaining space */
}

/* Responsive adjustments for mobile */
@media (max-width: 991px) {
    .sc-dashboard-container {
        flex-direction: column;
    }
    .sc-dashboard-sidebar {
        flex: 0 0 auto;
        position: static; /* THE FIX: Un-sticks the sidebar on mobile */
        position: static !important;
    }
}
/*
* ===================================================================
* Member Hub Dashboard - Content Styles (FINAL v2)
* ===================================================================
*/

/* --- Main Content Area Headers & Text --- */
.sc-dashboard-content h2 {
    font-family: var(--font-secondary, "Saira", sans-serif);
    font-size: 2rem;
    margin-bottom: 8px;
}

.sc-dashboard-content > p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 60ch;
}

/* --- Dashboard Card Grid --- */
.sc-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sc-dashboard-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.sc-dashboard-card.sc-card-full {
    grid-column: 1 / -1;
}

.sc-dashboard-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #333;
}

/* --- Stat Card Specific Styles --- */
.sc-dashboard-card .sc-stat-big {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-secondary, "Saira", sans-serif);
    line-height: 1;
    color: var(--c-brand-purple, #7876ff);
    margin-bottom: 8px;
}

.sc-dashboard-card .sc-stat-level {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-secondary, "Saira", sans-serif);
    line-height: 1.2;
    color: var(--c-brand-purple, #7876ff);
    margin-bottom: 8px;
}

.sc-dashboard-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #6c757d;
}

/* --- Badge Progress Card Styles (Higher Specificity) --- */
.sc-dashboard-card .sc-progress-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sc-dashboard-card .sc-progress-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sc-dashboard-card .sc-progress-item:first-child {
    padding-top: 0;
}

/* FIX: Force the badge icon to the correct size */
.sc-dashboard-card .sc-progress-icon {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    min-width: 50px !important;
    flex-shrink: 0;
    object-fit: contain;
}

.sc-dashboard-card .sc-progress-details {
    flex-grow: 1;
    min-width: 0;
}

.sc-dashboard-card .sc-progress-details strong {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    color: #333;
}

.sc-dashboard-card .sc-progress-details small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.sc-dashboard-card .sc-progress-bar {
    width: 100%;
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.sc-dashboard-card .sc-progress-bar-inner {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease-in-out;
    position: relative;
    overflow: hidden;
}

.sc-dashboard-card .sc-progress-bar-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
}

.sc-dashboard-card .sc-progress-bar--connections .sc-progress-bar-inner {
    background-color: var(--c-brand-purple, #7876ff);
}

.sc-dashboard-card .sc-progress-bar--streaks .sc-progress-bar-inner {
    background-color: var(--c-pill-streak, #f59e0b);
}

.sc-dashboard-card .sc-progress-bar--messages .sc-progress-bar-inner {
    background-color: var(--c-pill-platform, #3498db);
}

.sc-dashboard-card .sc-progress-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
    min-width: 50px;
    text-align: right;
}

/*
 * ===================================================================
 * Edit Profile Page - Definitive Layout Fixes (v4)
 * ===================================================================
 */

/* 1. The Gap Fix: Reduce the excessive padding on the main container. */
.sc-dashboard-content .edit-profile-main {
    padding-top: 0 !important;
}

/* 2. The Social Links Stacking Fix: A highly specific, forceful rule. */
@media (max-width: 767px) {
    /* This selector is based on the path you provided, ensuring it's powerful enough. */
    .sc-dashboard-content .social-list-wrap {
        flex-direction: column !important;
    }

    .sc-dashboard-content .social-list-wrap .social-list {
        width: 100% !important;
        flex-basis: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/*
* ===================================================================
* Member Hub Dashboard - Badge Progress Card Styles (Definitive Fix)
* ===================================================================
*/
.sc-dashboard-card .sc-progress-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sc-dashboard-card .sc-progress-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sc-dashboard-card .sc-progress-item:first-child {
    padding-top: 0;
}

/* FIX: Target the container and the image directly */
.sc-dashboard-card .sc-progress-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}
.sc-dashboard-card .sc-progress-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.sc-dashboard-card .sc-progress-details {
    flex-grow: 1;
    min-width: 0;
}

.sc-dashboard-card .sc-progress-details strong {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    color: #333;
}

.sc-dashboard-card .sc-progress-details small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.sc-dashboard-card .sc-progress-bar {
    width: 100%;
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.sc-dashboard-card .sc-progress-bar-inner {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease-in-out;
    position: relative;
    overflow: hidden;
}

.sc-dashboard-card .sc-progress-bar-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
}

.sc-dashboard-card .sc-progress-bar--connections .sc-progress-bar-inner {
    background-color: var(--c-brand-purple, #7876ff);
}

.sc-dashboard-card .sc-progress-bar--messages .sc-progress-bar-inner {
    background-color: var(--c-pill-platform, #3498db);
}

.sc-dashboard-card .sc-progress-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
    min-width: 50px;
    text-align: right;
}
/*
* ===================================================================
* Member Hub Dashboard - Connections Tab Styles (FINAL)
* ===================================================================
*/
.sc-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}
.sc-sub-nav {
    display: flex;
    gap: 10px;
}
.sc-sub-nav a {
    padding: 10px 20px;
    font-weight: 600;
    color: #6c757d;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}
.sc-sub-nav a:hover {
    color: #111;
}
.sc-sub-nav a.active {
    color: var(--c-brand-purple, #7876ff);
    border-bottom-color: var(--c-brand-purple, #7876ff);
}
.sc-dashboard-search form {
    display: flex;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.sc-dashboard-search input {
    border: none;
    padding: 8px 12px;
    font-size: 0.9rem;
}
.sc-dashboard-search input:focus {
    outline: none;
}
.sc-dashboard-search button {
    border: none;
    background-color: #f8f9fa;
    padding: 0 12px;
    cursor: pointer;
    color: #6c757d;
}
.sc-dashboard-search button:hover {
    background-color: #e9ecef;
}

.sc-connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.sc-connection-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative; /* This is crucial for the overlay */
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    overflow: hidden; /* This contains the bling effect */
}
.sc-connection-card .bling-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1; /* Position behind the content */
}
.sc-connection-card .card-content {
    position: relative;
    z-index: 2;
}
.sc-connection-avatar img.avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
}
.sc-connection-name {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}
.sc-connection-actions .btn-chat {
    font-size: 0.9rem !important;
    padding: 8px 25px !important;
    border-radius: 8px !important;
    background-color: var(--c-brand-purple) !important;
    color: #fff !important;
    border: 1px solid var(--c-brand-purple) !important;
}
.sc-connection-actions .btn-chat:hover {
    background-color: var(--c-brand-purple-dark) !important;
}
.sc-pagination {
    margin-top: 30px;
    text-align: center;
}
.sc-pagination .page-numbers {
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-decoration: none;
    color: #6c757d;
}
.sc-pagination .page-numbers.current,
.sc-pagination .page-numbers:hover {
    background-color: var(--c-brand-purple);
    color: #fff;
    border-color: var(--c-brand-purple);
}
.sc-request-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}
.sc-request-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}
.sc-request-list li:last-child {
    border-bottom: none;
}
.sc-request-list img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.sc-request-list li span {
    flex-grow: 1;
}
.sc-request-actions {
    display: flex;
    gap: 10px;
}
.sc-request-actions button {
    border: none;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sc-request-actions .btn-accept {
    background-color: var(--c-brand-purple, #7876ff);
    color: #fff;
}
.sc-request-actions .btn-accept:hover {
    background-color: var(--c-brand-purple-dark, #6d6bfd);
}
.sc-request-actions .btn-decline,
.sc-request-actions .btn-cancel,
.sc-request-actions .btn-resend {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}
.sc-request-actions .btn-decline:hover,
.sc-request-actions .btn-cancel:hover,
.sc-request-actions .btn-resend:hover {
    background-color: #e9ecef;
}
/* FIX: Search Bar Styling */
.sc-dashboard-search {
    margin-bottom: 20px;
    max-width: 240px; /* Width of a connection card + padding */
    width: 100%;
}
.sc-dashboard-search form {
    display: flex;
    align-items: center; /* Center icon vertically */
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.sc-dashboard-search input {
    border: none;
    padding: 8px 35px 8px 12px; /* FIX: Added 35px right padding */
    font-size: 0.9rem;
    width: 100%;
}
.sc-dashboard-search input:focus {
    outline: none;
}
.sc-dashboard-search .fa-search {
    position: absolute;
    right: 12px;
    color: #6c757d;
}
/* --- Member Hub Dashboard - Chat Iframe --- */
.sc-chat-iframe {
    width: 100%;
    height: 80vh; /* 80% of the viewport height */
    border: none;
    border-radius: 12px;
}
/*
* ===================================================================
* Member Hub Dashboard - Edit Profile Tab Styles
* ===================================================================
*/
.sc-dashboard-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 50px; /* Adjust this value based on your sticky header height + admin bar */
}

.sc-sidebar-action-area {
    margin-top: 20px;
    display: none; /* Hidden by default, shown by JS */
}

#sc-sidebar-submit-btn {
    width: 100%;
    border-radius: 8px;
}

.sc-dashboard-content h2 + p {
    margin-bottom: 20px; /* Title spacing */
}

.edit-profile-main .sc-dashboard-card {
    margin-bottom: 20px; /* Consistent card margins */
}

/* Rounded corners for all form inputs on this page */
.edit-profile-main .form-control {
    border-radius: 8px;
}

/* Social media icon alignment */
.edit-profile-main .social-list .form-control {
    padding-left: 60px;
}

/* Discord button border radius */
.edit-profile-main .connect-buttons-row a.pmpro-btn-connect.ets-btn {
    border-radius: 8px !important;
}
/*
* ===================================================================
* Member Hub Dashboard - Edit Profile & Sidebar Polish
* ===================================================================
*/
.sc-dashboard-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px; /* A safe offset for your header + admin bar. Adjust if needed. */
}

/* Hide the button container by default */
.sc-sidebar-action-area {
    margin-top: 20px;
    display: none;
}

#sc-sidebar-submit-btn {
    width: 100%;
}

/* Remove extra padding from the form's main wrapper */
.sc-dashboard-content .edit-profile-main {
    padding-top: 0;
}

/* --- Edit Profile Game Search Bar Polish --- */
#sc-game-search.search-box {
    border-radius: 8px !important;
    margin-bottom: 20px;
}

/* In main.css, at the bottom of the file */
.sc-connection-card .sc-connection-avatar img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #fff !important;
}
/* In main.css, add these new rules or update existing ones */

/* --- Styles for Embedded Dashboard Content --- */
.sc-dashboard-iframe {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 12px;
}
/* --- iFrame Content Hiding Rule --- */
body.is-in-iframe .elementor-location-header,
body.is-in-iframe .elementor-location-footer {
    display: none !important;
}
/* In main.css */

/* Adjusting the password input fields */
.sc-dashboard-card .form-control {
    border-radius: 8px !important;
}

/* Adjusting the small p text on this page */
.sc-dashboard-card p {
    margin-bottom: 15px !important;
    font-size: 15px !important;
}

/* Making the warning text more readable */
.sc-dashboard-card .text-warning {
    color: #000 !important;
    font-weight: bold !important;
}

/* And updating the warning message itself */
.sc-dashboard-card .text-warning:before {
    content: "Warning: ";
    color: #dc3545;
}
.sc-match-controls { display: flex; align-items: center; gap: 8px; border: 1px solid #e9ecef; border-radius: 8px; padding: 5px; }
.sc-match-controls span { font-size: 0.9rem; font-weight: 600; color: #6c757d; margin-right: 8px; }
.sc-match-controls a { color: #555; text-decoration: none; font-size: 0.9rem; padding: 6px 12px; border-radius: 6px; font-weight: 500; }
.sc-match-controls a.active, .sc-match-controls a:hover { background-color: var(--c-brand-purple); color: #fff; }

/* Target the timezone stat item specifically to allow it to be flexible */
.sc-profile-header__stats .sc-stat-item[title="Timezone"] {
    flex-shrink: 1;
    min-width: 0;
    max-width: 220px; /* Prevents it from getting too wide on large screens */
}

/* Target the label inside the timezone item to force it to wrap */
.sc-profile-header__stats .sc-stat-item[title="Timezone"] .sc-stat-item__label {
    white-space: normal !important; /* The !important is to override other specific rules */
    word-break: break-word;
    text-align: left;
}
/* Ensure the profile header can contain a positioned element */
.sc-profile-header {
    position: relative; 
}

/* Make the bling container fill the entire header */
.sc-profile-header .bling-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Position it behind the text and other content */
    pointer-events: none; /* Makes the bling non-interactive */
}
.sc-notification-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e9ecef; }
.sc-notification-header h3 { margin: 0; font-size: 1.25rem; }
.sc-notification-actions { display: flex; gap: 20px; }
.sc-notification-actions a { text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.sc-notification-list { list-style: none; margin: 0; padding: 0; }
.sc-notification-item { display: flex; align-items: center; gap: 20px; padding: 15px; border-radius: 8px; transition: background-color 0.2s ease; }
.sc-notification-item:not(.is-empty):hover { background-color: #f8f9fa; }
.sc-notification-item.is-unread { background-color: #f0f5ff; font-weight: 600; }
.sc-notification-icon { font-size: 1.5rem; color: var(--c-brand-purple); width: 30px; text-align: center; }
.sc-notification-content { flex-grow: 1; }
.sc-notification-message { margin-bottom: 4px; color: #333; }
.sc-notification-time { font-size: 0.8rem; color: #6c757d; }
.sc-notification-delete a { font-size: 1.5rem; color: #adb5bd; text-decoration: none; transition: color 0.2s ease; }
.sc-notification-delete a:hover { color: #dc3545; }
.sc-notification-item.is-empty { justify-content: center; padding: 40px; color: #6c757d; }
.sc-notification-icon .avatar {
    border-radius: 50%;
}
.sc-notification-badge-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.sc-upgrade-cta-card.sc-connections-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
}
.sc-upgrade-cta-card.sc-connections-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
/* Adds space below the pagination on the public connections page */
.sc-public-connections-page .sc-pagination {
    margin-bottom: 50px;
}
.sc-squad-search-wrapper input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    font-size: 1rem;
}
/* Force the Better Messages "Chat" button to match our theme inside connection cards */
.sc-connection-card .bpbm-pm-button.open-mini-chat {
    background-color: var(--c-brand-purple) !important;
    color: #fff !important;
    border: none !important;
}
.sc-connection-card .bpbm-pm-button.open-mini-chat:hover {
    background-color: var(--c-brand-purple-dark) !important;
}
/* Make the card a positioning container for the badge */
.sc-connection-card {
    position: relative;
}

/* Style the new badge to match the primary game pill */
.sc-mutual-connection-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    border: 2px solid var(--c-brand-purple);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--c-brand-purple);
    z-index: 3;
}
/* Styling for the new header on the public connections page */
.sc-page-header {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.sc-page-header .sc-section-title {
    margin-bottom: 8px;
}

/* Styling for the new avatar in the headline */
.sc-section-title.has-avatar {
    display: flex;
    align-items: center;
    border-radius: 50% !important;
    gap: 15px;
}

.sc-header-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sc-view-all-wrapper {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
}
.sc-connection-card .sc-connection-avatar .avatar {
    border-radius: 50%;
}
.sc-search-page-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}
.sc-search-filters {
    flex: 0 0 280px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
}
.sc-search-results {
    flex: 1;
}
.sc-search-filters h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
.sc-search-filters .filter-group {
    margin-bottom: 25px;
}
.sc-search-filters .filter-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.sc-search-filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sc-search-filters ul li {
    margin-bottom: 8px;
}
.sc-search-filters ul li label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}
.sc-search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 400px;
    color: #6c757d;
    border: 2px dashed #e9ecef;
    border-radius: 12px;
}
.sc-search-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Responsive styles for mobile */
@media (max-width: 991px) {
    .sc-search-page-wrapper {
        flex-direction: column;
    }
    .sc-search-filters {
        flex: 0 0 auto;
    }
}
/* --- Search Page: Final Polished Styles --- */
.sc-search-page-wrapper { display: flex; gap: 30px; margin-top: 40px; }
.sc-search-filters { flex: 0 0 300px; }
.sc-search-results { flex: 1; }
.sc-search-filters .sc-dashboard-card { background: none; padding: 0; border: none; box-shadow: none; }
.sc-search-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #e9ecef; }
.sc-search-header h3 { font-size: 1.25rem; margin: 0; }
#sc-search-reset { font-size: 0.8rem; font-weight: 600; color: var(--c-brand-purple); text-decoration: none; }
.sc-search-filters .accordion-item { border: none; margin-bottom: 5px; }
.sc-search-filters .accordion-button { font-size: 1rem; font-weight: 600; padding: 12px 15px; border-radius: 8px !important; background-color: #f8f9fa; color: #555; text-decoration: none; transition: all 0.2s ease-in-out; width: 100%; text-align: left; border: none; box-shadow: none; }
.sc-search-filters .accordion-button:not(.collapsed) { background-color: var(--c-brand-purple); color: #fff; }
.sc-search-filters .accordion-button::after { display: none; }
.sc-search-filters .accordion-collapse { border: none; }
.sc-search-filters .accordion-body { padding: 15px; background: #f8f9fa; border-radius: 0 0 8px 8px; }
.sc-search-filters .accordion-body ul { list-style: none; padding: 0; margin: 0; max-height: 250px; overflow-y: auto; }
.sc-search-filters .accordion-body li label { display: block; padding: 5px 0; }
#sc-game-search-filter { border-radius: 8px; margin-bottom: 10px; }
.sc-game-list-saved { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
/* --- Search Page: Accordion Icon Alignment --- */
.sc-search-filters .accordion-button {
    display: flex;
    align-items: center;
    gap: 12px; /* Adds space between icon and text */
}

.sc-search-filters .accordion-button i {
    width: 20px; /* Ensures consistent alignment */
    text-align: center;
}
/* --- Search & Connection Card Button Alignment Fix --- */

.sc-connection-card .card-content {
    /* Turns the card's content area into a flexible column */
    display: flex;
    flex-direction: column;
    /* Ensures the column takes up the full height of the card */
    height: 100%;
}

.sc-connection-card .sc-connection-primary-game {
    /* New: Reduces the font size for the game title */
    font-size: 1rem; 
    /* New: Adds a minimum height to prevent layout shifts if a user has no primary game */
    min-height: 2.5em; 
    margin-bottom: 15px;
}

.sc-connection-card .sc-connection-actions {
    /* This is the magic rule: it pushes the button to the bottom of the flex container */
    margin-top: auto;
}
/* --- Search Page: Search Limit Tracker --- */
.sc-search-limit-tracker {
    padding: 0 15px 20px 15px; /* Add some spacing */
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
}

.sc-search-limit-tracker p {
    margin: 0;
    font-size: 0.9rem;
    color: #555; /* A more neutral color */
    line-height: 1.5;
}

.sc-search-limit-tracker p i {
    margin-right: 5px;
    color: var(--c-brand-purple);
}

.sc-search-limit-tracker p a {
    font-weight: 600;
    text-decoration: underline;
}
/* --- QoL: Make Dashboard Stat Cards Clickable --- */
.sc-dashboard-card.is-link {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.sc-dashboard-card.is-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* --- Member Hub: Onboarding Tracker --- */
.sc-onboarding-tracker {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.sc-onboarding-tracker h3 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 10px;
}

.sc-onboarding-tracker > p {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 30px auto;
    font-size: 1rem;
    color: #555;
}

.sc-progress-overview {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.sc-progress-overview span {
    font-weight: 600;
    color: var(--c-brand-purple);
    font-size: 0.9rem;
}

.sc-badge-quest-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sc-badge-quest-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.sc-badge-quest-item.is-earned {
    background-color: #f0fdf4; /* Light green */
    border-color: #bbf7d0; /* Soft green */
}

.sc-badge-quest-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.sc-badge-quest-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sc-badge-quest-icon i {
    font-size: 40px;
    color: #22c55e; /* Success green */
}

.sc-badge-quest-details {
    flex-grow: 1;
}

.sc-badge-quest-details strong {
    display: block;
    font-size: 1rem;
}

.sc-badge-quest-details small {
    font-size: 0.85rem;
    color: #555;
}

.sc-badge-quest-item .btn {
    flex-shrink: 0;
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
}
/* --- Login Page (Canvas Template) Styles --- */

/* Target only pages using our new canvas template */
body.page-template-template-canvas {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f8f9fa; /* Add a light fallback color */
}

.canvas-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

/* Style the login widget to match the .sc-dashboard-card style */
.sc-login-widget {
    background-color: var(--c-bg-light); /* Changed to white */
    border: 1px solid var(--c-border-light); /* Added light border */
    box-shadow: 0 4px 12px var(--c-shadow-light); /* Changed to subtle shadow */
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
}

/* Style the form elements for the new light background */
.sc-login-widget .login-form label {
    color: var(--c-text-dark); /* Changed to dark text */
    font-weight: 600;
}

.sc-login-widget .login-form input[type="text"],
.sc-login-widget .login-form input[type="password"] {
    background-color: var(--c-bg-medium); /* Changed to light grey */
    border: 1px solid var(--c-border-light); /* Changed to light border */
    color: var(--c-text-dark); /* Changed to dark text */
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    margin-top: 5px;
}

.sc-login-widget .login-submit input[type="submit"].button {
    width: 100%;
    background-color: var(--c-brand-purple);
    border: none;
    padding: 15px !important;
    font-size: 1.1rem !important;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
}
.sc-login-widget .login-submit input[type="submit"].button:hover {
    background-color: var(--c-brand-purple-dark);
}

.sc-login-widget .login-remember label {
    color: var(--c-text-medium); /* Changed to medium grey text */
}

.sc-login-widget .sc-claim-account-link,
.sc-login-widget .login-lostpassword {
    text-align: center;
    margin-top: 20px;
}

.sc-login-widget .sc-claim-account-link a,
.sc-login-widget .login-lostpassword a {
    color: var(--c-brand-link); /* Changed to primary link color */
    font-size: 0.9rem;
}

/* --- Login Page: Logo Styles --- */
.sc-login-logo {
    text-align: center;
    margin-bottom: 30px;
    /* The logo is now outside the dark canvas container, so we don't need to force a color */
}

.sc-login-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
}
/* --- Claim Account Page Styles --- */
.sc-claim-account-widget {
    background-color: var(--c-bg-light);
    border: 1px solid var(--c-border-light);
    box-shadow: 0 4px 12px var(--c-shadow-light);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    margin: 50px auto;
}

.sc-claim-account-widget h3 {
    text-align: center;
    font-family: var(--font-secondary);
    margin-top: 0;
}

.sc-claim-account-widget p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

/* ===================================================================
 * STREAMERCOLLABS PRICING - CONSOLIDATED CSS
 * Add this to main.css and remove duplicates from additional CSS
 * =================================================================== */

/* ===================================================================
 * 1. PRICING TOGGLE CONTROL
 * =================================================================== */

/* Hide pricing sections on page load to prevent flash */
#monthly-pricing,
#annual-pricing,
#lifetime-pricing {
    display: none;
}
/* Force pricing features padding on homepage */
.sc-pricing-grid-section .elementor-price-table__additional_info {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* Toggle container */
.elementor-widget-html .sc-pricing-toggle-control {
    display: flex;
    position: relative;
    background-color: #f0f2f5;
    border-radius: 50px;
    padding: 5px;
    max-width: 480px;
    margin: 0 auto 50px auto;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

/* Hide radio buttons */
.elementor-widget-html .sc-pricing-toggle-control input[type="radio"] {
    display: none !important;
    appearance: none !important;
}

/* Toggle labels/buttons */
.elementor-widget-html .sc-pricing-toggle-control label {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease-in-out;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
}

/* Moving background slider */
.elementor-widget-html .sc-pricing-toggle-control .toggle-slider-background {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc((100% - 10px) / 3);
    height: calc(100% - 10px);
    background-color: var(--c-brand-purple);
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

/* Active state colors and slider positions */
.elementor-widget-html #sc-toggle-monthly:checked ~ label[for="sc-toggle-monthly"],
.elementor-widget-html #sc-toggle-annually:checked ~ label[for="sc-toggle-annually"],
.elementor-widget-html #sc-toggle-lifetime:checked ~ label[for="sc-toggle-lifetime"] {
    color: #fff;
}

.elementor-widget-html #sc-toggle-monthly:checked ~ .toggle-slider-background {
    transform: translateX(0%);
}

.elementor-widget-html #sc-toggle-annually:checked ~ .toggle-slider-background {
    transform: translateX(100%);
}

.elementor-widget-html #sc-toggle-lifetime:checked ~ .toggle-slider-background {
    transform: translateX(200%);
}

/* Save badge styling */
.elementor-widget-html .sc-pricing-toggle-control .save-badge {
    font-weight: 700 !important;
    color: #f97316; /* Orange by default */
    opacity: 1;
    transition: color 0.3s ease-in-out;
}

/* White save badge when annual is active */
.elementor-widget-html #sc-toggle-annually:checked ~ label[for="sc-toggle-annually"] .save-badge {
    color: #FFFFFF;
    opacity: 0.9;
}

/* ===================================================================
 * 2. PRICING BOXES - UNIFIED STYLING
 * =================================================================== */

/* Target all pricing sections */
[id$="-pricing"] .elementor-price-table,
.sc-pricing-box .elementor-price-table {
    overflow: hidden;
}

/* Equal height pricing boxes */
[id$="-pricing"] .e-con-inner,
[id$="-pricing"] .elementor-container {
    display: flex;
    align-items: stretch;
}

[id$="-pricing"] .elementor-widget-wrap,
[id$="-pricing"] .elementor-widget-container,
[id$="-pricing"] .elementor-price-table,
.sc-pricing-box .elementor-widget-wrap,
.sc-pricing-box .elementor-widget-container,
.sc-pricing-box .elementor-price-table {
    height: 100%;
}

[id$="-pricing"] .elementor-price-table,
.sc-pricing-box .elementor-price-table {
    display: flex;
    flex-direction: column;
}

/* Features section grows to push button to bottom */
[id$="-pricing"] .elementor-price-table__features-list,
[id$="-pricing"] .elementor-price-table__additional_info,
.sc-pricing-box .elementor-price-table__features-list,
.sc-pricing-box .elementor-price-table__additional_info {
    flex-grow: 1;
}

/* Hide default empty features list */
.elementor-price-table__features-list {
    display: none !important;
}

/* Consistent padding for features content */
[id$="-pricing"] .elementor-price-table__additional_info,
.sc-pricing-box .elementor-price-table__additional_info {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* Features text styling */
[id$="-pricing"] .elementor-price-table__additional_info *,
.sc-pricing-box .elementor-price-table__additional_info * {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
}

/* Bold text in features */
[id$="-pricing"] .elementor-price-table__additional_info b,
[id$="-pricing"] .elementor-price-table__additional_info strong,
.sc-pricing-box .elementor-price-table__additional_info b,
.sc-pricing-box .elementor-price-table__additional_info strong {
    font-weight: 700 !important;
}

/* --- UNIFIED: Elementor Pricing Table Button --- */
.elementor-price-table__button {
    display: inline-block;
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center;
    text-decoration: none !important;
    color: var(--c-text-light) !important;
    background-color: var(--c-brand-purple) !important;
    padding: 15px 30px !important;
    border: 2px solid var(--c-brand-purple) !important;
    border-radius: 8px !important;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(120, 118, 255, 0.2);
    margin-top: auto; /* This correctly pushes the button to the bottom */
}

.elementor-price-table__button:hover {
    background-color: var(--c-brand-purple-dark) !important;
    border-color: var(--c-brand-purple-dark) !important;
    color: var(--c-text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 118, 255, 0.3);
}

/* ===================================================================
 * 3. RESPONSIVE DESIGN
 * =================================================================== */

/* Tablet View (768px - 991px) */
@media (max-width: 991px) {
    .sc-pricing-toggle-control label {
        font-size: 0.9rem;
        padding: 10px 8px;
    }

    [id$="-pricing"] .elementor-price-table__heading,
    .sc-pricing-box .elementor-price-table__heading {
        font-size: 1.4rem;
    }

    [id$="-pricing"] .elementor-price-table__price,
    .sc-pricing-box .elementor-price-table__price {
        font-size: 3.2rem;
    }

    [id$="-pricing"] .elementor-price-table__additional_info *,
    .sc-pricing-box .elementor-price-table__additional_info * {
        font-size: 15px !important;
    }

    .elementor-price-table__button {
        padding: 16px 25px !important;
        font-size: 14px !important;
    }
}

/* Mobile View (up to 767px) */
@media (max-width: 767px) {
    /* Toggle adjustments */
    .sc-pricing-toggle-control {
        max-width: 95%;
        padding: 4px;
    }
    
    .sc-pricing-toggle-control label {
        padding: 10px 5px;
        font-size: 0.85rem;
    }

    /* Force vertical stacking */
    [id$="-pricing"] .e-con-inner,
    [id$="-pricing"] .elementor-container {
        flex-direction: column !important;
    }

    /* Full width pricing boxes with spacing */
    [id$="-pricing"] .e-con-inner > .e-con,
    [id$="-pricing"] .elementor-container > .elementor-column {
        width: 100% !important;
        margin-bottom: 30px;
    }

    /* Remove margin from last box */
    [id$="-pricing"] .e-con-inner > .e-con:last-child,
    [id$="-pricing"] .elementor-container > .elementor-column:last-child {
        margin-bottom: 0;
    }

    /* Mobile typography */
    [id$="-pricing"] .elementor-price-table__heading,
    .sc-pricing-box .elementor-price-table__heading {
        font-size: 1.2rem;
    }

    [id$="-pricing"] .elementor-price-table__price,
    .sc-pricing-box .elementor-price-table__price {
        font-size: 2.8rem;
    }

    [id$="-pricing"] .elementor-price-table__subheading,
    .sc-pricing-box .elementor-price-table__subheading {
        font-size: 0.9rem;
    }

    /* Mobile features text */
    [id$="-pricing"] .elementor-price-table__additional_info *,
    .sc-pricing-box .elementor-price-table__additional_info * {
        font-size: 14px !important;
    }

    /* Mobile button adjustments */
    .elementor-price-table__button {
        padding: 14px 20px !important;
        font-size: 13px !important;
        letter-spacing: 0.5px;
    }

    /* Reduce features padding on mobile */
    [id$="-pricing"] .elementor-price-table__additional_info,
    .sc-pricing-box .elementor-price-table__additional_info {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Extra small screens (up to 480px) */
@media (max-width: 480px) {
    .sc-pricing-toggle-control label {
        font-size: 0.8rem;
        padding: 8px 4px;
    }

    [id$="-pricing"] .elementor-price-table__price,
    .sc-pricing-box .elementor-price-table__price {
        font-size: 2.4rem;
    }

    [id$="-pricing"] .elementor-price-table__additional_info *,
    .sc-pricing-box .elementor-price-table__additional_info * {
        font-size: 13px !important;
    }

    .elementor-price-table__button {
        padding: 12px 18px !important;
        font-size: 12px !important;
    }
}
/*
* ===================================================================
* FAQ Section - Final Style Override (v2.8)
* ===================================================================
*/

/* Styles the container for each Q&A pair */
.sc-faq-item {
    border: none;
    margin-bottom: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    border-radius: 8px;
    overflow: hidden; /* Added to ensure inner elements respect the container's radius */
}

/* * This is the key fix. By targeting .sc-faq-question specifically inside
* .sc-faq-section, this rule becomes more powerful than a generic .btn style.
*/
.sc-faq-section .sc-faq-question {
    width: 100%;
    background-color: var(--c-brand-purple) !important;
    color: #fff !important;
    text-align: left;
    padding: 20px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    border: none !important;
    /* This forces the correct border-radius */
    border-radius: 8px !important;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Styles the answer box */
.sc-faq-answer {
    display: none;
    padding: 25px;
    color: #555;
    background-color: #fff;
    border-top: 1px solid var(--c-brand-purple-dark);
}

.sc-faq-answer p:last-child {
    margin-bottom: 0;
}

/* When a question is active (answer is open), square off its bottom corners */
.sc-faq-section .sc-faq-question.active {
    background-color: var(--c-brand-purple-dark) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Rotate the down-arrow icon when the accordion is open */
.sc-faq-section .sc-faq-question.active i {
    transform: rotate(180deg);
}
/*
* ===================================================================
* MyStickyBar & Sticky Header Conflict Fix (Conditional)
* ===================================================================
*/

/* Pushes the sticky header down ONLY when the welcome bar is active */
body.has-mystickybar .elementor-sticky--effects {
    top: 60px !important;
}

/* For logged-in admins, adds space for both ONLY when the welcome bar is active */
body.has-mystickybar.admin-bar .elementor-sticky--effects {
    /* 32px for admin bar + 60px for welcome bar */
    top: 92px !important; 
}
/* --- QoL: Style third-party connection buttons --- */
.connect-buttons-row .pmpro-btn-connect.ets-btn {
    /* These styles will override the plugin's defaults */
    display: inline-block;
    vertical-align: top;
    color: var(--c-text-light) !important;
    background: #5865F2 !important; /* Discord Blurple */
    border: 1px solid transparent !important;
    box-shadow: 0px 2px 20px var(--c-shadow-light) !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    padding: 10px 25px !important;
    line-height: 1;
    font-family: var(--font-primary) !important;
    text-decoration: none !important;
}

.connect-buttons-row .pmpro-btn-connect.ets-btn:hover {
    background: #4a55d2 !important; /* Darker Discord Blurple */
}
.btn.btn--collab, a.btn.btn--collab {
    background-color: #f97316 !important; /* A vibrant, friendly orange */
    border-color: #f97316 !important;
}
.btn.btn--collab:hover, a.btn.btn--collab:hover {
    background-color: #fb923c !important; /* A slightly lighter orange for hover */
    border-color: #fb923c !important;
}
/* --- Collab Scheduler Modal Styles --- */
.swal-invitee-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center; /* Center the content */
}
.swal-invitee-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee; /* Add a subtle border */
}
.swal2-select {
    margin: 1em auto;
    width: 100%;
    padding: .375em .625em;
    font-size: 1.125em;
}
.swal-timezone-notice {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 20px;
}
.swal-collab-details {
    text-align: left;
}
.swal-collab-details hr {
    margin: 15px 0;
}
.swal-participants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.swal-participant {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.swal-participant img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.swal-collab-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
/* in /assets/css/main.css */

/* --- Collab Scheduler Modal UI Fix --- */
.swal2-popup .swal2-input,
.swal2-popup .swal2-select,
.swal2-popup .swal2-textarea {
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* --- Better Messages Custom Styling --- */
.bp-messages-wrap-main .bp-messages-wrap { box-shadow: 0 0 10px #7876ff; } 
.bp-messages-side-threads { background: #7876ff; } 
.bp-messages-wrap .bp-messages-side-threads .threads-list .thread {background: #bebde5;} 
.bp-messages-wrap .chat-header { background: #7876ff; } 
.bp-messages-wrap .chat-header .new-message svg path { fill: #fff; } 
.bp-messages-wrap .chat-header .back svg path, .bp-messages-wrap .chat-header .thread-actions svg path { fill: #fff; } 
.bp-messages-wrap .chat-header .thread-info .thread-info-data { color: #fff; }
span.bm-message-content-text p { font-size: 14px !important;}
/* --- End Better Messages Custom Styling --- */



/* Target the specific Elementor HTML widget structure */
.elementor-widget-html .feature-spotlight-card .feature-overlay {
    position: static !important;
    background: rgba(20, 20, 30, 0.95) !important;
    padding: 25px 20px !important;
    border-top: 1px solid rgba(120, 118, 255, 0.2) !important;
    display: block !important;
}

.elementor-widget-html .feature-spotlight-card .feature-overlay h4 {
    color: #ffffff !important;
    font-size: 22px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    font-family: var(--font-secondary) !important;
    font-weight: 600 !important;
}

.elementor-widget-html .feature-spotlight-card .feature-overlay p {
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-align: center !important;
    font-family: var(--font-primary) !important;
}

/* --- Collab Modal Game Search Styles --- */
.swal-game-search-wrapper {
    position: relative;
    width: 100%;
    margin: 1em auto;
}
#swal-collab-game-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1060; /* Higher than Swal's z-index */
    display: none;
}
#swal-collab-game-results li {
    padding: 10px;
    cursor: pointer;
    text-align: left;
}
#swal-collab-game-results li:hover {
    background: #f0f0f0;
}
/* --- Header Streak Counter --- */
.hdr-rt {
    gap: 15px; /* Adds consistent spacing between items in the right side of the header */
}

.sc-streak-counter {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
}

.sc-streak-counter .fa-fire {
    color: var(--c-pill-streak, #f59e0b);
}
    
/* --- Header Notification Counter --- */
.sc-notification-counter {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sc-notification-counter:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.sc-notification-counter .fa-bell {
    color: var(--c-brand-secondary, #35ceff); /* Bright blue to differentiate from the streak */
}

/* --- Squad Card Polish --- */
.sc-connection-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures the flex container takes up the full card height */
}

.sc-connection-card .sc-connection-name {
    margin-bottom: 5px; /* Reduced margin */
}

.sc-connection-card .sc-connection-primary-game {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0;
    margin-bottom: 15px;
    height: 2.4em; /* Reserve space to prevent layout shift if a user has no game */
    line-height: 1.2em;
    overflow: hidden;
}

.sc-connection-card .sc-connection-actions {
    margin-top: auto; /* Pushes the button container to the bottom */
}

.sc-connection-card .sc-disconnect-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    z-index: 3;
    opacity: 0.5;
    transition: all 0.2s ease-in-out;
}

.sc-connection-card:hover .sc-disconnect-icon {
    opacity: 1;
}

.sc-connection-card .sc-disconnect-icon:hover {
    background-color: #dc3545; /* Red on hover */
    transform: scale(1.1);
}

/* --- Edit Profile Page Spacing Cleanup --- */
.sc-dashboard-content .edit-profile-main .sc-dashboard-card {
    margin-bottom: 20px;
    padding: 25px;
}

/* --- Squad Card Action Buttons Polish --- */
.sc-connection-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* This creates space between the buttons */
}

/* Style for the new Collab button icon */
.sc-connection-actions .btn-collab {
    background: #f8f9fa;
    color: var(--c-brand-purple); /* Brand purple for a primary action */
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 1rem !important;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sc-connection-actions .btn-collab:hover {
    background: var(--c-brand-purple);
    color: #fff;
    border-color: var(--c-brand-purple);
}

/* --- Gravity Forms Dark Mode Confirmation Message (Corrected) --- */

/* Style the main container box */
.gform_confirmation_wrapper .gform_confirmation_message {
    background-color: #2a2a2e !important;
    border: 1px solid #444 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Style ONLY the text inside the box to be light-colored */
.gform_confirmation_wrapper .gform_confirmation_message,
.gform_confirmation_wrapper .gform_confirmation_message p {
    color: #e0e0e0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    /* Resetting styles that were incorrectly applied to the text */
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
/* --- Gravity Form Button Override --- */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
    /* These styles override the .btn base styles for a unique look */
    background: linear-gradient(135deg, var(--c-brand-purple), var(--c-brand-purple-dark)) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto; /* Prevents full-width stretching */
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--c-brand-purple-dark), var(--c-brand-purple)) !important;
    box-shadow: 0 5px 15px rgba(120, 118, 255, 0.4); /* Keep the unique hover effect */
}

/* --- Header Login Button Style --- */
.main-menu .menu-login-button a {
    background-color: var(--c-brand-purple) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    border: 2px solid transparent !important;
    transition: background-color 0.3s ease;
}

.main-menu .menu-login-button a:hover {
    background-color: var(--c-brand-purple-dark) !important;
}

/*
 * ===================================================================
 * PMPro Button Style Override
 * ===================================================================
 */

/* 1. Style the main "Submit and Check Out" button */
.pmpro_btn-submit-checkout {
    display: inline-block !important;
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
    color: var(--c-text-light) !important;
    background-color: var(--c-brand-purple) !important;
    padding: 15px 30px !important;
    border: 2px solid var(--c-brand-purple) !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(120, 118, 255, 0.2) !important;
}

.pmpro_btn-submit-checkout:hover {
    background-color: var(--c-brand-purple-dark) !important;
    border-color: var(--c-brand-purple-dark) !important;
    color: var(--c-text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 118, 255, 0.3) !important;
}

/* 2. Style the secondary "Apply" button as an outline button */
.pmpro_btn-submit-discount-code {
    display: inline-block !important;
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 15px 30px !important;
    border: 2px solid var(--c-brand-purple) !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    /* Outline-specific styles */
    background-color: transparent !important;
    color: var(--c-brand-purple) !important;
}

.pmpro_btn-submit-discount-code:hover {
    background-color: var(--c-brand-purple) !important;
    color: var(--c-text-light) !important;
}

/*
 * ===================================================================
 * AffiliateWP Button Style Override
 * ===================================================================
 */

/*
 * We are targeting any element with the class '.button' ONLY when it is
 * inside the body of a page using our 'affiliate-area.php' template.
 * This prevents our styles from accidentally affecting other ".button"
 * elements elsewhere on the site.
 */
body.page-template-affiliate-area-php .button {
    display: inline-block !important;
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center !important;
    text-decoration: none !important;
    color: var(--c-text-light) !important;
    background-color: var(--c-brand-purple) !important;
    padding: 15px 30px !important;
    border: 2px solid var(--c-brand-purple) !important;
    border-radius: 8px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(120, 118, 255, 0.2) !important;
    /* Resetting some default input styles */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

body.page-template-affiliate-area-php .button:hover {
    background-color: var(--c-brand-purple-dark) !important;
    border-color: var(--c-brand-purple-dark) !important;
    color: var(--c-text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 118, 255, 0.3) !important;
}

/* Reusable Page Hero */
.page-hero-block {
    background: linear-gradient(135deg, #1a1a2e 0%, #141414 100%);
    position: relative;
    overflow: hidden;
}

.page-hero-block h1 {
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.page-hero-block .hero-subtitle {
    color: #cccccc;
    font-size: 18px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero-block h1 {
        font-size: 28px;
    }
}


/* --- Paywall Message Styling --- */
/* (Assuming streamercollabs-premium-box styles are already in main.css) */
/* We just need to ensure it centers nicely in our AJAX container */
#content-hub-grid .streamercollabs-premium-box {
    margin: 40px auto;
}


/*
 * ===================================================================
 * New Home Page Styles (AJAX Version)
 * ===================================================================
 */
.feature-number-native {
  background: var(--c-brand-purple);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 15px auto;
}
@media (max-width: 768px) {
    .feature-cards-native .elementor-column {
        margin-bottom: 25px;
        padding: 20px 15px;
    }
}
.feature-cards-native .elementor-column {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(120, 118, 255, 0.2);
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-cards-native .elementor-column:hover {
    transform: translateY(-5px);
    border-color: rgba(120, 118, 255, 0.4);
    box-shadow: 0 20px 40px rgba(120, 118, 255, 0.15);
}

/*
 * ===================================================================
 * Admin KPI Dashboard Styles (v3 - Final Typography)
 * ===================================================================
 */
.sc-kpi-dashboard h1 {
    font-size: 24px;
    font-weight: 600;
}
.sc-kpi-dashboard-subtitle {
    font-size: 16px;
    color: #555;
    margin-top: -30px;
}
.sc-kpi-refresh-btn {
    float: right;
    margin-top: -45px !important;
}
.sc-kpi-dashboard h2 {
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.sc-kpi-dashboard h2 .dashicons {
    margin-right: 8px;
    color: #555;
}
.sc-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.sc-kpi-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    border: 1px solid #e2e4e7;
    border-top-width: 4px;
}
.sc-kpi-card h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}
.sc-kpi-card .sc-kpi-stat {
    font-size: 36px;
    font-weight: 600; /* BOLD numbers */
    line-height: 1;
    color: #000;
}
.sc-kpi-card .sc-kpi-label {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
    font-weight: 400; /* NORMAL weight */
}
.sc-kpi-card .sc-kpi-sub-stats {
    font-size: 16px;
    font-weight: 400; /* NORMAL weight */
}
.sc-kpi-card .sc-kpi-sub-stats span {
    display: block;
    margin-bottom: 8px;
    color: #555;
}
.sc-kpi-card .sc-kpi-sub-stats span strong {
    font-weight: 600; /* SEMI-BOLD for sub-stat labels */
    color: #111;
}

/* Colors for Stat Card Borders */
.sc-kpi-card.growth { border-top-color: #22c55e; } /* Green */
.sc-kpi-card.engagement { border-top-color: #3b82f6; } /* Blue */
.sc-kpi-card.collab { border-top-color: #f97316; } /* Orange */
.sc-kpi-card.financial { border-top-color: #8b5cf6; } /* Purple */

/* Leaderboard Styles */
.sc-kpi-leaderboards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.sc-kpi-leaderboards .sc-kpi-card h3 small { font-weight: 400; color: #666; }
.sc-kpi-list { list-style: decimal inside; margin: 15px 0 0; padding: 0 0 0 5px; }
.sc-kpi-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; font-weight: 400; color: #333; }
.sc-kpi-list li:last-child { border-bottom: none; }
.sc-kpi-list li .name { font-weight: 500; } /* SEMI-BOLD for names */
.sc-kpi-list li .stat { font-weight: 600; background-color: #f0f1f2; padding: 2px 6px; border-radius: 3px; font-size: 13px; color: #1d2327; }

/*
 * ===================================================================
 * Content Hub Styles (FINAL - Aligned with Official Design Guide)
 * ===================================================================
 */

.content-hub-container {
    background-color: #141414; /* Main content background from guide */
    padding-top: 60px;
    padding-bottom: 60px;
}

/* --- On-Page Category Header --- */
.hub-category-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 80px 20px 60px;
    background: linear-gradient(to bottom, #1a1a2e, #141414); /* Gradient from guide */
    border-radius: 12px;
    border: 1px solid rgba(120, 118, 255, 0.2);
}

.hub-category-title {
    font-family: 'Saira', sans-serif; /* Saira from guide */
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.hub-category-subtitle {
    font-family: 'Poppins', sans-serif; /* Poppins from guide */
    font-size: 18px;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Tab Navigation (Chunky Buttons) --- */
.content-hub-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hub-tab {
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    color: #cccccc;
    text-decoration: none;
    background-color: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(120, 118, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hub-tab:hover {
    background-color: rgba(120, 118, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.hub-tab.active {
    background-color: var(--c-brand-purple);
    border-color: var(--c-brand-purple);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(120, 118, 255, 0.3);
}

/* --- Loading State & Grid --- */
.content-hub-grid {
    position: relative;
    min-height: 400px;
    transition: opacity 0.3s ease;
}

.content-hub-grid.loading {
    opacity: 0.5;
}

.hub-loader {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(120, 118, 255, 0.3);
    border-top-color: var(--c-brand-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

/* --- Post Grid & Cards --- */
.content-hub-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.hub-post-card {
    background: rgba(26, 26, 46, 0.5); /* Card background from guide */
    border: 1px solid rgba(120, 118, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hub-post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(120, 118, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hub-post-card .card-link-wrapper {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hub-post-card .card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #333;
}

.hub-post-card .card-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-color: #1a1a2e;
}

.hub-post-card .card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hub-post-card .card-content {
    padding: 20px;
    flex-grow: 1;
}

.hub-post-card .card-title {
    color: var(--c-text-light);
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}

/* --- Pagination --- */
.hub-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.hub-pagination .page-numbers {
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid rgba(120, 118, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    color: #cccccc;
    transition: all 0.3s ease;
}

.hub-pagination .page-numbers:hover,
.hub-pagination .page-numbers.current {
    background-color: var(--c-brand-purple);
    border-color: var(--c-brand-purple);
    color: #ffffff;
}

/* --- Paywall Message & Error Styling --- */
#content-hub-grid .streamercollabs-premium-box {
    margin: 40px auto;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(120, 118, 255, 0.3);
}
#content-hub-grid .streamercollabs-premium-box h2,
#content-hub-grid .streamercollabs-premium-box p {
    color: #ffffff;
}
#content-hub-grid .streamercollabs-premium-button-secondary {
    background-color: rgba(255, 255, 255, 0.1);
}
#content-hub-grid .streamercollabs-premium-button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.hub-error p {
    text-align: center;
    color: #cccccc;
    padding: 40px;
}

/*
 * ===================================================================
 * Member Hub: Achievement Vault Styles
 * ===================================================================
 */
.achievement-vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.badge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.badge-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge-card-image {
    max-width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    display: block;
}

.badge-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.badge-card-description {
    font-size: 0.85rem;
    color: #a0aec0; /* A soft grey for the description */
    line-height: 1.5;
    margin: 0;
}
/* --- Achievement Vault Group Titles --- */
.badge-group-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-text-medium);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-vault-grid + .badge-group-title {
    margin-top: 40px;
}

/* Use a smaller title inside the badge cards */
.badge-card-title {
    font-size: 0.9rem; /* was h3, now h4 */
}

/*
 * ===================================================================
 * Badge Celebration Popup Styles
 * ===================================================================
 */
.badge-celebration-header {
    font-family: var(--font-secondary) !important;
    color: var(--c-brand-purple) !important;
}
.badge-celebration-popup {
    text-align: center;
}
.badge-celebration-image {
    width: 100px;
    height: 100px;
    margin: 10px auto 20px auto;
}
.badge-celebration-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}
.badge-celebration-desc {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}
/*
 * ===================================================================
 * Epic Achievement Vault Styles
 * ===================================================================
 */
.sc-vault-header {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}
.sc-vault-header h3 {
    margin: 0 0 15px 0;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
}
.sc-vault-progress-bar {
    width: 100%;
    height: 16px;
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}
.sc-vault-progress-bar-inner {
    height: 100%;
    background-color: var(--c-brand-purple);
    border-radius: 8px;
    transition: width 0.5s ease-in-out;
}
.badge-group-header {
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.badge-group-header .badge-group-title {
    margin: 0;
    font-size: 1.5rem;
}
.badge-group-header .badge-group-progress {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
}
.achievement-vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.badge-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.badge-card-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
    object-fit: contain;
}
.badge-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}
.badge-card-description {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1; /* Pushes the earned date down */
}
.badge-card-earned-date {
    font-size: 0.75rem;
    color: #adb5bd;
    margin-top: 15px;
    font-style: italic;
}
/* Styles for unearned/locked badges */
.badge-card.is-locked {
    background-color: #f8f9fa;
    position: relative;
    cursor: help;
}
.badge-card.is-locked .badge-card-image {
    filter: grayscale(100%) opacity(0.4);
}
.badge-card.is-locked .badge-card-title {
    color: #adb5bd;
}
.badge-card.is-locked .badge-card-description {
    color: #ced4da;
}

/* ===================================================================
 * What is StreamerCollabs Section
 * ================================================================ */

.sc-what-is-section {
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
    background: var(--c-bg-dark-alt);
}

.sc-what-is-section h2 {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 36px;
    font-weight: 700;
    color: var(--c-text-light);
    margin-bottom: 20px;
}

.sc-what-is-section p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-primary);
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
}

.sc-what-is-section p + p {
    margin-top: 20px;
}

.sc-what-is-section p strong {
    color: var(--c-brand-secondary);
    font-weight: 600;
}

/* Small decorative characters */
.sc-what-is-deco {
    position: absolute;
    width: 80px;
    opacity: 0.3;
    pointer-events: none;
}

.sc-what-is-deco-left {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.sc-what-is-deco-right {
    right: 5%;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sc-what-is-section {
        padding: 40px 20px;
    }
    
    .sc-what-is-section h2 {
        font-size: 28px;
    }
    
    .sc-what-is-section p {
        font-size: 15px;
    }
    
    .sc-what-is-deco {
        display: none;
    }
}

@media (max-width: 480px) {
    .sc-what-is-section h2 {
        font-size: 24px;
    }
    
    .sc-what-is-section p {
        font-size: 14px;
    }
}

/* ===================================================================
 * What is StreamerCollabs - Weemy Character Animation
 * ================================================================ */

/* Character container */
.sc-what-is-weemy {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 2;
}

.sc-what-is-weemy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(120, 118, 255, 0.3));
    animation: curiosSway 5s ease-in-out infinite;
}

/* Curious Sway Animation - Weemy looks around like he's exploring */
@keyframes curiosSway {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        filter: drop-shadow(0 10px 20px rgba(120, 118, 255, 0.3));
    }
    25% {
        transform: translateX(-5px) translateY(-3px) rotate(-3deg);
        filter: drop-shadow(0 12px 24px rgba(53, 206, 255, 0.4));
    }
    50% {
        transform: translateX(0) translateY(-5px) rotate(0deg);
        filter: drop-shadow(0 15px 28px rgba(120, 118, 255, 0.5));
    }
    75% {
        transform: translateX(5px) translateY(-3px) rotate(3deg);
        filter: drop-shadow(0 12px 24px rgba(53, 206, 255, 0.4));
    }
}

/* Add a subtle pulsing glow behind Weemy */
.sc-what-is-weemy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(120, 118, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Left side variation - if you want Weemy on the left instead */
.sc-what-is-weemy-left {
    right: auto;
    left: 5%;
}

.sc-what-is-weemy-left img {
    transform: scaleX(-1); /* Flip to face the content */
}

/* Responsive - Hide on smaller screens to avoid clutter */
@media (max-width: 1024px) {
    .sc-what-is-weemy {
        width: 150px;
        height: 150px;
    }
    
    .sc-what-is-weemy::before {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .sc-what-is-weemy {
        display: none;
    }
}

/*
 * ===================================================================
 * Header Button Consistency
 * ===================================================================
 */

/* Style the logged-out Pricing button to match other CTA buttons */
.main-menu .menu-pricing-button a {
    background-color: var(--c-brand-purple) !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    border: 2px solid transparent !important;
    transition: background-color 0.3s ease;
}

.main-menu .menu-pricing-button a:hover {
    background-color: var(--c-brand-purple-dark) !important;
    color: white !important;
}

/* ===================================================================
 * Homepage Pricing Plan Features - Size Adjustments
 * ================================================================ */

.page-id-20 .elementor-price-table__additional_info {
    font-size: 15px;
    line-height: 1.7;
}

.page-id-20 .elementor-price-table__additional_info p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333333;
    font-family: var(--font-primary);
}

.page-id-20 .elementor-price-table__additional_info p:first-child {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--c-text-dark);
}

.page-id-20 .elementor-price-table__additional_info p strong,
.page-id-20 .elementor-price-table__additional_info p b {
    color: var(--c-brand-purple);
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .page-id-20 .elementor-price-table__additional_info {
        font-size: 14px;
    }
    
    .page-id-20 .elementor-price-table__additional_info p {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .page-id-20 .elementor-price-table__additional_info p:first-child {
        font-size: 15px;
    }
}

/* ===================================================================
 * StreamerCollabs Login Page Styling
 * ================================================================ */

/* Login page section */
.sc-login-page-section {
    position: relative;
    overflow: hidden;
}

/* Floating background shapes */
.sc-login-page-section .floating-shape {
    opacity: 0.08;
    animation: floatShape 8s ease-in-out infinite;
    pointer-events: none;
    position: absolute !important;
    z-index: 1 !important;
}

/* Left column - Form container */
.sc-login-form-column {
    position: relative;
    z-index: 2;
}

/* Login form wrapper styling */
.sc-login-form-column form,
.sc-login-form-column .login-form,
.sc-login-form-column .gform_wrapper {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(120, 118, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    margin: 0 auto;
}

/* Form headings */
.sc-login-form-column h2,
.sc-login-form-column h3,
.sc-login-form-column .gform_title {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.sc-login-form-column .gform_description {
    text-align: center;
    color: var(--c-text-medium);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Form labels */
.sc-login-form-column label,
.sc-login-form-column .gfield_label {
    color: var(--c-text-dark);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Input fields */
.sc-login-form-column input[type="text"],
.sc-login-form-column input[type="password"],
.sc-login-form-column input[type="email"] {
    width: 100%;
    background: var(--c-bg-light);
    border: 2px solid var(--c-border-medium);
    border-radius: 10px;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--c-text-dark);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.sc-login-form-column input[type="text"]:focus,
.sc-login-form-column input[type="password"]:focus,
.sc-login-form-column input[type="email"]:focus {
    border-color: var(--c-brand-purple);
    outline: none;
    box-shadow: 0 0 0 4px rgba(120, 118, 255, 0.15);
    background: var(--c-bg-light);
}

/* Placeholder text */
.sc-login-form-column input::placeholder {
    color: #999;
}

/* Submit button */
.sc-login-form-column button[type="submit"],
.sc-login-form-column input[type="submit"],
.sc-login-form-column .gform_button {
    width: 100%;
    background: linear-gradient(135deg, var(--c-brand-purple), var(--c-brand-purple-dark));
    border: none;
    border-radius: 10px;
    padding: 16px 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    color: var(--c-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 118, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sc-login-form-column button[type="submit"]:hover,
.sc-login-form-column input[type="submit"]:hover,
.sc-login-form-column .gform_button:hover {
    background: linear-gradient(135deg, var(--c-brand-purple-dark), var(--c-brand-purple));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 118, 255, 0.4);
}

/* Links (Forgot Password, Register, etc.) */
.sc-login-form-column a {
    color: var(--c-brand-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sc-login-form-column a:hover {
    color: var(--c-brand-purple-dark);
    text-decoration: underline;
}

/* Remember me checkbox */
.sc-login-form-column input[type="checkbox"] {
    accent-color: var(--c-brand-purple);
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.sc-login-form-column .remember-me,
.sc-login-form-column .rememberme {
    display: flex;
    align-items: center;
    margin: 15px 0;
    font-size: 14px;
}

/* Bottom links container */
.sc-login-form-column .login-links,
.sc-login-form-column .form-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--c-border-light);
    font-size: 14px;
}

/* Error messages */
.sc-login-form-column .error,
.sc-login-form-column .gfield_error,
.sc-login-form-column .login-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    color: var(--c-text-dark);
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Success messages */
.sc-login-form-column .success,
.sc-login-form-column .message {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid var(--c-online);
    border-radius: 8px;
    color: var(--c-text-dark);
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Right column - Character/Branding */
.login-page-weemy img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(120, 118, 255, 0.4));
    animation: loginFloat 5s ease-in-out infinite;
}

@keyframes loginFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Text in right column */
.sc-login-page-section .elementor-text-editor strong {
    color: var(--c-brand-secondary);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sc-login-form-column form,
    .sc-login-form-column .login-form,
    .sc-login-form-column .gform_wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .sc-login-form-column form,
    .sc-login-form-column .login-form,
    .sc-login-form-column .gform_wrapper {
        padding: 30px 25px;
    }
    
    .sc-login-form-column h2,
    .sc-login-form-column h3,
    .sc-login-form-column .gform_title {
        font-size: 24px;
    }
    
    .login-page-weemy img {
        max-width: 220px;
    }
    
    .sc-login-form-column input[type="text"],
    .sc-login-form-column input[type="password"],
    .sc-login-form-column input[type="email"] {
        padding: 12px 15px;
        font-size: 16px; /* Prevents iOS zoom */
    }
}

@media (max-width: 480px) {
    .sc-login-form-column form,
    .sc-login-form-column .login-form,
    .sc-login-form-column .gform_wrapper {
        padding: 25px 20px;
        border-radius: 15px;
    }
}

/* Loading state (optional) */
.sc-login-form-column .loading button[type="submit"],
.sc-login-form-column .loading input[type="submit"] {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.sc-login-form-column .loading button[type="submit"]::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 20px;
    margin-top: -8px;
    border: 2px solid var(--c-text-light);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}
/*
 * ===================================================================
 * Login Page Style Overhaul (to match Gravity Forms aesthetic)
 * ===================================================================
 */

/* Main login box */
.sc-login-widget {
    background: rgba(26, 26, 46, 0.85); /* Dark, semi-transparent background */
    border: 1px solid rgba(120, 118, 255, 0.3); /* Purple border */
    backdrop-filter: blur(10px); /* Frosted glass effect for browsers that support it */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Form labels */
#sc-loginform label {
    color: #cccccc; /* Lighter text for dark background */
}

/* Input fields (username/password) */
#sc-loginform input[type="text"],
#sc-loginform input[type="password"] {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(120, 118, 255, 0.2);
    color: #ffffff;
}
#sc-loginform input[type="text"]:focus,
#sc-loginform input[type="password"]:focus {
    border-color: var(--c-brand-purple);
    box-shadow: 0 0 0 2px rgba(120, 118, 255, 0.3);
}

/* "Remember Me" checkbox and text */
#sc-loginform .login-remember label {
    color: #cccccc;
}

/* Login Button - Apply Gravity Forms style */
#sc-loginform .login-submit input[type="submit"].button {
    background: linear-gradient(135deg, var(--c-brand-purple), var(--c-brand-purple-dark)) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(120, 118, 255, 0.2);
    border: none !important;
}

#sc-loginform .login-submit input[type="submit"].button:hover {
    background: linear-gradient(135deg, var(--c-brand-purple-dark), var(--c-brand-purple)) !important;
    box-shadow: 0 6px 20px rgba(120, 118, 255, 0.4);
}

/* "Claim Account" and "Lost Password" links */
.sc-login-widget .sc-claim-account-link a,
.sc-login-widget .login-lostpassword a {
    color: var(--c-brand-secondary); /* A brighter link color for dark backgrounds */
    transition: color 0.3s ease;
}

.sc-login-widget .sc-claim-account-link a:hover,
.sc-login-widget .login-lostpassword a:hover {
    color: #ffffff;
}
/* Target all paragraph tags and the 'Remember Me' label inside the login widget */
.sc-login-widget p,
#sc-loginform .login-remember label {
    color: #cccccc; /* A light grey for readability on dark backgrounds */
}
/*
 * ===================================================================
 * Login Page Style Overhaul (v5 - Final Form Fix)
 * ===================================================================
 */

/* Force the dark background on the main widget */
.page-template-template-canvas .sc-login-widget {
    background: rgba(26, 26, 46, 0.9) !important;
    border: 1px solid rgba(120, 118, 255, 0.3) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

/* NEW: Make the default WP form background transparent */
#sc-loginform {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Force all text elements inside the widget to be light-colored */
.sc-login-widget,
.sc-login-widget p,
#sc-loginform label {
    color: #cccccc !important;
}

/* Force styles for input fields */
#sc-loginform .input {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(120, 118, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    width: 100%;
    box-shadow: none !important;
}

/* Force styles for the main Login button */
#sc-loginform #wp-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--c-brand-purple), var(--c-brand-purple-dark)) !important;
    font-size: 1rem !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px !important;
    height: auto !important;
}

/* Container for the links below the form */
.sc-login-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(120, 118, 255, 0.2);
    text-align: center;
}
.sc-login-links p {
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
}
.sc-login-links a {
    color: var(--c-brand-secondary) !important;
    font-weight: 500;
}
.sc-login-links a:hover {
    color: #fff !important;
}

/*
 * ===================================================================
 * Login Page - Error & Message Styling (v3 - Catch-All for Plugins)
 * ===================================================================
 */

/*
 * This is a more general rule that targets any message on the login page,
 * including those added by security plugins like Login Lockdown.
 */
.login #login_error,
.login .message {
    border-radius: 8px !important;
    border-left-width: 8px !important;
    padding: 15px 20px !important;
    margin: 0 auto 20px auto !important; /* Center and add space below */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}

/* Style for error messages (e.g., wrong password, lockdown) */
.login #login_error {
    border-left-color: #dc3545 !important; /* Red */
    background: #fff5f5 !important;
    color: #c53030 !important;
}
.login #login_error a {
    color: #c53030 !important;
    font-weight: bold;
}

/* Style for success/info messages (e.g., password reset email sent) */
.login .message {
    border-left-color: #28a745 !important; /* Green */
    background: #f0fff4 !important;
    color: #1a7431 !important;
}

/*
 * ===================================================================
 * Google reCAPTCHA Badge Styling
 * ===================================================================
 */

/*
 * This rule forces the reCAPTCHA badge to appear on top of other elements.
 * A high z-index is necessary to ensure it's not hidden by other positioned 
 * elements on the page, like footers or modals.
 */
.grecaptcha-badge {
    z-index: 9999 !important; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important; /* Add a subtle shadow to make it pop */
}

/*
 * ===================================================================
 * Dashboard Progress Bar Color Fix
 * ===================================================================
 */

/* Add a color for the new 'Collabs' progress bar */
.sc-dashboard-card .sc-progress-bar--collabs .sc-progress-bar-inner {
    background-color: #f97316; /* A vibrant orange */
}

/* Add a color for the new 'Referrals' progress bar */
.sc-dashboard-card .sc-progress-bar--referrals .sc-progress-bar-inner {
    background-color: #16a34a; /* A strong green */
}



/*
 * ===================================================================
 * Member Hub Responsive Fixes
 * ===================================================================
 */

@media (max-width: 767px) {

    /* --- 1. Makes the Connections Tab Bar Horizontally Scrollable --- */
    #connections-header .sc-sub-nav {
        overflow-x: auto;         /* Enables horizontal scrolling */
        white-space: nowrap;      /* Prevents tabs from wrapping to a new line */
        -webkit-overflow-scrolling: touch; /* Provides a smooth, native-like scrolling feel on iOS */
        padding-bottom: 10px;     /* Adds a little space so the scrollbar isn't cramped */
        margin-bottom: -11px;     /* Hides the scrollbar visually by pushing it out of view */
    }

    /* Hide the scrollbar for a cleaner look */
    #connections-header .sc-sub-nav::-webkit-scrollbar {
        display: none; /* Hides scrollbar on Chrome, Safari, etc. */
    }
    #connections-header .sc-sub-nav {
        scrollbar-width: none; /* Hides scrollbar on Firefox */
    }


    /* --- 2. Adjusts the Connection Card Grid for Mobile --- */
    .sc-connection-grid {
        /* Reduce the minimum card size to allow for a two-column layout */
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px; /* Slightly reduce the gap between cards */
    }

}
/*
 * ===================================================================
 * Member Hub Responsive Fixes - Achievement Vault
 * ===================================================================
 */

@media (max-width: 767px) {

    .achievement-vault-grid {
        /* Reduce the minimum card size to allow for two columns */
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px; /* Slightly reduce the gap between cards */
    }

    .badge-card {
        padding: 15px; /* Make the padding inside the card a bit smaller */
    }

    .badge-card-title {
        font-size: 0.9rem; /* Slightly smaller title */
    }

    .badge-card-description {
        font-size: 0.8rem; /* Slightly smaller description */
    }
}
/*
 * ===================================================================
 * Member Hub Responsive Fixes - Horizontal Navigation
 * ===================================================================
 */

@media (max-width: 991px) {
    /* Transform the sidebar into a simple container for the nav */
    .sc-dashboard-sidebar {
        flex-basis: auto;
        padding: 0;
        background-color: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        /* Add a border to the bottom to separate it from the content */
        border-bottom: 1px solid #e9ecef;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    /* Make the navigation list itself the scrollable area */
    .sc-dashboard-nav {
        overflow-x: auto;         /* Enables horizontal scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    /* Hide the scrollbar for a clean look */
    .sc-dashboard-nav::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    .sc-dashboard-nav {
        scrollbar-width: none; /* Firefox */
    }

    /* Convert the vertical list into a horizontal row */
    .sc-dashboard-nav ul {
        display: flex;
        flex-direction: row;
        white-space: nowrap; /* Prevent buttons from wrapping */
        padding: 5px; /* Add some space so shadows aren't cut off */
    }
    
    .sc-dashboard-nav li {
        margin-right: 10px; /* Space between buttons */
    }
    .sc-dashboard-nav li:last-child {
        margin-right: 0;
    }

    /* Style the links like clean, tappable buttons */
    .sc-dashboard-nav a {
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        flex-shrink: 0; /* Prevent buttons from shrinking */
    }

    .sc-dashboard-nav a.active {
        border-color: var(--c-brand-purple);
    }
    
    /* Hide the redundant user info block on mobile */
    .sc-sidebar-user-info {
        display: none;
    }
}
/*
 * ===================================================================
 * Member Hub Responsive Fixes - Overview Dashboard Grid
 * ===================================================================
 */

@media (max-width: 767px) {
    /* Targets the grid on the main dashboard view */
    .sc-dashboard-grid {
        /* On mobile, force a 2-column grid instead of a single column */
        grid-template-columns: repeat(2, 1fr);
    }
}
/*
 * ===================================================================
 * Content Hub Responsive Fix
 * ===================================================================
 */

@media (max-width: 767px) {
    .content-hub-post-grid {
        /* On mobile, use a smaller minimum width for cards to allow 2 columns */
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .hub-post-card .card-title {
        font-size: 1rem; /* Slightly reduce title size for smaller cards */
    }
}
/*
 * ===================================================================
 * Content Hub Responsive Fix - Category Tabs
 * ===================================================================
 */
@media (max-width: 480px) {
    .content-hub-tabs .hub-tab {
        /* On small screens, force buttons to take up nearly half the width */
        /* This creates a 2x2 grid */
        flex-basis: calc(50% - 10px);
        flex-grow: 1;
    }
}

/* --- Collab Modal Game Search Styles --- */
.swal-game-search-wrapper {
    position: relative;
    width: 100%;
    margin: 1em auto;
}
#swal-collab-game-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1060; /* Higher than Swal's z-index */
    display: none;
}
#swal-collab-game-results li {
    padding: 10px;
    cursor: pointer;
    text-align: left;
}
#swal-collab-game-results li:hover {
    background: #f0f0f0;
}
/*
 * ===================================================================
 * Member Hub Dark Theme (Comprehensive)
 * ===================================================================
 */

/* This targets the body class unique to the Member Hub page template */
body.page-template-page-member-hub-php {
    background-color: #141414; /* Dark background for the whole page */
}

/* --- Main Layout & Sidebar --- */
.page-template-page-member-hub-php .sc-dashboard-sidebar {
    background-color: #1a1a2e; /* Darker sidebar */
    border: 1px solid rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .sc-sidebar-user-info {
    border-bottom-color: rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .sc-sidebar-username {
    color: #e0e0e0;
}

/* --- Sidebar Navigation --- */
.page-template-page-member-hub-php .sc-dashboard-nav a {
    color: #a0aec0; /* Lighter grey for inactive links */
}
.page-template-page-member-hub-php .sc-dashboard-nav a:hover {
    background-color: rgba(120, 118, 255, 0.1);
    color: #ffffff;
}
.page-template-page-member-hub-php .sc-dashboard-nav a.active {
    background-color: var(--c-brand-purple);
    color: #ffffff;
}

/* --- Main Content Area --- */
.page-template-page-member-hub-php .sc-dashboard-content h2 {
    color: #ffffff;
}
.page-template-page-member-hub-php .sc-dashboard-content > p {
    color: #a0aec0;
}

/* --- Dashboard Cards --- */
.page-template-page-member-hub-php .sc-dashboard-card {
    background-color: #1a1a2e;
    border-color: rgba(120, 118, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.page-template-page-member-hub-php .sc-dashboard-card h3,
.page-template-page-member-hub-php .sc-dashboard-card .sc-stat-level,
.page-template-page-member-hub-php .sc-dashboard-card .sc-progress-details strong,
.page-template-page-member-hub-php .sc-dashboard-card .sc-progress-count {
    color: #e0e0e0;
}
.page-template-page-member-hub-php .sc-dashboard-card p,
.page-template-page-member-hub-php .sc-dashboard-card .sc-progress-details small {
    color: #a0aec0;
}

/* --- Progress Bars --- */
.page-template-page-member-hub-php .sc-dashboard-card .sc-progress-bar {
    background-color: rgba(0,0,0,0.3);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

/* --- Connections Tab --- */
.page-template-page-member-hub-php .sc-dashboard-header {
    border-bottom-color: rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .sc-sub-nav a {
    color: #a0aec0;
}
.page-template-page-member-hub-php .sc-sub-nav a:hover {
    color: #ffffff;
}
.page-template-page-member-hub-php .sc-sub-nav a.active {
    color: var(--c-brand-purple);
    border-bottom-color: var(--c-brand-purple);
}

/* --- Connection Cards --- */
.page-template-page-member-hub-php .sc-connection-card {
    background-color: #1a1a2e;
    border-color: rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .sc-connection-name {
    color: #e0e0e0;
}

/* --- Request Lists (Incoming/Outgoing) --- */
.page-template-page-member-hub-php .sc-request-list {
    border-color: rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .sc-request-list li {
    border-bottom-color: rgba(120, 118, 255, 0.2);
    color: #a0aec0;
}
.page-template-page-member-hub-php .sc-request-list li a {
    color: var(--c-brand-link);
}
.page-template-page-member-hub-php .sc-request-actions .btn-decline,
.page-template-page-member-hub-php .sc-request-actions .btn-cancel,
.page-template-page-member-hub-php .sc-request-actions .btn-resend {
    background-color: rgba(0,0,0,0.3);
    color: #a0aec0;
    border-color: rgba(120, 118, 255, 0.2);
}

/* --- Edit Profile Form --- */
.page-template-page-member-hub-php .edit-profile-main .form-holder label {
    color: #e0e0e0 !important;
}
.page-template-page-member-hub-php .edit-profile-main .form-control {
    background: rgba(0,0,0,0.3);
    border-color: rgba(120, 118, 255, 0.2);
    color: #ffffff;
}
.page-template-page-member-hub-php .profile-checkbox ul li {
    color: #a0aec0;
}

/* --- Empty State / Upgrade Prompt --- */
.page-template-page-member-hub-php .sc-empty-state h4,
.page-template-page-member-hub-php .sc-upgrade-cta-card h3 {
    color: #ffffff;
}
.page-template-page-member-hub-php .sc-empty-state p,
.page-template-page-member-hub-php .sc-upgrade-cta-card p {
    color: #a0aec0;
}

/* --- Responsive Fix for Mobile Sidebar --- */
@media (max-width: 991px) {
    .page-template-page-member-hub-php .sc-dashboard-sidebar {
        border-bottom-color: rgba(120, 118, 255, 0.2);
    }
    .page-template-page-member-hub-php .sc-dashboard-nav a {
        background-color: #1a1a2e;
        border-color: rgba(120, 118, 255, 0.2);
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
}

/*
 * ===================================================================
 * Member Hub Dark Theme POLISH (Fixes for remaining elements)
 * ===================================================================
 */

/* 1. General Titles & Descriptions */
.page-template-page-member-hub-php .sc-dashboard-content h2,
.page-template-page-member-hub-php .sc-dashboard-content h3,
.page-template-page-member-hub-php .sc-tab-description {
    color: #ffffff !important;
}
.page-template-page-member-hub-php .sc-dashboard-content p {
    color: #a0aec0 !important;
}

/* 2. Activity Center (Notification List) */
.page-template-page-member-hub-php .sc-notification-header h3 {
     color: #e0e0e0;
}
.page-template-page-member-hub-php .sc-notification-item {
    background-color: #1a1a2e;
    color: #a0aec0;
}
.page-template-page-member-hub-php .sc-notification-item.is-unread {
    background-color: rgba(120, 118, 255, 0.1);
}
.page-template-page-member-hub-php .sc-notification-message {
    color: #e0e0e0;
}
.page-template-page-member-hub-php .sc-notification-item:not(.is-empty):hover {
    background-color: rgba(120, 118, 255, 0.05);
}

/* 3. Account Settings */
.page-template-page-member-hub-php #sc-password-change-form label,
.page-template-page-member-hub-php #sc-notification-settings-form label {
    color: #e0e0e0 !important;
}

/* 4. Achievement Vault */
.page-template-page-member-hub-php .sc-vault-header,
.page-template-page-member-hub-php .badge-card {
    background-color: #1a1a2e;
    border-color: rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .sc-vault-header h3,
.page-template-page-member-hub-php .badge-card-title {
    color: #e0e0e0;
}
.page-template-page-member-hub-php .badge-card-description {
    color: #a0aec0;
}
.page-template-page-member-hub-php .badge-group-header {
    border-bottom-color: rgba(120, 118, 255, 0.2);
}
.page-template-page-member-hub-php .badge-group-title {
    color: #ffffff;
}

/* 5. Collab Central (Calendar) */
.page-template-page-member-hub-php .fc-timegrid-slot-label,
.page-template-page-member-hub-php .fc-col-header-cell-cushion {
    color: #a0aec0 !important;
}

/* FIX: Collab Central "All-day" text */
.page-template-page-member-hub-php .fc-timegrid-axis-cushion {
    color: #e0e0e0 !important;
}

.page-template-page-member-hub-php ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #a0aec0 !important;
}
.page-template-page-member-hub-php ::-moz-placeholder { /* Firefox 19+ */
  color: #a0aec0 !important;
}
.page-template-page-member-hub-php :-ms-input-placeholder { /* IE 10+ */
  color: #a0aec0 !important;
}
.page-template-page-member-hub-php :-moz-placeholder { /* Firefox 18- */
  color: #a0aec0 !important;
}

/* 6. Connections (All Conversations) */
.page-template-page-member-hub-php .sc-chat-iframe {
    background-color: #1a1a2e; /* Gives it a dark background before content loads */
}

/* 7. Edit Profile (Final Label Fixes) */
.page-template-page-member-hub-php .edit-profile-main label {
    color: #e0e0e0 !important;
}

/* --- Game Search Results v2 (IGDB) --- */

.game-search-name {
    font-weight: 500;
}

#sc-game-list-saved .saved-game-item,
#swal-collab-games-saved .saved-game-item {
    display: inline-flex;
    align-items: center;
    background-color: var(--c-brand-purple);
    color: white;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 14px;
    margin: 5px;
}
#swal-collab-games-saved .saved-game-item .remove-game {
    background: var(--c-brand-purple-dark);
    border: none;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
}
/*
* ===================================================================
* Member Hub: Edit Profile Dark Theme Fix (Specificity Override)
* ===================================================================
*/

/* This rule targets ALL labels within the edit profile form, ONLY when on the dark theme Member Hub page. */
body.page-template-page-member-hub-php .sc-dashboard-content .edit-profile-main .sc-dashboard-card .form-holder label {
    color: #e0e0e0 !important; /* A light grey for readability */
}

/* This rule specifically targets the game names in the saved list. */
body.page-template-page-member-hub-php .sc-dashboard-content .saved-game-item span {
    color: #ffffff !important; /* Pure white on the purple background */
}

/* This rule styles the game search results dropdown for the dark theme. */
body.page-template-page-member-hub-php #sc-game-list-results {
    background-color: #2a2a2e;
    border-color: rgba(120, 118, 255, 0.3);
}
body.page-template-page-member-hub-php #sc-game-list-results li {
    color: #e0e0e0;
    border-bottom: 1px solid rgba(120, 118, 255, 0.1);
}
body.page-template-page-member-hub-php #sc-game-list-results li:hover {
    background-color: rgba(120, 118, 255, 0.1);
    
}

/*
 * ===================================================================
 * Member Hub: Edit Profile Dark Theme Fix (v4 - Final Specificity)
 * ===================================================================
 */

/* This rule set targets all problematic labels with highly specific selectors. */
body.page-template-page-member-hub-php label[for="sc-game-search"],
body.page-template-page-member-hub-php .profile-checkbox .form-holder > label, /* Targets Personality, Focus, Platform */
body.page-template-page-member-hub-php .profile-checkbox ul li label, /* Targets individual checkbox text */
body.page-template-page-member-hub-php .particle_section label {
    color: #e0e0e0 !important;
}

/* This rule specifically targets the game names in the saved list. */
body.page-template-page-member-hub-php .saved-game-item span {
    color: #ffffff !important;
}

/* This rule styles the game search results dropdown for the dark theme. */
body.page-template-page-member-hub-php #sc-game-list-results {
    background-color: #2a2a2e;
    border-color: rgba(120, 118, 255, 0.3);
}
body.page-template-page-member-hub-php #sc-game-list-results li {
    color: #e0e0e0;
    border-bottom: 1px solid rgba(120, 118, 255, 0.1);
}
body.page-template-page-member-hub-php #sc-game-list-results li:hover {
    background-color: rgba(120, 118, 255, 0.1);
}


/*
 * ===================================================================
 * Canvas Template - Fluid CSS Background Override
 * ===================================================================
 */
body.page-template-template-canvas {
    background-image: none !important; /* Remove the old image */
    background: linear-gradient(135deg, #1a1a2e 0%, #141414 100%) !important; /* Apply the new gradient */
    background-attachment: fixed !important; /* Keeps the gradient in place */
}
/*
 * = '==================================================================
 * Bling Preview Box Style Fix
 * ===================================================================
 */
.particle_sample {
    background-color: #1a1a2e; /* Dark background to see particles */
    border: 1px solid rgba(120, 118, 255, 0.2);
    border-radius: 8px;
    min-height: 200px; /* Give it a defined height */
    position: relative; /* Needed for particles.js to attach correctly */
}

/*
 * ===================================================================
 * Bling Preview Box Style Fix (v2 - High Specificity)
 * ===================================================================
 */
body.page-template-page-member-hub-php .particle_sample {
    background-color: #1a1a2e !important; /* The dark color of the profile cards */
    border: 1px solid rgba(120, 118, 255, 0.2) !important;
    border-radius: 8px !important;
    min-height: 200px !important;
    position: relative !important; /* Needed for particles.js */
    margin-top: 10px !important; /* Add some space above the box */
}

/*
 * ===================================================================
 * PMPro Pages - Global Dark Theme (v4 - Final Polish)
 * ===================================================================
 */

/* 1. Set the dark background for all PMPro pages */
body.pmpro-account,
body.pmpro-billing,
body.pmpro-invoice,
body.pmpro-invoices,
body.pmpro-cancel,
body.pmpro-confirmation {
    background-color: #141414 !important;
}

/* 2. Style the main content cards (.pmpro_card) */
body[class*="pmpro-"] .pmpro_card {
    background-color: #1a1a2e;
    border: 1px solid rgba(120, 118, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* 3. Style ALL headings and strong text */
body[class*="pmpro-"] h1,
body[class*="pmpro-"] .pmpro_section_title, /* Targets "My Account" etc. */
body[class*="pmpro-"] .pmpro_card_title,   /* Targets "Welcome...", "Lifetime Plan", "Account Info" etc. */
body[class*="pmpro-"] .pmpro_card_content li strong {
    color: #ffffff !important;
}

/* 4. Style general paragraph and list item text */
body[class*="pmpro-"] .pmpro_card_content,
body[class*="pmpro-"] .pmpro_card_content p,
body[class*="pmpro-"] .pmpro_card_content li {
    color: #a0aec0;
}

/* 5. Style the action links and separators */
body[class*="pmpro-"] .pmpro_card_actions a {
    color: var(--c-brand-link);
}
body[class*="pmpro-"] .pmpro_card_actions a:hover {
    color: var(--c-brand-secondary);
}
body[class*="pmpro-"] .pmpro_card_action_separator {
    color: #4a5568;
}

/* 6. Restyle the Orders/Invoices table to match the card theme */
body[class*="pmpro-"] .pmpro_table {
    border: none;
    background-color: transparent;
}
body[class*="pmpro-"] .pmpro_table thead th {
    background-color: rgba(0,0,0,0.3);
    color: #e0e0e0;
    border-bottom: 2px solid rgba(120, 118, 255, 0.3);
}
body[class*="pmpro-"] .pmpro_table tbody tr {
    border-bottom: 1px solid rgba(120, 118, 255, 0.2);
}
body[class*="pmpro-"] .pmpro_table tbody tr:last-child {
    border-bottom: none;
}
body[class*="pmpro-"] .pmpro_table td,
body[class*="pmpro-"] .pmpro_table tbody th {
    border-top: none;
    color: #a0aec0;
}
body[class*="pmpro-"] .pmpro_table a {
    color: var(--c-brand-link);
    font-weight: 500;
}

/* 7. NEW: Enforce 8px border-radius on all PMPro buttons */
body[class*="pmpro-"] .pmpro_btn,
body[class*="pmpro-"] .pmpro_btn-submit-checkout {
    border-radius: 8px !important;
}

/*
 * ===================================================================
 * Pricing Page (ID: 1324966) - Dark Theme Layout & Foundation
 * ===================================================================
 */

/* 1. Set the dark background for the entire page */
body.page-id-1324966 {
    background-color: #141414 !important;
}

/* 2. Make the Elementor containers transparent to prevent "corner glow" */
body.page-id-1324966 .elementor-column-wrap, 
body.page-id-1324966 .elementor-widget-wrap,
body.page-id-1324966 .e-con.e-child {
    background-color: transparent !important;
}

/* 3. Force equal height layout for the pricing boxes */
body.page-id-1324966 .e-con-inner {
    display: flex;
    align-items: stretch !important;
}
body.page-id-1324966 .elementor-price-table {
    height: 100%;
    display: flex;
    flex-direction: column;
}
body.page-id-1324966 .elementor-price-table__additional_info {
    flex-grow: 1;
}

/* 4. Style other page elements (Headings, FAQ) for the dark theme */
body.page-id-1324966 .elementor-widget-heading .elementor-heading-title,
body.page-id-1324966 .sc-section-title {
    color: #ffffff;
}
body.page-id-1324966 .elementor-widget-text-editor p {
    color: #a0aec0;
}
body.page-id-1324966 .sc-faq-answer {
    background-color: #1a1a2e;
    border-top-color: rgba(120, 118, 255, 0.3);
}
body.page-id-1324966 .sc-faq-answer p {
    color: #a0aec0;
}

/*
 * ===================================================================
 * Global Dark Theme Pricing Grid (Flexbox Container Version)
 * ===================================================================
 */

/* This is our reusable class. Any section with this class will get the dark theme. */
.dark-theme-pricing-grid {
    background-color: #141414 !important;
}

/* Target all headings and text directly inside our custom section */
.dark-theme-pricing-grid > .e-con-inner > .elementor-element .elementor-widget-heading .elementor-heading-title,
.dark-theme-pricing-grid > .e-con-inner > .elementor-element .sc-section-title,
.dark-theme-pricing-grid > .e-con-inner > .elementor-element .elementor-widget-text-editor p {
    color: #ffffff;
}


/* FIX: Make the individual pricing box containers transparent */
.dark-theme-pricing-grid .e-con.e-child {
    background-color: transparent !important;
}

/* Apply dark theme to the price table itself */
.dark-theme-pricing-grid .elementor-price-table {
    background-color: #1a1a2e;
    border: 1px solid rgba(120, 118, 255, 0.2);
    height: 100%; /* Make the table fill its container */
    display: flex; /* Make the table a flex container */
    flex-direction: column; /* Stack its contents vertically */
}

/* Make the features list grow to push the button to the bottom */
.dark-theme-pricing-grid .elementor-price-table__additional_info {
    flex-grow: 1;
}

/* Dark theme text colors for the price table */
.dark-theme-pricing-grid .elementor-price-table__heading,
.dark-theme-pricing-grid .elementor-price-table__subheading,
.dark-theme-pricing-grid .elementor-price-table__price,
.dark-theme-pricing-grid .elementor-price-table__additional_info p {
    color: #ffffff;
}

/* Dark theme for FAQ answer box */
.dark-theme-pricing-grid .sc-faq-answer {
    background-color: #1a1a2e;
    border-top-color: rgba(120, 118, 255, 0.3);
}
.dark-theme-pricing-grid .sc-faq-answer p {
    color: #a0aec0;
}
/*
 * ===================================================================
 * Custom Login Page - Error & Message Styling (v2 - Definitive)
 * ===================================================================
 */

/* Base style for both error and success messages on our canvas pages */
body.page-template-template-canvas .login-error,
body.page-template-template-canvas .message {
    border-radius: 8px;
    border-left-width: 5px;
    border-left-style: solid;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* THE FIX: This rule is highly specific and forces the text to be light. */
body.page-template-template-canvas .login-error,
body.page-template-template-canvas .login-error p,
body.page-template-template-canvas .message,
body.page-template-template-canvas .message p {
    color: #e0e0e0 !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-template-template-canvas .login-error a {
    color: var(--c-brand-secondary) !important;
    font-weight: bold;
}

/* Error-specific colors (red theme) */
body.page-template-template-canvas .login-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

/* Success-specific colors (green theme) */
body.page-template-template-canvas .message {
    background-color: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}

/*
 * ===================================================================
 * Search for Collabs Page (ID: 1269356) - Dark Theme (v2 - Final)
 * ===================================================================
 */

/* 1. Set the dark background for the entire page */
body.page-id-1269356 {
    background-color: #141414 !important;
}

/* 2. Style all general headings and text elements on the page */
body.page-id-1269356 .elementor-widget-heading .elementor-heading-title,
body.page-id-1269356 .elementor-widget-text-editor h2, /* FIX: Targets the main title */
body.page-id-1269356 .elementor-widget-text-editor p {
    color: #ffffff;
}

/* 3. Style the Filters Sidebar */
body.page-id-1269356 .sc-search-filters {
    background-color: #1a1a2e;
    border: 1px solid rgba(120, 118, 255, 0.2);
}
body.page-id-1269356 .sc-search-header {
    border-bottom-color: rgba(120, 118, 255, 0.2);
}
body.page-id-1269356 .sc-search-header h3 {
    color: #ffffff;
}

/* 4. FIX: Style the Filter Accordions (Buttons & Containers) */
body.page-id-1269356 .accordion-item {
    background-color: transparent !important; /* Removes white background behind corners */
    border: none !important;
}
body.page-id-1269356 .sc-search-filters .accordion-button {
    background-color: rgba(0, 0, 0, 0.2) !important; /* Inactive button color */
    color: #a0aec0 !important;
}
body.page-id-1269356 .sc-search-filters .accordion-button:not(.collapsed) {
    background-color: var(--c-brand-purple) !important; /* Active button is purple */
    color: #ffffff !important;
}
body.page-id-1269356 .sc-search-filters .accordion-body {
    background-color: transparent !important; /* Make body transparent */
    color: #a0aec0;
}
body.page-id-1269356 .sc-search-filters ul li label {
    color: #a0aec0;
}

/* 5. Style the Game Search Input and Results */
body.page-id-1269356 #sc-game-search-filter {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: rgba(120, 118, 255, 0.2);
    color: #ffffff;
}
body.page-id-1269356 .sc-game-list-results {
    background-color: #2a2a2e;
    border-color: rgba(120, 118, 255, 0.3);
}
body.page-id-1269356 .sc-game-list-results li {
    color: #e0e0e0;
    border-bottom-color: rgba(120, 118, 255, 0.1);
}

/* 6. Style the Search Results Pane */
body.page-id-1269356 .sc-search-placeholder {
    border-color: rgba(120, 118, 255, 0.2);
    color: #6c757d;
}
body.page-id-1269356 .sc-connection-card {
    background-color: #1a1a2e;
    border-color: rgba(120, 118, 255, 0.2);
}
body.page-id-1269356 .sc-connection-name {
    color: #ffffff;
}
body.page-id-1269356 .sc-connection-primary-game {
    color: #a0aec0;
}

/* 7. Style the Search Limit Tracker */
body.page-id-1269356 .sc-search-limit-tracker {
    border-bottom-color: rgba(120, 118, 255, 0.2);
}
body.page-id-1269356 .sc-search-limit-tracker p {
    color: #a0aec0;
}

/*
 * ===================================================================
 * PMPro Checkout Page - Dark Theme Visibility Fixes
 * ===================================================================
 */

/* 1. Fixes the "Discount Code" & "Already have an account?" text color. */
body.pmpro-checkout .pmpro_card_actions {
    color: #a0aec0; /* A light, readable grey */
}

/* 2. Styles the "Click here" and "Log in here" links to be more visible. */
body.pmpro-checkout .pmpro_card_actions a,
body.pmpro-checkout .pmpro_card_actions button#other_discount_code_toggle {
    color: var(--c-brand-link); /* Your theme's primary link color */
    font-weight: 600;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

body.pmpro-checkout .pmpro_card_actions a:hover,
body.pmpro-checkout .pmpro_card_actions button#other_discount_code_toggle:hover {
    color: var(--c-brand-secondary); /* A brighter link color on hover */
}

/* 3. Fixes the "Show Password" eye icon color. */
body.pmpro-checkout .pmpro_btn-password-toggle svg {
    stroke: #cccccc !important; /* Force the icon's stroke to be light grey */
}

/* 4. Ensures the "Show/Hide Password" text is also visible. */
body.pmpro-checkout .pmpro_form_field-password-toggle-state {
    color: #a0aec0;
}
/*
 * ===================================================================
 * Custom Password Reset Page Styling (Canvas Template)
 * ===================================================================
 */

/* Target the form wrapper for consistent dark theme. */
body.page-template-template-canvas #sc-lostpasswordform {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Style the input field for username/email. */
body.page-template-template-canvas #sc-lostpasswordform .input {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(120, 118, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    width: 100%;
    padding: 12px;
    box-shadow: none !important;
}

/* Style the "Get New Password" button. */
body.page-template-template-canvas #sc-lostpasswordform #wp-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--c-brand-purple), var(--c-brand-purple-dark)) !important;
    font-size: 1rem !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px !important;
    height: auto !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
body.page-template-template-canvas #sc-lostpasswordform #wp-submit:hover {
    background: linear-gradient(135deg, var(--c-brand-purple-dark), var(--c-brand-purple)) !important;
}

/* Style for the success/error messages. */
body.page-template-template-canvas .login-message {
    border-radius: 8px;
    border-left-width: 5px;
    border-left-style: solid;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    color: #e0e0e0 !important;
}
body.page-template-template-canvas .login-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}
body.page-template-template-canvas .login-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}
/*
 * ===================================================================
 * Claim Account Page - Button Centering
 * ===================================================================
 */

.sc-claim-options {
    text-align: center;
}
/*
 * ===================================================================
 * Author Profile - Game Queue Visibility Fix
 * ===================================================================
 */
.sc-game-queue-inner p {
    color: #ffffff !important; /* Forces the text to be white */
}

/*
 * ===================================================================
 * Author Profile Page - Dark Theme
 * ===================================================================
 */

/* 1. Set the dark background for the entire author archive page */
body.author {
    background-color: #141414;
}

/* 2. Style the main profile header card */
body.author .sc-profile-header {
    background-color: #1a1a2e;
    border: 1px solid rgba(120, 118, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 3. Style all text within the header */
body.author .sc-profile-header__name,
body.author .sc-profile-header__primary-game,
body.author .sc-profile-header__bio,
body.author .sc-stat-item__label,
body.author .sc-stat-item__number {
    color: #ffffff;
}

/* 4. Style the badge showcase card */
body.author .sc-badge-showcase {
    background-color: #1a1a2e;
    border: 1px solid rgba(120, 118, 255, 0.2);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

body.author .sc-badge-showcase .sc-section-title {
    color: #ffffff;
}

/* 5. Style the main content tabs (Twitch, YouTube, Connections) */
body.author .sc-content-tabs .nav-link {
    color: #a0aec0;
    border-bottom-color: transparent;
}

body.author .sc-content-tabs .nav-link.active {
    color: var(--c-brand-purple);
    border-bottom-color: var(--c-brand-purple);
    background-color: transparent;
}

body.author .sc-content-tabs .tab-pane p {
    color: #a0aec0; /* For "no videos" messages */
}

/* 6. Style the individual video cards */
body.author .sc-video-card {
    background-color: #1a1a2e;
    border: 1px solid rgba(120, 118, 255, 0.2);
}

body.author .sc-video-card__title {
    color: #e0e0e0;
}

/* 7. Style the AJAX-loaded connection cards */
body.author .sc-connection-card {
    background-color: #1a1a2e;
    border-color: rgba(120, 118, 255, 0.2);
}

body.author .sc-connection-name {
    color: #ffffff;
}
/*
 * ===================================================================
 * Author Profile - Connections Tab Header Fix
 * ===================================================================
 */

/* This targets the header card that is loaded via AJAX into the connections tab */
body.author #connections-pane .sc-page-header {
    background-color: #1a1a2e;
    border-color: rgba(120, 118, 255, 0.2);
}

/*
 * ===================================================================
 * Author Profile - AJAX Content Dark Theme Inheritance Fix
 * ===================================================================
 */

/*
 * This is the architectural fix. Instead of targeting individual elements,
 * we are telling the entire container for the AJAX-loaded content
 * that all text inside it should be light-colored by default. This
 * prevents Elementor's global styles from overriding our text color
 * on a per-element basis.
 */
body.author #connections-pane {
    color: #a0aec0; /* Sets the default paragraph text color to a light grey */
}

body.author #connections-pane h1,
body.author #connections-pane h2,
body.author #connections-pane h3,
body.author #connections-pane h4,
body.author #connections-pane h5,
body.author #connections-pane h6 {
    color: #ffffff; /* Sets all heading text to pure white */
}

/* This fixes the text color for the introductory paragraph */
body.author #connections-pane .sc-page-header .sc-page-intro {
    color: #a0aec0;
}

