/* ── LNS Appointment Form ─────────────────────────────────────────────────── */
:root {
    --lns-orange:    #F47432;
    --lns-orange-dk: #d95e1c;
    --lns-bg:        #f2f2f8;
    --lns-white:     #ffffff;
    --lns-gray:      #ebebeb;
    --lns-gray-dk:   #c8c8c8;
    --lns-text:      #444444;
    --lns-radius:    50px;
    --lns-radius-sm: 12px;
}

.lns-appt-wrap {
    display: flex;
    align-items: stretch;
    background: var(--lns-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,.10);
    max-width: 820px;
    margin: 30px auto;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* ── Left accent panel ────────────────────────────────────────────────────── */
.lns-appt-side {
    background: var(--lns-orange);
    width: 140px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    gap: 18px;
}

.lns-appt-side-icon svg {
    width: 60px;
    height: 60px;
}

.lns-appt-side-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    letter-spacing: .3px;
}

/* ── Form panel ───────────────────────────────────────────────────────────── */
.lns-appt-form-wrap {
    flex: 1;
    background: var(--lns-bg);
    padding: 28px 30px 24px;
}

.lns-appt-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.lns-appt-row-3 .lns-appt-field { flex: 1; }
.lns-appt-row-2 .lns-appt-field { flex: 1; }

.lns-appt-field {
    flex: 1;
    position: relative;
}

/* ── Inputs ───────────────────────────────────────────────────────────────── */
.lns-appt-form-wrap input[type="text"],
.lns-appt-form-wrap input[type="tel"],
.lns-appt-form-wrap input[type="email"],
.lns-appt-form-wrap input[type="date"],
.lns-appt-form-wrap select {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: var(--lns-radius);
    background: var(--lns-white);
    font-size: 14px;
    color: var(--lns-text);
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    transition: box-shadow .2s;
}

.lns-appt-form-wrap input[type="text"]:focus,
.lns-appt-form-wrap input[type="tel"]:focus,
.lns-appt-form-wrap input[type="email"]:focus,
.lns-appt-form-wrap input[type="date"]:focus,
.lns-appt-form-wrap select:focus {
    box-shadow: 0 0 0 2px var(--lns-orange);
}

.lns-appt-form-wrap input::placeholder { color: #aaa; }

/* ── Select chevron ───────────────────────────────────────────────────────── */
.lns-appt-select-wrap { position: relative; }

.lns-appt-chevron {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
    font-size: 13px;
}

.lns-appt-select-wrap select { padding-right: 40px; }

/* ── Submit button ────────────────────────────────────────────────────────── */
.lns-appt-btn {
    background: var(--lns-orange);
    color: #fff;
    border: none;
    border-radius: var(--lns-radius);
    padding: 13px 42px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lns-appt-btn:hover  { background: var(--lns-orange-dk); }
.lns-appt-btn:active { transform: scale(.98); }
.lns-appt-btn:disabled { opacity: .7; cursor: not-allowed; }

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.lns-appt-success,
.lns-appt-error {
    border-radius: var(--lns-radius-sm);
    padding: 12px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
}

.lns-appt-success { background: #e6f7ee; color: #1a7c3e; border: 1px solid #a3d9b7; }
.lns-appt-error   { background: #fff0f0; color: #c0392b; border: 1px solid #f5c0bb; }

/* ── Date input placeholder fix ───────────────────────────────────────────── */
input[type="date"]:not([value]):not(:focus) { color: #aaa; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .lns-appt-wrap  { flex-direction: column; }
    .lns-appt-side  { width: 100%; flex-direction: row; padding: 18px 24px; }
    .lns-appt-row   { flex-direction: column; }
    .lns-appt-row-2 { flex-direction: row; }
}

@media (max-width: 420px) {
    .lns-appt-form-wrap { padding: 20px 16px; }
    .lns-appt-row-2     { flex-direction: column; }
}

/* ── Doctor availability hint ─────────────────────────────────────────────── */
.lns-appt-avail-hint {
    font-size: 12.5px;
    color: #e05a10;
    font-weight: 500;
    margin: -8px 0 10px 4px;
    min-height: 18px;
    letter-spacing: .2px;
}
