/* ============================================================
   Rentis widget – skórka Ferrum Cars (v3, dark/gold)
   Ładowane PO widget.css, tylko na podstronie pojazdu.
   Master plugin nietknięty – to wyłącznie nadpisania.
   ============================================================ */

/* --- Baza: font + karta --- */
.vh__cal .rw,
.vh__cal .rw * { font-family: "Geist", sans-serif !important; }

.vh__cal .rw.rw-dark {
    --rw-bg-solid: #0b0b0d;
    --rw-card: #0b0b0d;
    --rw-border: rgba(255, 255, 255, .1);
    --rw-text: #fff;
    --rw-text2: rgba(255, 255, 255, .55);
    --rw-text3: rgba(255, 255, 255, .34);
    --rw-surface: #131316;
    --rw-surface2: #1a1a1e;
    --rw-shadow: none;
    --rw-shadow-glow: none;
    background: transparent !important;
}

.vh__cal .rw-cal,
.vh__cal .rw-sb {
    background: #0b0b0d !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

/* --- Kalendarz: nagłówek, dni tygodnia --- */
.vh__cal .rw-nav-title { color: #fff !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
.vh__cal .rw-mn { color: rgba(255, 255, 255, .45) !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .18em !important; }
.vh__cal .rw-wk span { color: rgba(255, 255, 255, .38) !important; font-weight: 500 !important; }
.vh__cal .rw-arr {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    color: rgba(255, 255, 255, .75) !important;
    border-radius: 50% !important;
    transition: border-color .2s ease, color .2s ease, background .2s ease !important;
}
.vh__cal .rw-arr:hover { border-color: #c29a3f !important; color: #c29a3f !important; background: rgba(194, 154, 63, .08) !important; }
.vh__cal .rw-mos-div { background: rgba(255, 255, 255, .08) !important; }

/* --- Dni --- */
.vh__cal .rw-d { color: rgba(255, 255, 255, .82) !important; border-radius: 9px !important; font-weight: 400 !important; }
.vh__cal .rw-d:hover:not(.rw-off):not(.rw-emp):not(.rw-bk):not(.rw-pd):not(.rw-pk):not(.rw-rt):not(.rw-in) {
    background: rgba(194, 154, 63, .14) !important;
    color: #e9c979 !important;
}
.vh__cal .rw-off { color: rgba(255, 255, 255, .16) !important; }
.vh__cal .rw-bk { background: rgba(255, 255, 255, .05) !important; color: rgba(255, 255, 255, .22) !important; }
.vh__cal .rw-pd { background: rgba(255, 255, 255, .03) !important; color: rgba(255, 255, 255, .2) !important; }
.vh__cal .rw-pt { background: linear-gradient(135deg, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .03) 50%) !important; color: rgba(255, 255, 255, .6) !important; }
.vh__cal .rw-td { color: #e9c979 !important; box-shadow: inset 0 0 0 1px rgba(194, 154, 63, .5) !important; }

/* wybrane daty + zakres = złoto */
.vh__cal .rw-pk,
.vh__cal .rw-rt {
    background: linear-gradient(135deg, #e9bd54, #c29a3f 55%, #a37f2e) !important;
    color: #1a1305 !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 18px -8px rgba(163, 127, 46, .8) !important;
}
.vh__cal .rw-in { background: rgba(194, 154, 63, .13) !important; color: #e9c979 !important; }
.vh__cal .rw-hv { background: rgba(194, 154, 63, .08) !important; color: #dcc07a !important; }
.vh__cal .rw-pt.rw-pk,
.vh__cal .rw-pt.rw-rt { background: linear-gradient(135deg, #e9bd54 50%, rgba(255, 255, 255, .12) 50%) !important; color: #1a1305 !important; }

/* legenda */
.vh__cal .rw-leg { color: rgba(255, 255, 255, .45) !important; }
.vh__cal .rw-lc-free { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35) !important; }
.vh__cal .rw-lc-pend { background: rgba(255, 255, 255, .16) !important; }
.vh__cal .rw-lc-book { background: rgba(255, 255, 255, .32) !important; }

/* --- Sidebar: nagłówek, kroki --- */
.vh__cal .rw-sb-hdr { border-bottom: 1px solid rgba(255, 255, 255, .09) !important; }
.vh__cal .rw-sb-name { color: #fff !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
.vh__cal .rw-badge { border-radius: 999px !important; font-weight: 600 !important; letter-spacing: .04em !important; }
.vh__cal .rw-badge-green { background: rgba(63, 161, 78, .16) !important; color: #6fd08a !important; }
.vh__cal .rw-badge-red { background: rgba(220, 60, 60, .14) !important; color: #ef8f8f !important; }
.vh__cal .rw-badge-orange { background: rgba(194, 154, 63, .16) !important; color: #e9c979 !important; }

.vh__cal .rw-step-dot {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    color: rgba(255, 255, 255, .55) !important;
    font-weight: 500 !important;
}
.vh__cal .rw-step-dot.rw-on,
.vh__cal .rw-step-dot[class*="active"] {
    background: linear-gradient(135deg, #e9bd54, #c29a3f) !important;
    border-color: transparent !important;
    color: #1a1305 !important;
    font-weight: 600 !important;
}
.vh__cal .rw-step-line { background: rgba(255, 255, 255, .12) !important; }

.vh__cal .rw-sb-title { color: #fff !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
.vh__cal .rw-sb-desc,
.vh__cal .rw-sb-info { color: rgba(255, 255, 255, .5) !important; }

/* pola ODBIÓR / ZWROT */
.vh__cal .rw-sb-field {
    background: rgba(255, 255, 255, .035) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.vh__cal .rw-sb-field-label { color: rgba(255, 255, 255, .42) !important; font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: .14em !important; }
.vh__cal .rw-sb-field-val { color: #fff !important; }

/* --- Formularz --- */
.vh__cal .rw-frm input,
.vh__cal .rw-frm textarea,
.vh__cal .rw-field input,
.vh__cal .rw-field textarea {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 10px !important;
    color: #fff !important;
    box-shadow: none !important;
}
.vh__cal .rw-frm input:focus,
.vh__cal .rw-frm textarea:focus,
.vh__cal .rw-field input:focus,
.vh__cal .rw-field textarea:focus { border-color: #c29a3f !important; outline: none !important; }
.vh__cal .rw-frm input::placeholder,
.vh__cal .rw-frm textarea::placeholder { color: rgba(255, 255, 255, .32) !important; }

.vh__cal .rw-checkbox { background: rgba(255, 255, 255, .04) !important; border: 1px solid rgba(255, 255, 255, .3) !important; border-radius: 5px !important; }
.vh__cal .rw-check.checked .rw-checkbox { background: linear-gradient(135deg, #e9bd54, #c29a3f) !important; border-color: transparent !important; }
.vh__cal .rw-check.checked .rw-checkbox svg { color: #1a1305 !important; stroke: #1a1305 !important; }
.vh__cal .rw-check-label { color: rgba(255, 255, 255, .6) !important; }
.vh__cal .rw-check-label a { color: rgba(255, 255, 255, .85) !important; }
.vh__cal .rw-check-label a:hover { color: #c29a3f !important; }

/* siatka godzin */
.vh__cal .rw-tgrid-btn {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, .8) !important;
}
.vh__cal .rw-tgrid-btn:hover { border-color: rgba(194, 154, 63, .6) !important; color: #e9c979 !important; }
.vh__cal .rw-tgrid-btn.active { background: linear-gradient(135deg, #e9bd54, #c29a3f) !important; border-color: transparent !important; color: #1a1305 !important; font-weight: 600 !important; transform: none !important; }

/* extras */
.vh__cal .rw-ex { background: rgba(255, 255, 255, .03) !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 10px !important; }
.vh__cal .rw-ex:hover { border-color: rgba(255, 255, 255, .25) !important; }
.vh__cal .rw-ex-ico { color: #c29a3f !important; }

/* podsumowanie */
.vh__cal .rw-summary,
.vh__cal .rw-sum-row { color: rgba(255, 255, 255, .75) !important; }
.vh__cal .rw-sum-label { color: rgba(255, 255, 255, .5) !important; }
.vh__cal .rw-sum-divider { background: rgba(255, 255, 255, .1) !important; }

/* --- Przyciski: styl Ferrum (skos + złoto) --- */
.vh__cal .rw-btn {
    background: linear-gradient(135deg, #e9bd54 0%, #c29a3f 45%, #a37f2e 100%) !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .22) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
    box-shadow: none !important;
    transition: filter .2s ease !important;
}
.vh__cal .rw-btn:hover:not(:disabled) { filter: brightness(1.07) !important; }
.vh__cal .rw-btn:disabled { filter: grayscale(.6) brightness(.7) !important; }

.vh__cal .rw-btn2 {
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px) !important;
}
.vh__cal .rw-btn2:hover { box-shadow: inset 0 0 0 1px #c29a3f !important; color: #fff !important; }

/* sukces */
.vh__cal .rw-ok h3 { color: #fff !important; }
.vh__cal .rw-ok-num { color: #c29a3f !important; }

/* powered by */
.vh__cal .rw-pw { color: rgba(255, 255, 255, .3) !important; }
.vh__cal .rw-pw-logo { opacity: .6 !important; }

/* loader */
.vh__cal .rw-load { color: rgba(255, 255, 255, .5) !important; }
.vh__cal .rw-spin { border-color: rgba(194, 154, 63, .25) !important; border-top-color: #c29a3f !important; }
