/* == GLOBAL FONTS & COLORS == */
body, .pbk-kartica, .pbk-dropin-content {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #202024;
}

/* == KARTICA TERMINA == */
.pbk-kartica {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 18px #c3a3b733;
    padding: 20px 12px;
    margin-bottom: 22px;
    border: 1.5px solid #f1dbe4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}


.pbk-kartica.pbk-moj-termin .pbk-grupa,
.pbk-kartica.pbk-moj-termin .pbk-vrijeme,
.pbk-kartica.pbk-moj-termin .pbk-nivo,
.pbk-kartica.pbk-moj-termin .pbk-mjesta {
    color: #fff !important;
}

/* == GRID PRIKAZ TERMINA == */
.pbk-grid-termini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 15px;
}
@media (max-width: 1100px) {
    .pbk-grid-termini { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .pbk-grid-termini { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .pbk-grid-termini { grid-template-columns: 1fr; }
}

/* == HEADERI KARTICE == */
.pbk-grupa, .pbk-vrijeme, .pbk-nivo {
    font-size: 1.09em;
    margin-bottom: 7px;
    color: #8B2D47;
    font-weight: 600;
}

/* == STATUS MJESTA == */
.pbk-mjesta {
    margin-bottom: 12px;
    font-size: 1.08em;
    padding: 5px 0;
    border-radius: 9px;
    font-weight: bold;
    text-align: center;
}
.pbk-status-popunjeno { background: #e98080; color: #fff; }
.pbk-status-skoro { background: #ffe395; color: #8B2D47; }
.pbk-status-slobodno { background: #e4d5e2; color: #8B2D47; }

/* == TABOVI (DANI) MOBILE & DESKTOP == */
.pbk-tabs-kalendar {
    width: 100%;
    margin-bottom: 18px;
    text-align: center;
}
.pbk-tab-select {
    display: block;
    width: 97%;
    max-width: 380px;
    margin: 0 auto 14px auto;
    background: #8B2D47;
    color: #fff;
    border: none;
    padding: 14px 18px;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 1px 7px #c3a3b720;
    transition: background 0.2s;
    letter-spacing: 0.01em;
    appearance: none;
}
.pbk-tab-btn {
    display: none;
}

@media (min-width: 700px) {
    .pbk-tabs-kalendar {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center;
        margin-bottom: 25px;
        flex-wrap: wrap;
    }
    .pbk-tab-select {
        display: none;
    }
    .pbk-tab-btn {
        display: inline-block;
        background: #8B2D47;
        color: #fff;
        border: none;
        padding: 13px 29px;
        border-radius: 22px;
        font-size: 1.08em;
        font-weight: bold;
        cursor: pointer;
        margin-bottom: 7px;
        margin-right: 6px;
        transition: background 0.18s;
        letter-spacing: 0.01em;
        box-shadow: 0 2px 7px #c3a3b726;
    }
    .pbk-tab-btn.active {
        background: #a5385e;
        color: #fff;
        font-weight: 700;
        box-shadow: 0 2px 10px #8b2d4736;
    }
}

/* == TAB SADRŽAJ == */
.pbk-tab-content {
    display: none;
    animation: pbkFadeIn .3s;
}
.pbk-tab-content.active {
    display: block;
}
@keyframes pbkFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* == DUGMAD, FORME == */
.pbk-rez-form button, .pbk-btn-otkazi, .pbk-btn-login, .pbk-dropin-form button {
    background: #8B2D47;
    color: #fff !important;
    font-weight: bold;
    padding: 13px 0;
    font-size: 1.13em;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    margin-top: 12px;
    box-shadow: 0 1px 7px #c3a3b726;
    letter-spacing: 0.02em;
    width: 100%;
    transition: background 0.18s;
    display: block;
}
.pbk-rez-form button:hover, .pbk-btn-otkazi:hover, .pbk-btn-login:hover, .pbk-dropin-form button:hover {
    background: #a5385e;
}

.pbk-login-holder {
    margin-top: 10px;
    text-align: center;
}
.pbk-btn-login {
    display: inline-block;
    text-decoration: none;
}

.pbk-countdown {
    background: #fbe9f2;
    color: #8B2D47;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 11px;
    padding: 8px 16px;
    margin-top: 8px;
    text-align: center;
    display: inline-block;
}

/* == OBAVIJESTI == */
.pbk-obavijest-success, .pbk-obavijest-danger, .pbk-obavijest-info {
    font-size: 1.1em;
    padding: 13px 0;
    border-radius: 10px;
    margin-bottom: 14px;
    margin-top: 8px;
    text-align: center;
}
.pbk-obavijest-success { background: #dff6e5; color: #399164; }
.pbk-obavijest-danger  { background: #fbe6e7; color: #d90000; }
.pbk-obavijest-info    { background: #8B2D47; color: #fff; }

/* == DROP-IN == */
.pbk-dropin-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 1px 8px #e1bdd6;
    max-width: 430px;
    margin: 25px auto 0 auto;
    padding: 20px 14px;
}
.pbk-dropin-success {
    color: #399164;
    background: #dff6e5;
    padding: 10px 0;
    border-radius: 8px;
    margin-bottom: 14px;
}
.pbk-dropin-form input,
.pbk-dropin-form select {
    width: 100%;
    margin-bottom: 12px;
    padding: 11px 9px;
    border: 1px solid #e4d5e2;
    border-radius: 8px;
    font-size: 1.09em;
    background: #fcf7fa;
}
.pbk-dropin-form button {
    width: 100%;
    margin-top: 0;
}


