/* ==========================================================================
   Půjčovna techniky Lochy – jediný zdroj stylů modulu Pujcovna.
   Nasazuje se do www/data/css/pujcovna/style.css (viz assets/README.md).
   Konvence tříd: .pl-* pro obsah, chrome (hlavička/patička) bez prefixu.
   ========================================================================== */

:root {
    --pl-green-950: #06271d;
    --pl-green-900: #073c2b;
    --pl-green-800: #0b4d35;
    --pl-green: #4d9b20;
    --pl-green-light: #83c83e;
    --pl-text: #202625;
    --pl-muted: #66716c;
    --pl-border: #e1e6e3;
    --pl-radius: 14px;
    --pl-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

/* --- základ ------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    color: var(--pl-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* --- hlavička ----------------------------------------------------------- */

.site-header {
    background: rgba(6, 39, 29, .98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}

.site-header .navbar { min-height: 72px; }

.site-header .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

.site-header .navbar-brand:hover { color: #fff; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--pl-green);
}

.site-header .nav-link {
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
}

.site-header .nav-link:hover,
.site-header .nav-link.active { color: #9edb52; }

.site-header .navbar-toggler {
    color: #fff;
    border-color: rgba(255, 255, 255, .25);
}

.site-header__phone {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.site-header__phone:hover { color: #9edb52; }

/* --- patička ------------------------------------------------------------ */

.footer {
    background: #041c15;
    color: rgba(255, 255, 255, .65);
    padding: 20px 0;
    font-size: .8rem;
}

.footer a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
}

.footer a:hover { color: #9edb52; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }

/* --- sekce -------------------------------------------------------------- */

.pl-section { padding: 90px 0; }
.pl-bg-light { background: #f7f9f8; }

/* --- hero --------------------------------------------------------------- */

.pl-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    color: #fff;
    /* Plná barva je fallback: hero je čitelné i bez obrázku.
       Až budeš mít fotku, nahraď cestu za /data/img/pujcovna/hero.jpg. */
    background-color: var(--pl-green-950);
    background-image: url("/data/img/pujcovna/hero.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.pl-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 30, 22, .9), rgba(4, 30, 22, .35));
}

.pl-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 100px 0;
}

.pl-eyebrow,
.pl-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 800;
    color: var(--pl-green);
    margin-bottom: 10px;
}

.pl-hero .pl-eyebrow { color: #a4d95a; }

.pl-hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 800;
    margin-bottom: 22px;
}

.pl-hero h1 span { color: #a4d95a; }

.pl-hero p {
    font-size: 1.2rem;
    max-width: 620px;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 32px;
}

/* --- tlačítka ----------------------------------------------------------- */

.btn-pl-primary {
    --bs-btn-bg: var(--pl-green);
    --bs-btn-border-color: var(--pl-green);
    --bs-btn-hover-bg: var(--pl-green-light);
    --bs-btn-hover-border-color: var(--pl-green-light);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    font-weight: 700;
    border-radius: 8px;
}

/* --- nadpisy sekcí ------------------------------------------------------ */

.pl-section-heading { margin-bottom: 45px; }
.pl-section-heading h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 0; }
.pl-line { width: 42px; height: 4px; background: var(--pl-green); border-radius: 10px; margin-top: 16px; }
.pl-section-heading.text-center .pl-line { margin-inline: auto; }
.pl-light h2 { color: #fff; }

/* --- karty kategorií ---------------------------------------------------- */

.pl-card {
    position: relative;
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    background: #fff;
    padding: 30px 24px 25px;
    text-align: center;
    transition: .2s ease;
}

.pl-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pl-shadow);
    border-color: #b8d99a;
}

.pl-category-card { display: flex; flex-direction: column; }
.pl-category-card > a { margin-top: auto; }

.pl-category-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef7e8;
    color: var(--pl-green-800);
    font-size: 2rem;
}

.pl-category-photo {
    height: 150px;
    margin: -8px -8px 18px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

/* contain, ať se stroj neořízne; u fotek přepni na cover */
.pl-category-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }

.pl-card h3 { font-size: 1.08rem; font-weight: 800; }
.pl-card p { color: var(--pl-muted); font-size: .9rem; min-height: 66px; }
.pl-card > a.btn { align-self: center; }

/* --- proč my ------------------------------------------------------------ */

.pl-benefits {
    padding: 80px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--pl-green-950), var(--pl-green-800));
}

.pl-benefit { text-align: center; height: 100%; }
.pl-benefit i { color: var(--pl-green-light); font-size: 2.1rem; }
.pl-benefit h3 { font-size: .95rem; font-weight: 800; margin-top: 12px; }
.pl-benefit p { color: rgba(255, 255, 255, .68); font-size: .78rem; }

/* --- ceník -------------------------------------------------------------- */

.pl-table-wrap {
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    overflow: hidden;
    background: #fff;
}

.pl-price-table thead th {
    background: var(--pl-green-800);
    color: #fff;
    border: 0;
    padding: 15px 18px;
}

.pl-price-table td { padding: 14px 18px; border-color: var(--pl-border); }

/* --- formuláře ---------------------------------------------------------- */

.pl-form-card {
    padding: 34px;
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    background: #fff;
    box-shadow: var(--pl-shadow);
}

.pl-form-card label { font-weight: 600; }

.form-control,
.form-select {
    min-height: 48px;
    border-color: #d7dfdb;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pl-green);
    box-shadow: 0 0 0 .2rem rgba(77, 155, 32, .14);
}

/* --- pole formuláře ------------------------------------------------------ */

.pl-field { margin-bottom: 14px; }
.pl-field__label { display: block; font-size: .8rem; font-weight: 600; color: var(--pl-muted); margin-bottom: 4px; }
.pl-error { display: block; margin-top: 5px; font-size: .82rem; color: #b02a2a; }
.pl-error:empty { display: none; }

/* pole, které neprošlo validací */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #b02a2a;
    background-image: none;
    padding-right: .75rem;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #b02a2a;
    box-shadow: 0 0 0 .2rem rgba(176, 42, 42, .14);
}
.pl-hint { display: block; margin-top: 5px; font-size: .8rem; color: var(--pl-muted); }

/* stav dostupnosti URL slugu */
.pl-slug-status { display: block; margin-top: 5px; font-size: .8rem; color: var(--pl-muted); }
.pl-slug-status:empty { display: none; }
.pl-slug-status--free { color: #286515; }
.pl-slug-status--taken { color: #b02a2a; }
.pl-slug-status--adjusted { color: #8a5b12; }
.pl-slug-status--checking { color: var(--pl-muted); }

/* nahrání obrázku s náhledem aktuálního */
.pl-upload { display: flex; align-items: flex-start; gap: 12px; }
.pl-upload__input { flex: 1 1 auto; min-width: 0; }

.pl-upload__preview {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--pl-border);
    border-radius: 8px;
    background: #fff;
}

.pl-upload__preview img { width: 100%; height: 100%; object-fit: contain; }
.pl-hint code { font-size: .78rem; }
.pl-reservation-form .btn { margin-top: 6px; }

/* --- reference ----------------------------------------------------------- */

.pl-review {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 26px 24px;
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .04);
}

.pl-review__stars { color: #f0a92b; font-size: .95rem; letter-spacing: 1px; margin-bottom: 14px; }

.pl-review blockquote {
    margin: 0 0 20px;
    font-style: italic;
    color: var(--pl-text);
    font-size: .95rem;
    flex-grow: 1;
}

.pl-review figcaption { display: flex; align-items: center; gap: 12px; }
.pl-review figcaption strong { display: block; font-size: .92rem; }
.pl-review figcaption small { color: var(--pl-muted); font-size: .8rem; }

.pl-review__avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pl-green-800);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .04em;
}

/* --- FAQ ----------------------------------------------------------------- */

.pl-faq .accordion-item {
    border: 1px solid var(--pl-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 0;
}

.pl-faq .accordion-button {
    font-weight: 600;
    font-size: .98rem;
    padding: 17px 20px;
    background: #fff;
    color: var(--pl-text);
    box-shadow: none;
}

.pl-faq .accordion-button:not(.collapsed) { background: #f2f7ee; color: var(--pl-green-800); }
.pl-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(77, 155, 32, .14); }
.pl-faq .accordion-body { color: var(--pl-muted); font-size: .93rem; padding-top: 0; }

/* --- textové stránky ------------------------------------------------------ */

.pl-prose h2 { font-size: 1.3rem; font-weight: 800; margin: 34px 0 12px; }
.pl-prose h2:first-of-type { margin-top: 0; }
.pl-prose p, .pl-prose li { color: #3c4643; }
.pl-prose ul { padding-left: 20px; }
.pl-prose li { margin-bottom: 6px; }

/* --- hlavička podstránky ------------------------------------------------ */

.pl-page-header { padding: 60px 0 48px; background: #f3f7f4; }

/* Dlouhé názvy strojů se ve velkém písmu lámaly přes celou šířku. */
.pl-page-header h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
    max-width: 22ch;
}

.pl-page-header p { color: var(--pl-muted); max-width: 700px; margin: 12px 0 0; }

/* drobečková navigace */
.pl-breadcrumbs { margin-bottom: 14px; }

.pl-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .82rem;
}

.pl-breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--pl-border);
}

.pl-breadcrumbs a { color: var(--pl-muted); text-decoration: none; }
.pl-breadcrumbs a:hover { color: var(--pl-green-800); }
.pl-breadcrumbs span { color: var(--pl-text); font-weight: 600; }

.pl-back {
    color: var(--pl-green-800);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 18px;
}

/* --- katalog techniky --------------------------------------------------- */

.pl-equipment-card {
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .04);
}

.pl-equipment-card__image {
    height: 230px;
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--pl-border);
    display: grid;
    place-items: center;
    color: #609344;
    font-size: 3.5rem;
    overflow: hidden;
}

.pl-equipment-card__image img { width: 100%; height: 100%; object-fit: contain; }

.pl-status {
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 5px 9px;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 800;
    background: #f1f3f2;
    color: #55605a;
}

.pl-status--available { background: #e9f7df; color: #286515; }
.pl-status--rented { background: #fdecec; color: #a12525; }
.pl-status--service { background: #fff4e0; color: #8a5b12; }

.pl-detail-image {
    position: relative;
    width: 100%;
    /* Výška se přizpůsobí šířce okna – na mobilu nezabere půl obrazovky. */
    height: clamp(300px, 36vw, 440px);
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center;
    color: #609344;
    font-size: 5rem;
    padding: 24px;
    cursor: zoom-in;
    /* je to <button>, ať nepřebírá výchozí vzhled tlačítka */
    appearance: none;
    font-family: inherit;
    text-align: inherit;
}

.pl-detail-image:focus-visible { outline: 3px solid var(--pl-green); outline-offset: 2px; }

/*
 * Fotka se nikdy neořízne. Spolehnout se jen na object-fit nestačí –
 * u obrázků s jiným poměrem stran než má rámeček se okraje uřízly.
 */
.pl-detail-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pl-detail-image__zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 99px;
    background: rgba(6, 39, 29, .82);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity .15s ease;
}

.pl-detail-image:hover .pl-detail-image__zoom,
.pl-detail-image:focus-visible .pl-detail-image__zoom { opacity: 1; }

/* --- zvětšený obrázek ---------------------------------------------------- */

.pl-photo__body {
    padding: 0;
    overflow: hidden;
    background: #f7f9f8;
    cursor: zoom-in;
}

.pl-photo__body img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    transition: transform .18s ease;
}

.pl-photo__body.is-zoomed { cursor: zoom-out; }
.pl-photo__body.is-zoomed img { transform: scale(2.4); transition: none; }

.pl-photo__hint { color: var(--pl-muted); font-size: .82rem; }

/* Pravý sloupec detailu – karta, aby nepůsobil rozsypaně vedle velké fotky. */
.pl-detail-panel {
    padding: 28px;
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .04);
}

.pl-detail-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* uvnitř karty je štítek v normálním toku, ne absolutně nad fotkou */
.pl-detail-panel__head .pl-status { position: static; }

.pl-detail-panel__text {
    color: var(--pl-text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.pl-detail-panel__call {
    margin: 14px 0 0;
    text-align: center;
    color: var(--pl-muted);
    font-size: .86rem;
}

.pl-detail-panel__call a { color: var(--pl-green-800); font-weight: 600; }

.pl-detail-price {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 22px 0 0;
    color: var(--pl-green-800);
}

.pl-detail-price small { font-size: 1rem; color: var(--pl-muted); font-weight: 600; }

/* filtr kategorií nad katalogem */
.pl-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.pl-chip {
    padding: 7px 16px;
    border: 1px solid var(--pl-border);
    border-radius: 99px;
    background: #fff;
    color: var(--pl-text);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
}

.pl-chip:hover { border-color: var(--pl-green); color: var(--pl-green-800); }
.pl-chip.active { background: var(--pl-green-800); border-color: var(--pl-green-800); color: #fff; }

/* --- kalendář obsazenosti ------------------------------------------------ */

.pl-calendar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--pl-border);
    border-radius: 99px;
    background: #fff;
    color: var(--pl-green-800);
    font-size: .88rem;
    font-weight: 700;
}

.pl-calendar-toggle:hover { border-color: var(--pl-green); background: #f2f7ee; }
.pl-calendar-toggle i { font-size: 1.05rem; }

.pl-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;
    font-size: .82rem;
    color: var(--pl-muted);
}

.pl-calendar__legend span { display: inline-flex; align-items: center; gap: 7px; }

.pl-calendar__key {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--pl-border);
    background: #fff;
}

.pl-calendar__key--new { background: #ffe6bd; border-color: #e8c78a; }
.pl-calendar__key--confirmed { background: #f6c9c9; border-color: #e0a1a1; }
.pl-calendar__key--active { background: #e0908f; border-color: #c97a79; }

.pl-calendar__month { width: 100%; border-collapse: collapse; }

.pl-calendar__month caption {
    caption-side: top;
    padding-bottom: 10px;
    font-weight: 800;
    color: var(--pl-text);
    text-align: center;
}

.pl-calendar__month th {
    padding: 4px 0;
    font-size: .72rem;
    font-weight: 700;
    color: var(--pl-muted);
    text-align: center;
    text-transform: uppercase;
}

.pl-calendar__day,
.pl-calendar__empty {
    height: 32px;
    text-align: center;
    font-size: .82rem;
    border-radius: 6px;
}

.pl-calendar__day { color: var(--pl-text); }
.pl-calendar__day--weekend { color: var(--pl-muted); }
.pl-calendar__day--past { opacity: .35; }
.pl-calendar__day--today { outline: 2px solid var(--pl-green); outline-offset: -2px; font-weight: 800; }
.pl-calendar__day--new { background: #ffe6bd; }
.pl-calendar__day--confirmed { background: #f6c9c9; }
.pl-calendar__day--active { background: #e0908f; color: #fff; }

/* parametry stroje na detailu */
.pl-spec { list-style: none; padding: 0; margin: 18px 0 22px; }

.pl-spec li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--pl-border);
    font-size: .92rem;
}

.pl-spec li:last-child { border-bottom: 0; }

.pl-spec li span { color: var(--pl-muted); }

/* postranní panel u rezervace */
.pl-aside {
    padding: 26px;
    border: 1px solid var(--pl-border);
    border-radius: var(--pl-radius);
    background: #fff;
}

.pl-aside a { color: var(--pl-green-800); text-decoration: none; }
.pl-steps { padding-left: 18px; margin: 14px 0 0; color: var(--pl-muted); font-size: .92rem; }
.pl-steps li { margin-bottom: 7px; }

.pl-empty {
    padding: 50px 25px;
    text-align: center;
    border: 1px dashed var(--pl-border);
    border-radius: var(--pl-radius);
    color: var(--pl-muted);
}

/* --- kontakt ------------------------------------------------------------ */

.pl-contact { background: var(--pl-green-950); color: #fff; }
.pl-contact__info { padding: 65px; }
.pl-contact__info h2 { font-size: 2.4rem; font-weight: 800; }
.pl-contact__list { display: grid; gap: 18px; margin-top: 30px; }
.pl-contact__list > div { display: flex; gap: 14px; }
.pl-contact__list i { color: var(--pl-green-light); width: 22px; }
.pl-contact__list a { color: #fff; text-decoration: none; }
.pl-map, .pl-map iframe { min-height: 430px; width: 100%; border: 0; }

/* --- administrace: rám se sidebarem -------------------------------------- */

.pl-admin-body { background: #f5f7f6; }

.pl-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    padding: 22px 0;
    background: var(--pl-green-950);
    color: rgba(255, 255, 255, .72);
    overflow-y: auto;
    z-index: 1030;
    display: flex;
    flex-direction: column;
}

.pl-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 20px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
}

.pl-sidebar__nav { display: flex; flex-direction: column; }

.pl-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    font-size: .92rem;
    border-left: 3px solid transparent;
}

.pl-sidebar__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.pl-sidebar__link.active {
    color: #fff;
    background: rgba(131, 200, 62, .14);
    border-left-color: var(--pl-green-light);
    font-weight: 600;
}

.pl-sidebar__link i { width: 18px; color: var(--pl-green-light); }
.pl-sidebar__sep { margin: 14px 20px; border-color: rgba(255, 255, 255, .14); }

.pl-sidebar__user {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.pl-sidebar__who {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 10px;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
}

.pl-sidebar__who i { color: var(--pl-green-light); font-size: 1.1rem; }

.pl-sidebar__who small {
    display: block;
    color: var(--pl-green-light);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* --- přihlášení do administrace ------------------------------------------ */

.pl-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--pl-green-950), var(--pl-green-800));
}

.pl-login__card {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px 30px;
    border-radius: var(--pl-radius);
    background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}

.pl-login__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: var(--pl-text);
    text-decoration: none;
    font-weight: 600;
}

.pl-login__title { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.pl-login__subtitle { color: var(--pl-muted); font-size: .9rem; margin-bottom: 22px; }

.pl-login__back {
    display: block;
    margin-top: 20px;
    text-align: center;
    color: var(--pl-muted);
    font-size: .86rem;
    text-decoration: none;
}

.pl-login__back:hover { color: var(--pl-green-800); }

.pl-admin-main { margin-left: 240px; min-height: 100vh; }
.pl-admin-topbar { padding: 12px 20px 0; }

@media (max-width: 991.98px) {
    .pl-sidebar { position: static; width: 100%; }
    .pl-sidebar:not(.show) { display: none; }
    .pl-admin-main { margin-left: 0; }
}

/* --- administrace: obsah -------------------------------------------------- */

.pl-admin { min-height: 100vh; padding: 35px 0 70px; background: #f5f7f6; }

.pl-admin__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.pl-admin__header h1 { margin: 0; font-size: 2.3rem; font-weight: 800; }

.pl-stat {
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 12px;
    padding: 22px;
}

.pl-stat span { color: var(--pl-muted); display: block; font-size: .85rem; }
.pl-stat strong { display: block; font-size: 2rem; margin-top: 5px; }

.pl-admin-table {
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 12px;
    overflow: hidden;
}

.pl-admin-table th {
    background: #f4f7f5;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--pl-muted);
}

.pl-admin-thumb {
    display: grid;
    place-items: center;
    width: 48px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    background: #f2f7ee;
    flex: 0 0 auto;
}

.pl-admin-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* stavové štítky v tabulkách */
.pl-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 700;
    background: #f1f3f2;
    color: #55605a;
}

.pl-badge--available,
.pl-badge--confirmed { background: #e9f7df; color: #286515; }

.pl-badge--rented,
.pl-badge--active { background: #fdecec; color: #a12525; }

.pl-badge--service,
.pl-badge--new { background: #fff4e0; color: #8a5b12; }

.pl-badge--inactive,
.pl-badge--cancelled,
.pl-badge--returned { background: #eef0ef; color: #6a7370; }

/* --- mobil -------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .pl-section { padding: 65px 0; }
    .pl-hero { min-height: 570px; }
    .pl-hero__content { padding: 80px 0; }
    .pl-hero h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
    .pl-hero .btn { width: 100%; }
    .pl-form-card { padding: 24px 18px; }
    .pl-contact__info { padding: 45px 22px; }
    .pl-detail-image { height: 320px; }
    .pl-map, .pl-map iframe { min-height: 320px; }
    .pl-admin__header { align-items: start; flex-direction: column; }
}
