/*****************************************************
 *  DOLCELA ČAROLIJA – FRONT STYLES
 *****************************************************/

/* ====== PRIJAVI SE GUMB U HEADERU PORTALA ====== */

/* Portal kao stupac – header gore, forma u sredini, sandučić pri dnu */
/* Portal kao kolona: forma gore, sandučić pri dnu */
.dc-portal {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;  /* dovoljno da sandučić ne bude odrezan */
}

.dc-global-error {
    line-height: 18px;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: none;
    border: none;
    color: #e3032a; 
    font-weight: 100;
    font-size: 16px;
    text-align: left;
}
#pravila-link a {
    text-decoration: none !important;
    border-bottom: 5px solid #f2a701;
}
section#pravila-link {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
}
#pravila-link h2 {
    display: inline;
    margin: 10px 20px;
}
a.dc-story-back-link {
    color: #fff !important;
    font-weight: 100;
}
button.dc-share-button-fb {
    background: none;
    border: 1px solid;
    border-radius: 10px;
    padding: 5px 10px;
    cursor: pointer;
}
button.dc-share-button-os {
    background: none;
    border: none;
}
.yellow {
    color: #ffb000 !important;
}
h2.gform_submission_error.hide_summary {
    display: none;
}
.gform_validation_errors {
    padding: 0px 20px !important;
}
.dc-portal-form {
    flex: 1 1 auto;
}

/* Sandučić overlapa dno koverte */
.dc-portal-counter {
    position: absolute;
    right: 0;
    bottom: 0px;   /* gurni ga 40px prema gore u formu */
    z-index: 5;
    margin-top: 0;
}





.dc-portal-header {
    display: flex;
    margin-bottom: 20px;
}

.dc-login-trigger {
    font-family: 'bebas-neue';
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #ffffff;
    color: #e3032a !important;
    box-shadow: 0 0 0 3px #ffffff;
    font-size: 26px;
}

.dc-login-icon {
    width: 24px;
    margin-top: 2px;
    font-size: 18px;
}

/* ====== MODAL OVERLAY ====== */

.dc-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 999999 !important;
    display: none; /* JS radi fadeIn/fadeOut */
}

.dc-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* ====== MODAL BOX ====== */

.dc-auth-box {
    position: relative;
    max-width: 400px;
    margin: 8vh auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 34px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-family: inherit;
}

.dc-auth-close {
    position: absolute;
    top: 0px;
    right: 0px;
    border: none;
    background: #000;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    border-radius: 0px 10px 0px 0px;
}

/* ====== TABOVI U MODALU ====== */

.dc-auth-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.dc-auth-tab-link {
    flex: 1;
    border: none;
    cursor: pointer;
    padding: 8px 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f3f3f3;
    color: #555;
    border-radius: 999px;
}

.dc-auth-tab-link.active {
    background: #d40000;
    color: #fff;
}

/* Samo aktivni tab je vidljiv */
.dc-auth-tab {
    display: none;
}
.dc-auth-tab.active {
    display: block;
}

/* ====== POLJA I DUGMAD U MODALU ====== */

.dc-auth-field {
    margin-bottom: 10px;
    text-align: left;
}

.dc-auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dc-auth-field input[type="text"],
.dc-auth-field input[type="email"],
.dc-auth-field input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.dc-auth-field-checkbox label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.dc-auth-btn {
    display: inline-block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: #d40000;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.dc-auth-btn:hover {
    opacity: 0.9;
}

/* Poruke ispod formi */

.dc-auth-message {
    margin-top: 8px;
    font-size: 13px;
}

.dc-auth-message.dc-ok {
    color: #0a8a1f;
}

.dc-auth-message.dc-error {
    color: #cc0000;
}

/* Link za reset lozinke */
.dc-auth-reset-link {
    text-decoration: none;
    text-align: center;
    display: inline-block;
    width: 100%;
}

/* Kad je modal otvoren, zaključaj scroll */
body.dc-auth-modal-open {
    overflow: hidden;
}

/*****************************************************
 *  FEED – GRID I KARTICE
 *****************************************************/

/* GRID KARTICE */

.dc-feed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.dc-story-card {
    color: #000 !important;
}
.dc-story-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px 30px 40px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.dc-story-card-top {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
}

.dc-story-card-user {
    font-size: 18px;
    font-weight: 500;
}

.dc-story-card-date {
    margin-top: -10px;
    height: 30px;
    padding: 0;
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 10px;
}

.dc-story-card-body-link {
    text-decoration: none;
    color: inherit;
}
.dc-auth-field-checkbox label {
    font-size: 20px !important;
    font-weight: 100 !important;
    display: block !important;
}
/* Glavni tekst priče u kartici */
.dc-story-card-body p {
    min-height: 340px;
    font-size: 24px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
    font-weight: 500;
    color: #e3032a;
    font-family: 'bebas-neue';
}


/* Varijante boja naslova po karticama – ponavlja se u krugu po 3 */
.dc-feed .dc-story-card:nth-child(3n + 1) .dc-story-card-body p {
    color: #e3032a !important; /* crvena */
}

.dc-feed .dc-story-card:nth-child(3n + 2) .dc-story-card-body p {
    color: #ff9c00 !important; /* narančasta kao na dizajnu */
}

.dc-feed .dc-story-card:nth-child(3n) .dc-story-card-body p {
    color: #111111 !important; /* crna */
}


@media (max-width: 767px) {
    .dc-story-card-body p {
        font-size: 20px;
        min-height: 180px;
        line-height: 1.3;
    }
}

/* dno kartice */

.dc-story-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.dc-like-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}

.dc-like-button.dc-like-disabled {
    cursor: default;
}

.dc-like-heart {
    font-size: 18px;
    color: #e7222a;
}

.dc-share-button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

/* share gore desno na kartici */

.dc-share-top {
    font-size: 18px;
}

.dc-icon-share {
    display: inline-block;
}

/* SINGLE PRIČA */
div#prica-holder {
    z-index: 10;
}
.dc-story-single-card {
    color: #111;
}
.dc-story-single {
    max-width: 1100px;
    margin: 0 auto;
}

.dc-story-single-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 32px 22px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}

.dc-story-single-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dc-story-single-quote-mark {
    font-size: 42px;
    color: rgba(255, 204, 153, 0.6);
    line-height: 1;
    margin-right: 8px;
}

.dc-story-single-meta {
    flex: 1;
}

.dc-story-single-user {
    font-weight: 700;
}

.dc-story-single-date {
    font-size: 12px;
    opacity: 0.8;
}

/* share ikona gore desno na single */

.dc-story-single .dc-share-top {
    font-size: 20px;
}

/* tekst priče */

.dc-story-single-body p {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 24px;
}

/* dno single kartice */

.dc-story-single-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dc-icon-share-inline {
    font-size: 16px;
}

/* back link */

.dc-story-back-wrap {
    margin-top: 22px;
}

.dc-story-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
}

.dc-back-arrow {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #d40000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* BODY */

.dc-story-body {
    flex: 1;
}

.dc-story-body p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    text-transform: uppercase;
}

/* FOOTER – LIKE + SHARE */

.dc-story-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 13px;
}

.dc-like-button,
.dc-share-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.dc-like-heart {
    font-size: 14px;
}

.dc-like-button.dc-liked .dc-like-heart {
    color: #e11127;
}

.dc-icon-share {
    font-size: 14px;
}

/* Pagination kružići */

.dc-feed-pagination {
    margin-top: 30px;
    text-align: center;
}

.dc-feed-page-list {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.dc-feed-page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    background: #8e1a27;
    color: #e3022a !important;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    line-height: 40px;
    font-size: 32px;
}

.dc-feed-page-current {
    font-size: 32px;
    height: 50px;
    width: 50px;
    background: #fff !important;
    color: #e3022a !important;
    text-align: center;
    line-height: 40px;
}

.dc-feed-page-dots {
    padding: 0 4px;
    font-weight: 700;
    color: #fff;
    user-select: none;
}

.dc-feed-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.dc-feed-tab {
    padding: 10px 22px;
    border-radius: 40px;
    text-transform: uppercase;
    font-family: 'bebas-neue';
    font-size: 22px;
    letter-spacing: 0.06em;
    background: #fff;
    color: #e3032a;
    border: 2px solid #e3032a;
    text-decoration: none;
    cursor: pointer;
}

.dc-feed-tab.active {
    background: #e3032a;
    color: #fff;
}
.dc-feed-tabs a:hover {
    background: none;
    color: #fff !important;
}
@media (max-width: 767px) {
a.dc-feed-tab {
    text-align: center;
    display: block;
    font-size: 18px;
    line-height: 20px;
    width: 100%;
    margin-bottom: 10px;
}
.dc-feed-tabs {
    display: block;
    margin-bottom: 30px;
}
.dc-feed-page-link {
    height: 30px;
    width: 30px;
    line-height: 22px;
    font-size: 22px;
}

.dc-feed-page-current {
    height: 30px;
    width: 30px;
    line-height: 22px;
    font-size: 22px;
}
}
/*****************************************************
 *  GRAVITY FORMS – BASIC ENVELOPE STYLING
 *  (možemo kasnije dodatno dotjerati)
 *****************************************************/
textarea#input_2_4 {
    min-height: 320px;
margin: 0;
}
/* Koverta oko cijele forme */
/* Koverta sa crveno-bijelim obrubom – bez slika, bez padding-box trikova */
/* Koverta sa crveno-bijelim obrubom */
.dc-portal .gform_wrapper {
    min-height:620px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 40px 30px 0px;
    box-shadow: none;
    background: #ffffff;
    border: 18px solid transparent;
    border-image: repeating-linear-gradient(45deg, #e3032a 0 16px, #ffffff 16px 32px) 18 round;
}

.dc-santa-message {
    padding-bottom: 140px !important;
    color: #000 !important;
    min-height: 620px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 40px 30px 0px;
    box-shadow: none;
    background: #ffffff;
    border: 18px solid transparent;
    border-image: repeating-linear-gradient(45deg, #e3032a 0 16px, #ffffff 16px 32px) 18 round;
}

/* Mobile envelope */
@media (max-width: 767px) {
    .dc-portal .gform_wrapper {
        border-radius: 24px;
        padding: 20px 20px 10px;
        border-width: 14px;
        border-image: repeating-linear-gradient(45deg, #e3032a 0 12px, #ffffff 12px 24px) 14 round;
    }
.dc-santa-message {
    padding-bottom: 100px !important;
    color: #000 !important;
    min-height: 500px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 32px;
    padding: 40px 30px 0px;
    box-shadow: none;
    background: #ffffff;
    border: 10px solid transparent;
    border-image: repeating-linear-gradient(45deg, #e3032a 0 16px, #ffffff 16px 32px) 18 round;
}
}





/* Pahulja u dnu lijevo – samo dekor */
.dc-portal .gform_wrapper::after {
    content: "";
    position: absolute;
    left: 184px;
    bottom: 18px;
    width: 90px;
    height: 90px;
    background-image: url('https://dolcela.ba/wp-content/uploads/2025/11/pahuljicev2.svg');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

@media (max-width: 767px) {
    .dc-portal .gform_wrapper::after {
        width: 70px;
        height: 70px;
        left: 150px;
        bottom: 12px;
    }
}


div#carolija-holder {
    z-index: 10;
    margin-bottom: 0 !important;
}



/* Naslov polja */

.dc-portal .gfield_label {
    font-weight: 100 !important;
    font-size: 26px !important;
    line-height:32px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #004022;
}

.gform-page-footer.gform_page_footer.top_label {
    margin: 0 !important;
    padding: 0 !important;
}
/* Textarea kao pismo */

.dc-portal textarea.medium,
.dc-portal textarea.large {
    min-height: 260px;
    border-radius: 12px;
    border: 1px solid #d6e2dd;
    font-size: 16px;
}

/* Drugi korak – adresa/grad itd. */

.dc-portal input[type="text"],
.dc-portal input[type="email"],
.dc-portal input[type="tel"] {
    border-radius: 10px;
    border: 1px solid #d6e2dd;
    padding: 10px 12px;
    font-size: 15px;
}

/* Submit gumb */

.dc-portal .gform_footer input[type="submit"],
.dc-portal .gform_footer button.gform_button {
    border-radius: 999px;
    background: #e11127;
    border: none;
    color: #fff;
    padding: 12px 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.dc-portal .gform_footer input[type="submit"]:hover,
.dc-portal .gform_footer button.gform_button:hover {
    opacity: 0.9;
}
#field_2_9, #field_2_9 a, #field_2_9 label {
    font-size: 18px;
    color: #000 !important;
    font-weight: 100 !important;
}
input#gform_next_button_2_13 {
    float: none !important;
    background: #e3032a !important;
    border: none !important;
    font-family: inherit !important;
    color: #fff !important;
    font-size: 20px !important;
    min-width: 120px !important;
    letter-spacing: 1px;
    border-radius: 10px !important;
}
input#gform_previous_button_2{
    float: none !important;
    background: #e3032a !important;
    border: none !important;
    font-family: inherit !important;
    color: #fff !important;
    font-size: 20px !important;
    min-width: 120px !important;
    letter-spacing: 1px;
    border-radius: 10px !important;
}
input#gform_submit_button_2 {
    float: none !important;
    background: #e3032a !important;
    border: none !important;
    font-family: inherit !important;
    color: #fff !important;
    font-size: 20px !important;
    min-width: 120px !important;
    letter-spacing: 1px;
    border-radius: 10px !important;
}
input#gform_previous_button_2 {
    display: none !important;
}
textarea, input {
    font-family: Arial !important;
    font-size: 16px !important;
    padding: 10px 10px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 2px solid #afc3ba !important;
    color: #000 !important;
    opacity: 1 !important;
}
form#dc-register-form label {
    display: none;
}
form#dc-login-form label {
    display: none;
}

/*****************************************************
 *  MOBILE TUNING – DOLCELA ČAROLIJA (iPhone friendly)
 *****************************************************/

/* Poštuj notch / safe-area na iPhone uređajima */
.dc-auth-modal {
    padding:
        env(safe-area-inset-top)
        env(safe-area-inset-right)
        env(safe-area-inset-bottom)
        env(safe-area-inset-left);
}
#dolcela-feed {
    scroll-margin-top: 120px; /* prilagodi visini headera */
}
/* TABLET RASPON – 2 kolone kartica */
@media (min-width: 768px) and (max-width: 1024px) {
    .dc-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBITELI – fokus na čitljivost i tap targete */
@media (max-width: 767px) {

    /* Malo unutrašnjeg zraka da grid ne ide u ivicu ekrana */
    .dc-portal {
        padding-inline: 16px;
    }

    /* Modal box – punija širina, mekši padding */
    .dc-auth-box {
        width: 94%;
        max-width: 420px;
        margin: 6vh auto;
        padding: 20px 18px 18px;
    }

    .dc-auth-title {
        font-size: 22px;
    }

    .dc-auth-subtitle {
        font-size: 13px;
    }

    .dc-auth-tabs {
        gap: 6px;
    }

    .dc-auth-tab-link {
        font-size: 11px;
        padding: 8px 14px;
    }

    .dc-auth-field input,
    .dc-auth-field textarea {
        font-size: 14px;
    }

    /* Dugme preko cijele širine – lakše za klik */
    .dc-portal .gform_footer input[type="submit"],
    .dc-portal .gform_footer button.gform_button {
        width: 100%;
    }

    /* Feed – jedna kolona, clean cards */
    .dc-feed {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dc-story-card {
        padding: 14px 14px 12px;
    }

    .dc-story-main {
        font-size: 15px;
        line-height: 1.45;
    }

    .dc-story-meta,
    .dc-story-footer {
        font-size: 12px;
    }

    .dc-feed-pagination {
        margin-top: 18px;
    }
}

/*****************************************************
 *  COUNTER – POŠTANSKI SANDUČIĆ NA DNU KOVERTE
 *****************************************************/

/* Wrapper da se drži desno i pri dnu “pisma” */
.dc-counter-envelope {
    position: relative;
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 24px;
    box-sizing: border-box;
    margin-top: 0;
}

/* Sam sandučić */
.dc-counter-mailbox {
    position: relative;
    width: 170px;
    max-width: 40vw;
    aspect-ratio: 3 / 4;
    background-image: url('https://dolcela.hr/wp-content/uploads/2025/12/box-1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
}

/* Broj u sandučiću ostaje kako je */
.dc-counter-number {
    position: absolute;
    top: 42%;
    left: 44%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', system-ui, -apple-system, sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    color: #ffffff;
    letter-spacing: 0.01em;
}


/* Mobile fine tuning – da ne bude prevelik na manjim ekranima */
@media (max-width: 767px) {
    .dc-counter-envelope {
        padding-right: 12px;
    }

    .dc-counter-mailbox {
        width: 140px;
        max-width: 55vw;
    }
}


/* =========================================
   DNEVNI POBJEDNICI – MODAL + BOARD (FINAL)
   ========================================= */

/* Dugme "Dnevni pobjednici" */
.dc-winners-trigger {
    cursor: pointer;
}

/* Ne dozvoli scroll pozadini kad je modal otvoren */
body.dc-modal-open {
    overflow: hidden;
}

/* === MODAL OVERLAY === */

.dc-winners-modal {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    z-index: 999999 !important;
    display: none;              /* JS dodaje .is-open */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dc-winners-modal.is-open {
    display: flex;
}

/* Tamni backdrop preko cijele stranice */
.dc-winners-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

/* Unutrašnji sadržaj modala */
.dc-winners-inner {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    width: 100%;
}

/* X dugme u gornjem desnom uglu */
.dc-winners-close {
    position: absolute;
    top: -10px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #f7bf27;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
}

/* Naslov iznad crvenog boarda (tekst "Dnevni pobjednici") */
.dc-daily-winners-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f7bf27;
    margin: 0 0 14px;
}

/* =================================
   CRVENI BOARD UNUTAR MODALA (PSD)
   ================================= */

.dc-daily-winners-board {
    background: #e3032a url(https://dolcela.ba/wp-content/uploads/2025/11/pahuljhe.png) repeat center top;
    background-size: contain;
    border-radius: 20px;
    padding: 40px 50px 50px;
    position: relative;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}


/* Ikonica poklona gore desno */
.dc-daily-winners-board::after {
    content: "";
    position: absolute;
    top: 28px;
    right: 40px;
    width: 120px;
    height: 120px;
    background: url('https://dolcela.ba/wp-content/uploads/2025/12/nagrada-win.png') no-repeat center center;
    background-size: contain;
}

/* Header: "Čestitamo..." + "Dolcela poklon paket" */
.dc-daily-winners-header {
    margin-left: auto;
    max-width: 560px;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
    margin-right: auto;
}

.dc-daily-winners-header h2 {
    font-size: 66px;
    font-weight: normal;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}

.dc-daily-winners-subtitle {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Tri kolone kao na PSD-u */
.dc-daily-winners-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 60px;
    row-gap: 24px;
}
.dc-daily-winners-col {
    BACKGROUND: #e3032a;
    padding: 20px 30px;
}
/* Srednja kolona – svjetliji panel */
.dc-daily-winners-col:nth-child(2) {
    background: #c60022;
    border-radius: 26px;
    padding: 20px 30px;
}

/* Jedan dan u koloni */
.dc-daily-winner-day {
    margin-bottom: 20px;
}

/* Datum: 02.12.2025. */
.dc-daily-winner-date {
    letter-spacing: 1px;
    font-weight: 100;
    margin: 0;
    font-size: 30px;
    line-height: 1.2em;
    background: linear-gradient(90deg, #f1db8d 0%, #deb421 20%, #f8e7b0 40%, #c59d0c 65%, #ecd06a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Lista 1–5 imena – svako u svom redu */
.dc-daily-winner-list {
    margin: 0;
    padding-left: 18px;
    list-style: decimal;
}

.dc-daily-winner-list li {
    color: #ffffff;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.45;
}

/* Scroll bar unutar boarda */
.dc-daily-winners-board::-webkit-scrollbar {
    width: 8px;
}

.dc-daily-winners-board::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.35);
    border-radius: 10px;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

@media (max-width: 1024px) {
    .dc-winners-modal {
        padding: 10px;
    }
.dc-daily-winners-board::after{
        display:none;
    }
.dc-daily-winners-header h2 {
    font-size: 33px;
    font-weight: normal;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}
.dc-daily-winners-subtitle
 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
    .dc-daily-winners-board {
        padding: 30px 20px 35px;
        max-height: calc(100vh - 120px);
    }

    .dc-daily-winners-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
    }

    .dc-daily-winners-col:nth-child(2) {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .dc-daily-winners-board {
        border-radius: 24px;
        padding: 24px 18px 28px;
    }

    .dc-daily-winners-columns {
        grid-template-columns: 1fr;   /* jedna kolona na mobu */
        row-gap: 16px;
    }

    /* na mobu nema potrebe za posebnim srednjim panelom */
    .dc-daily-winners-col:nth-child(2) {
        background: transparent;
        padding: 0;
    }

    .dc-daily-winner-date {
        font-size: 24px;
    }

    .dc-daily-winner-list li {
        font-size: 22px;
    }

    .dc-winners-close {
        right: 4px;
        top: -6px;
    }

    .dc-daily-winners-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* LEGAL MODAL – koristi postojeći winners layout, ali bijelu pozadinu */



.dc-legal-board {
    background: #ffffff;
    color: #000000;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding: 30px 34px;
    border-radius: 18px;
    background-image: none;
}

.dc-legal-title {
    color: #ffffff; /* naslov iznad bijelog boarda ostaje žut/bijel na crvenoj pozadini */
}

.dc-legal-content h1,
.dc-legal-content h2,
.dc-legal-content h3 {
    color: #e3032a;
}

.dc-legal-content p {
    font-size: 15px;
    line-height: 1.6;
}


