/* -------------------------------------
   OCB WRAPPER
-------------------------------------- */
.ocb-wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: transparent !important;
    box-shadow: none !important;
    padding: 20px 0;
    box-sizing: border-box;
}

.ocb-section {
    width: 90%;
    margin: 0 auto 30px auto;
}

.ocb-section:last-child {
    margin-bottom: 0;
}

/* -------------------------------------
   KALENDAR
-------------------------------------- */
.ocb-wrap .flatpickr-calendar.inline {
    font-family: inherit !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    margin: 0 auto;
}

.ocb-wrap .flatpickr-innerContainer,
.ocb-wrap .flatpickr-rContainer,
.ocb-wrap .dayContainer,
.ocb-wrap .flatpickr-days {
    width: 100% !important;
    max-width: 100% !important;
}

.ocb-wrap .dayContainer {
    justify-content: space-around !important;
}

.ocb-wrap .flatpickr-months { margin-bottom: 20px; }
.ocb-wrap .flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: #111 !important;
    fill: #111 !important;
    height: 34px !important;
}
.ocb-wrap .flatpickr-current-month {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111 !important;
    padding-top: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    left: 0 !important;
    width: 100% !important;
}
.ocb-wrap .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 600;
    color: #111;
    appearance: none;
    background: transparent;
    border: none;
    margin: 0 !important;
    padding: 0 !important;
}

.ocb-wrap .numInputWrapper {
    width: 65px !important;
    display: inline-block !important;
}
.ocb-wrap .flatpickr-current-month input.cur-year {
    font-weight: 600 !important;
    color: #111 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ocb-wrap .numInputWrapper span { display: none !important; }

.ocb-wrap .flatpickr-weekday {
    color: #888 !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    text-transform: uppercase;
}

.ocb-wrap .flatpickr-day {
    color: #333 !important;
    font-weight: 400 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    max-width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    transition: all 0.2s !important;
}

.ocb-wrap .flatpickr-day:hover {
    background: #f1f3f5 !important;
    color: #000 !important;
}

.ocb-wrap .flatpickr-day.disabled,
.ocb-wrap .flatpickr-day.flatpickr-disabled,
.ocb-wrap .flatpickr-day.flatpickr-disabled:hover {
    color: #d9534f !important;
    background: rgba(217, 83, 79, 0.08) !important;
    border: none !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    box-shadow: none !important;
}

.ocb-wrap .flatpickr-day.prevMonthDay,
.ocb-wrap .flatpickr-day.nextMonthDay {
    opacity: 0 !important;
    cursor: default !important;
}

.ocb-wrap .flatpickr-day.selected,
.ocb-wrap .flatpickr-day.startRange,
.ocb-wrap .flatpickr-day.endRange {
    background: #189132 !important;
    border-color: #189132 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.ocb-wrap .flatpickr-day.inRange {
    background: #f1f3f5 !important;
    border-color: #f1f3f5 !important;
    color: #111 !important;
    box-shadow: none !important;
}

.ocb-wrap .flatpickr-day.ocb-partial-day {
    background: rgba(255, 193, 7, 0.15) !important;
    color: #b8860b !important;
    border: 1px solid rgba(255, 193, 7, 0.4) !important;
}
.ocb-wrap .flatpickr-day.ocb-partial-day:hover {
    background: rgba(255, 193, 7, 0.3) !important;
    cursor: pointer !important;
}

/* -------------------------------------
   LEGENDA
-------------------------------------- */
.ocb-section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #888;
    margin-bottom: 20px;
    text-align: center;
}

.ocb-legend {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-top: 10px;
}

.ocb-leg {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.ocb-leg--booked  { background: #d9534f; }
.ocb-leg--partial { background: rgba(255, 193, 7, 0.5); border: 1px solid #ffc107; }
.ocb-leg--free    { background: #f1f3f5; border: 1px solid #ddd; }

/* -------------------------------------
   TIME SECTION
-------------------------------------- */
.ocb-time-row {
    display: flex;
    gap: 15px;
}

.ocb-time-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ocb-time-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #888;
}

.ocb-time-group select {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 300;
    color: #444;
    font-family: inherit;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}

.ocb-time-group select:focus,
.ocb-time-group select:hover {
    outline: none;
    border-color: #189132;
    background: #fff;
}

/* -------------------------------------
   CIJENA
-------------------------------------- */
.ocb-price-summary {
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

.ocb-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 300;
    color: #444;
}

.ocb-price-row:last-child { border-bottom: none; padding-bottom: 0; }
.ocb-price-total strong   { color: #189132; font-size: 18px; font-weight: 600; }
.ocb-price-deposit        { color: #888; font-size: 13px; }

/* -------------------------------------
   FORMA
-------------------------------------- */
.ocb-date-display { display: none !important; }

.ocb-field { margin-bottom: 15px; }

.ocb-field input,
.ocb-field select {
    width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px !important;
    font-weight: 300;
    color: #444;
    font-family: inherit;
    box-sizing: border-box;
    appearance: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ocb-field input:focus, .ocb-field input:hover,
.ocb-field select:focus, .ocb-field select:hover {
    outline: none;
    border-color: #189132;
    background: #fff;
}

#ocb-submit {
    width: 100%;
    height: 52px;
    background: #189132 !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    margin-top: 10px;
}

#ocb-submit:hover    { opacity: 0.9; }
#ocb-submit:disabled { background: #d3d3d3 !important; color: #888 !important; cursor: not-allowed; }

#ocb-msg { margin-top: 15px; text-align: center; font-size: 14px; font-weight: 500; color: #444; }

@media (max-width: 480px) {
    .ocb-section { width: 95%; }
    .ocb-wrap { padding: 20px 10px; }
}