/*
 Theme Name:   Predicted It Theme
 Theme URI:    https://generatepress.com
 Description:  Predicted It Theme
 Author:       Predicted It
 Author URI:   https://predictedit.com
 Template:     generatepress
 Version:      0.1
*/

/* GENERAL USER STAT STYLING */
.user-stat {
    background-color: #111;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    color: #eee;
    font-family: 'Segoe UI', 'Montserrat', sans-serif;
    margin-bottom: 24px;
}
.user-stat .stat-label {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.user-stat .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #2ecc71;
}

.prediction-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 22px;
    max-width: 1020px;
    margin: 0 auto;
}
.prediction-card {
    width: 420px;
    max-width: 96vw;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .prediction-cards-grid {
        gap: 18px 0;
        max-width: 99vw;
    }
    .prediction-card {
        width: 98vw;
        max-width: 99vw;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .prediction-card {
        max-width: 100%;
        padding: 14px 6px 10px 6px;
        width: 99vw;
    }
}

/* PREDICTION CARD LAYOUT */
.prediction-card {
    background: #181a20;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.45);
    padding: 20px 24px 18px 24px;
    font-family: 'Segoe UI', 'Montserrat', sans-serif;
    color: #eee;
    min-width: 0;
    width: 100%;
    max-width: 99vw;
    margin: 0 auto;
}

/* GRID ROWS IN CARD */
.prediction-meta-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.prediction-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 2px;
}

/* TEXT STYLES */
.meta-label {
    color: #aaa;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 4px;
    letter-spacing: 1.1px;
}
.meta-value {
    color: #37e182;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(55,225,130,0.12);
}
.prediction-question-text {
    color: #aaa; /* Same grey as other details */
    font-family: 'Segoe UI', 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

/* COMMUNITY SPLIT BAR */
.community-split-heading {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffde59;
    margin: 17px 0 6px 0;
    text-transform: uppercase;
}
.community-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}
.comm-label {
    min-width: 68px;
    color: #eee;
    font-size: 13px;
    font-weight: 700;    /* Make option text bold */
    letter-spacing: 0.01em;
}
.comm-bar-wrap {
    background: #25272e;
    height: 13px;
    flex: 1;
    border-radius: 6px;
    margin: 0 7px;
    overflow: hidden;
    min-width: 40px;
    max-width: 260px;
    position: relative;
}
.comm-bar-bg {
    width: 100%;
    height: 100%;
    background: #25272e;
    border-radius: 6px;
    position: absolute;
    left: 0; top: 0;
}
.comm-bar-fg {
    display: inline-block;
    height: 100%;
    border-radius: 6px;
    transition: width .5s cubic-bezier(.48,.12,.33,.99);
    position: relative;
    z-index: 2;
}
/* BAR COLOURS FOR FIRST 6 OPTIONS */
.comm-bar-fg.option-1 { background: #ffde59; }
.comm-bar-fg.option-2 { background: #37e182; }
.comm-bar-fg.option-3 { background: #ff6161; }
.comm-bar-fg.option-4 { background: #4286f4; }
.comm-bar-fg.option-5 { background: #f5a623; }
.comm-bar-fg.option-6 { background: #a259ff; }
/* fallback for extras */
.comm-bar-fg.option-default { background: #aaa; }

.comm-pct {
    color: #ffde59;
    font-size: 13px;
    min-width: 36px;
    text-align: right;
    font-weight: 700; /* Make percentage bold */
    letter-spacing: 0.01em;
}


/* RESPONSIVE TWEAKS */
@media (max-width: 600px) {
    .prediction-card { max-width:100%; padding: 14px 6px 10px 6px;}
    .prediction-question-text { font-size: 14px;}
    .meta-label, .comm-label, .comm-pct { font-size:10px;}
    .meta-value { font-size:12px;}
    .community-split-heading { font-size:10px;}
}

.prediction-row, .meta-inline-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 2px;
}
.card-label {
    color: #aaa;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 3px;
}
.card-value {
    color: #37e182;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(55,225,130,0.10);
}
/* TROPHY FILTERS: CONTAINER */
.trophy-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    width: 100%;
}
.trophy-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 4px;
}

/* TROPHY FILTER BUTTONS - SMALLER AND RESPONSIVE */
.trophy-filter-btn {
    background: #22252b;
    color: #ffde59;
    border: 1.5px solid #3a3a3a;
    border-radius: 8px;
    padding: 3px 9px;           /* Smaller vertical/horizontal padding */
    font-size: 13px;            /* Smaller font */
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, color .18s, border .18s;
    margin-bottom: 0;
    outline: none;
    min-width: 64px;            /* Ensures button isn't too narrow */
}
.trophy-filter-btn.active, 
.trophy-filter-btn:focus {
    background: #ffde59;
    color: #22252b;
    border-color: #ffde59;
}

@media (max-width: 800px) {
    .trophy-filters {
        gap: 7px;
        margin-bottom: 14px;
    }
    .trophy-filter-group {
        gap: 6px;
        margin-bottom: 0;
    }
    .trophy-filter-btn {
        font-size: 12px;
        padding: 3px 7px;
        min-width: 56px;
    }
}
@media (max-width: 500px) {
    .trophy-filters {
        gap: 5px;
    }
    .trophy-filter-group {
        gap: 4px;
        flex-wrap: wrap;
    }
    .trophy-filter-btn {
        font-size: 12px;
        padding: 2.5px 5px;
        min-width: 48px;
    }
}

/* --- ESPORTS GW PREDICTION FORM STYLING: MODERN DASHBOARD STYLE --- */

/* Outer container for the whole form */
.gw-prediction-form {
    background: #1b1c20;
    padding: 36px 16px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 #11161f66, 0 1px 0px 1px #222;
    max-width: 580px;
    margin: 0 auto 38px auto;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    border: 1.5px solid #262832;
}

/* Headline badge for "50 POINTS", "75 POINTS", etc */
.gw-points-badge, .gw-points-badge h2, .gw-points-badge .gb-headline-text {
    background: none !important;
    color: #b6bbc8 !important;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif !important;
    text-transform: uppercase;
    font-size: 1.17rem !important;
    letter-spacing: 0.16em;
    font-weight: 800 !important;
    box-shadow: none !important;
    margin-bottom: 26px !important;
    margin-top: 0 !important;
    border: none !important;
    padding: 0 !important;
    display: block;
}
.gw-points-badge .gw-points-number {
    color: #37e182 !important;
    font-size: 2.1em;
    font-family: inherit;
    font-weight: 900;
    margin-right: 0.13em;
    letter-spacing: 0;
    vertical-align: middle;
}

/* Question Card style - matches dashboard cards */
.gw-question-card {
    background: #23242a !important;
    border: 1.5px solid #32343d !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 16px #16171c33 !important;
    margin-bottom: 30px !important;
    padding: 22px 18px 15px 18px !important;
    font-family: inherit !important;
    transition: box-shadow 0.13s, border-color 0.13s;
}
.gw-question-card:hover {
    box-shadow: 0 3px 20px #37e18233 !important;
    border-color: #37e182 !important;
}

/* Question text label */
.gw-question-label {
    font-size: 1.13rem;
    font-weight: 500;
    color: #37e182;
    margin-bottom: 14px;
    letter-spacing: 0.03em;
    line-height: 1.38;
    font-family: inherit;
    text-shadow: none;
}

/* Radio group and options */
.gw-radio-group label {
    display: block;
    font-size: 1rem;
    color: #cdd0e3;
    background: #181a20;
    padding: 10px 13px 9px 14px;
    margin-bottom: 9px;
    border-radius: 11px;
    cursor: pointer;
    border: 1.5px solid #2d2f37;
    font-weight: 600;
    transition: border-color 0.15s, background 0.14s, color 0.14s;
}
.gw-radio-group input[type="radio"]:checked + span,
.gw-radio-group input[type="radio"]:checked + label {
    background: #252f28;
    color: #37e182;
    border-color: #37e182;
    font-weight: 700;
}
.gw-radio-group input[type="radio"] {
    accent-color: #37e182;
    margin-right: 7px;
}

/* Submit button matches dashboard accent */
.gw-submit-btn button, .gw-submit-btn input[type="submit"] {
    background: linear-gradient(90deg, #37e182 20%, #292e27 100%);
    color: #101316 !important;
    font-size: 1.15rem;
    padding: 13px 34px;
    border-radius: 13px;
    box-shadow: 0 3px 16px #37e18222;
    border: none;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin-top: 14px;
    margin-bottom: 0;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
    font-family: inherit;
    text-transform: uppercase;
}
.gw-submit-btn button:hover, .gw-submit-btn input[type="submit"]:hover {
    background: linear-gradient(90deg, #2be7b3 10%, #37e182 100%);
    color: #111313 !important;
}

/* Responsive tweaks for mobile */
@media (max-width: 680px) {
    .gw-prediction-form {
        padding: 18px 2vw;
        border-radius: 14px;
        max-width: 99vw;
    }
    .gw-question-card {
        padding: 12px 7px 10px 7px !important;
        border-radius: 10px !important;
    }
    .gw-points-badge, .gw-points-badge h2 { font-size: 1.07rem !important;}
    .gw-question-label { font-size: 1.01rem;}
    .gw-radio-group label { font-size: .97rem; }
}
