/* Lab services request form (resources/views/lab_services/add_lab_service_request.blade.php) */
.lr-page { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; padding-top: 56px; padding-bottom: 80px; }

/* left panel */
.lr-aside { position: sticky; top: 150px; }
.lr-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0070ad; }
.lr-h2 { font-size: 1.7rem; font-weight: 600; line-height: 1.25; color: #0b2a4a; margin: 0 0 10px; }
.lr-lead { color: #4a5563; line-height: 1.7; margin: 0 0 24px; }
.lr-steps { list-style: none; margin: 0 0 28px; padding: 0; }
.lr-steps li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.lr-steps li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: #e3e9f1; }
.lr-steps span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #e8f2f9; color: #0070ad; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.lr-steps strong { display: block; color: #0b2a4a; font-weight: 600; margin-top: 4px; }
.lr-steps p { margin: 2px 0 0; color: #5b6573; font-size: .93rem; }
.lr-contact { border: 1px solid #e3e9f1; border-radius: 10px; padding: 16px 18px; background: #f7f9fc; display: grid; gap: 8px; }
.lr-contact-title { margin: 0 0 2px; font-weight: 600; color: #0b2a4a; }
.lr-contact a { display: inline-flex; align-items: center; gap: 8px; color: #0070ad; text-decoration: none; font-size: .95rem; overflow-wrap: anywhere; }
.lr-contact a:hover { text-decoration: underline; }

/* form */
.lr-form { background: #fff; border: 1px solid #e3e9f1; border-radius: 14px; padding: 32px; box-shadow: 0 10px 30px rgba(11, 42, 74, .06); }
.lr-form fieldset { margin: 0 0 8px; padding: 0 0 20px; border: 0; border-bottom: 1px solid #eef2f7; }
.lr-form fieldset + fieldset { padding-top: 20px; }
.lr-form legend { float: none; width: auto; margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; color: #0b2a4a; }
.lr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.lr-field { margin-bottom: 14px; }
.lr-field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: #2b3442; }
.lr-req { color: #c0392b; }
.lr-optional { font-weight: 400; color: #8a96a6; }
.lr-form .form-control, .lr-form .form-select {
    height: 44px; border: 1px solid #d5dde8; border-radius: 8px; font-size: .95rem; color: #0b2a4a; box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lr-form textarea.form-control { height: auto; min-height: 44px; padding-top: 10px; resize: vertical; }
.lr-form .form-control:focus, .lr-form .form-select:focus { border-color: #0070ad; box-shadow: 0 0 0 3px rgba(0, 112, 173, .12); }
.lr-form .form-control.is-invalid, .lr-form .form-select.is-invalid { border-color: #c0392b; background-image: none; padding-right: .75rem; }
.lr-error { margin: 4px 0 0; min-height: 0; font-size: .82rem; color: #c0392b; }
.lr-error:empty { display: none; }
.lr-inline { display: flex; gap: 8px; }
.lr-inline .form-control { flex: 1 1 auto; min-width: 0; }

/* verify */
.lr-verify { background: #f5f9fd; border: 1px solid #d8e7f4 !important; border-radius: 10px; padding: 16px 18px 6px !important; margin: 20px 0 8px !important; }
.lr-verify legend { font-size: .98rem; margin-bottom: 4px; }
.lr-hint { margin: 0 0 10px; font-size: .88rem; color: #5b6573; }
.lr-otp-field { max-width: 220px; }
.lr-otp { letter-spacing: .4em; font-size: 1.15rem !important; font-weight: 600; text-align: center; }
.lr-link { border: 0; background: none; padding: 0; color: #0070ad; font-weight: 500; text-decoration: underline; cursor: pointer; }

/* buttons */
.lr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; font-size: .95rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.lr-btn:disabled { opacity: .7; cursor: default; }
.lr-btn-primary { background: #142D41; color: #fff; border: 1px solid #142D41; min-width: 180px; }
.lr-btn-primary:hover:not(:disabled) { background: #0b2a4a; box-shadow: 0 4px 14px rgba(20, 45, 65, .25); }
.lr-btn-outline { background: #fff; color: #142D41; border: 1px solid #c9d4e2; }
.lr-btn-outline:hover:not(:disabled) { border-color: #142D41; }

.lr-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 20px; flex-wrap: wrap; }
.lr-privacy { margin: 0; font-size: .85rem; color: #6b7684; max-width: 420px; }
.lr-privacy a { color: #0070ad; }

@media (max-width: 991.98px) {
    .lr-page { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
    .lr-aside { position: static; }
    .lr-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .lr-steps li { flex-direction: column; gap: 6px; padding-bottom: 0; }
    .lr-steps li::before { display: none; }
}
@media (max-width: 575.98px) {
    .lr-form { padding: 20px 16px; border-radius: 10px; }
    .lr-grid { grid-template-columns: 1fr; }
    .lr-steps { grid-template-columns: 1fr; }
    .lr-steps li { flex-direction: row; }
    .lr-submit { flex-direction: column; align-items: stretch; }
    .lr-btn-primary { width: 100%; }
}
