/* ============================================================
   L3C Booking Widget — shortcode [l3c_booking]
   Extracted from functions.php (audit #29)
   ============================================================ */

.l3c-widget {
    --l3c-red: #b32734;
    --l3c-red-dark: #8f1f29;
    --l3c-ink: #1f2937;
    --l3c-muted: #6b7280;
    --l3c-border: #e5e7eb;
    --l3c-bg: #fff;

    display: block;
    max-width: 900px;
    margin: 0 auto;
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--l3c-ink);
    text-decoration: none;
    cursor: pointer;
}
.l3c-widget:hover,
.l3c-widget:focus {
    text-decoration: none;
    color: var(--l3c-ink);
    outline: none;
}

.l3c-card {
    background: var(--l3c-bg);
}

.l3c-title {
    margin: 0 0 16px;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--l3c-ink);
}

.l3c-row {
    display: grid;
    gap: 10px;
    align-items: stretch;
}
.l3c-row--dates {
    grid-template-columns: 1fr auto 1fr;
    margin-bottom: 10px;
}
.l3c-row--guests {
    grid-template-columns: minmax(0, 1fr) 2fr;
}

.l3c-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid var(--l3c-border);
    color: var(--l3c-red);
    transition: background .25s, transform .3s, color .25s;
}
.l3c-arrow svg {
    width: 16px;
    height: 16px;
}
.l3c-widget:hover .l3c-arrow {
    background: var(--l3c-red);
    color: #fff;
    transform: rotate(360deg);
}

.l3c-field {
    position: relative;
    background: #fff;
    border: 1px solid var(--l3c-border);
    border-radius: 12px;
    padding: 12px 14px 12px 52px;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color .2s, background .2s;
}
.l3c-field::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: var(--l3c-border);
}
.l3c-widget:hover .l3c-field {
    border-color: #cbd5e1;
}
.l3c-widget:hover .l3c-field::before {
    background: #cbd5e1;
}

.l3c-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--l3c-red);
}

.l3c-field__label {
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--l3c-muted);
    margin-bottom: 2px;
}
.l3c-field__placeholder {
    font-size: .95rem;
    color: #9ca3af;
}
.l3c-field__value {
    font-size: .95rem;
    color: var(--l3c-ink);
    font-weight: 500;
}

.l3c-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--l3c-red);
    color: #fff;
    border-radius: 50px;
    padding: 0 32px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
    transition: background .2s, transform .2s;
}
.l3c-search svg {
    width: 18px;
    height: 18px;
}
.l3c-widget:hover .l3c-search {
    background: var(--l3c-red-dark);
}

.l3c-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    background: var(--l3c-red);
    color: #fff;
    border-radius: 50px;
    padding: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(179, 39, 52, .25);
}
.l3c-cta svg {
    width: 18px;
    height: 18px;
    transition: transform .25s;
}
.l3c-widget:hover .l3c-cta {
    background: var(--l3c-red-dark);
    box-shadow: 0 8px 22px rgba(179, 39, 52, .35);
}
.l3c-widget:hover .l3c-cta svg {
    transform: translateX(4px);
}
.l3c-widget:active .l3c-cta {
    transform: scale(.99);
}

@media (max-width: 720px) {
    .l3c-row--dates {
        grid-template-columns: 1fr;
    }
    .l3c-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }
    .l3c-widget:hover .l3c-arrow {
        transform: rotate(450deg);
    }
    .l3c-row--guests {
        grid-template-columns: 1fr;
    }
    .l3c-search {
        padding: 14px;
    }
}
