/* e-appointment — public styles */
.ea-card {
    @apply bg-white rounded-xl border border-gray-200 shadow-sm;
}
.ea-btn-primary {
    @apply inline-flex items-center justify-center rounded-xl bg-ea-600 text-white font-semibold hover:bg-ea-700 transition focus:outline-none focus:ring-2 focus:ring-ea-500 focus:ring-offset-2;
}
.ea-slot-btn {
    @apply font-medium text-gray-700;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fallback when not using Tailwind build — minimal utilities */
body.font-sarabun { font-family: 'Sarabun', sans-serif; }
.bg-ea-50 { background-color: #eff6ff; }
.bg-ea-100 { background-color: #dbeafe; }
.bg-ea-600 { background-color: #2563eb; }
.bg-ea-700 { background-color: #1d4ed8; }
.bg-ea-800 { background-color: #1e40af; }
.bg-ea-900 { background-color: #1e3a8a; }
.text-ea-600 { color: #2563eb; }
.text-ea-700 { color: #1d4ed8; }
.text-ea-800 { color: #1e40af; }
.text-ea-900 { color: #1e3a8a; }
.border-ea-100 { border-color: #dbeafe; }
.border-ea-200 { border-color: #bfdbfe; }
.hover\:border-ea-300:hover { border-color: #93c5fd; }
.hover\:border-ea-400:hover { border-color: #60a5fa; }
.hover\:bg-ea-50:hover { background-color: #eff6ff; }
.hover\:text-ea-600:hover { color: #2563eb; }
.hover\:text-ea-800:hover { color: #1e40af; }
.hover\:bg-ea-700:hover { background-color: #1d4ed8; }
.focus\:ring-ea-500:focus { --tw-ring-color: #3b82f6; }

/* สีเขียวกระทรวงสาธารณสุข — หน้าเลือกช่องทาง */
.bg-moph-700 { background-color: #006b32; }
.ea-landing {
    background: linear-gradient(160deg, #00843d 0%, #006b32 45%, #004d26 100%);
}
.ea-landing-pattern {
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}
.ea-landing-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 10.5rem;
    padding: 1.75rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    color: #006b32;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ea-landing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    background: #ffffff;
}
.ea-landing-btn-icon {
    font-size: 2.25rem;
    line-height: 1;
}
.ea-landing-btn-logo {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.ea-landing-btn-logo--hospital {
    object-fit: contain;
    background: #ffffff;
    padding: 0.35rem;
}
.ea-landing-btn-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #005528;
    line-height: 1.3;
}
.ea-landing-btn-hint {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.35;
}
@media (min-width: 640px) {
    .ea-landing-btn {
        min-height: 11.5rem;
    }
    .ea-landing-btn-label {
        font-size: 1.375rem;
    }
}

/* ปุ่มดาวน์โหลด App Store / Google Play */
.ea-store-badge-link {
    display: inline-block;
    line-height: 0;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.ea-store-badge-link:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}
.ea-store-badge-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}
.ea-store-badge {
    display: block;
    width: auto;
    height: 3.25rem;
    max-width: 100%;
}
@media (min-width: 640px) {
    .ea-store-badge {
        height: 3.75rem;
    }
}

/* หน้านัดหมาย + ตรวจสอบสถานะ — Liquid Glass */
.ea-glass-body {
    background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 35%, #ffffff 65%, #dbeafe 100%);
    background-attachment: fixed;
}

.ea-glass-navbar {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 24px rgba(14, 116, 214, 0.08);
}

.ea-nav-logo {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    border-radius: 0.65rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.85);
    padding: 0.15rem;
}

.ea-nav-auth {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #1d4ed8 100%);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.ea-nav-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
    filter: brightness(1.05);
    color: #ffffff;
}
.ea-nav-auth--manage {
    background: linear-gradient(135deg, #059669 0%, #10b981 45%, #047857 100%);
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.3);
}
.ea-nav-auth--manage:hover {
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.38);
    color: #ffffff;
}

.ea-book-wrap {
    position: relative;
    min-height: calc(100vh - 3.5rem);
    overflow: hidden;
}

.ea-book-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ea-book-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: ea-orb-float 18s ease-in-out infinite;
}
.ea-book-orb--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -40px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
}
.ea-book-orb--2 {
    width: 320px;
    height: 320px;
    bottom: 10%;
    left: -80px;
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    animation-delay: -6s;
}
.ea-book-orb--3 {
    width: 200px;
    height: 200px;
    top: 45%;
    right: 10%;
    background: radial-gradient(circle, #a5f3fc 0%, transparent 70%);
    animation-delay: -12s;
}

@keyframes ea-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(12px, -18px) scale(1.05); }
    66% { transform: translate(-10px, 12px) scale(0.95); }
}

.ea-glass-header {
    text-align: center;
}

.ea-book-heading {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 0.75rem;
    background: linear-gradient(135deg, #0369a1 0%, #2563eb 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.ea-glass-card {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(224, 242, 254, 0.35) 100%
    );
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 1.25rem;
    padding: 1.35rem 1.25rem;
    box-shadow:
        0 8px 32px rgba(37, 99, 235, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 -1px 0 rgba(148, 163, 184, 0.08) inset;
}
.ea-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    border-radius: 999px;
}
.ea-glass-card--success {
    background: linear-gradient(
        135deg,
        rgba(236, 253, 245, 0.85) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(224, 242, 254, 0.4) 100%
    );
    border-color: rgba(167, 243, 208, 0.6);
}

.ea-glass-steps {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    padding: 0.75rem 0.5rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.ea-book-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.ea-glass-meta {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}
.ea-glass-meta strong {
    color: #0369a1;
}

.ea-book-single-dept-notice {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #0c4a6e;
    background: rgba(224, 242, 254, 0.85);
    border: 1px solid rgba(125, 211, 252, 0.7);
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
}
.ea-book-single-dept-notice strong {
    color: #0369a1;
    font-weight: 700;
}

.ea-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.ea-input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ea-input::placeholder {
    color: #94a3b8;
}
.ea-input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.8);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 4px 12px rgba(37, 99, 235, 0.08);
}
.ea-input--error {
    border-color: #f87171 !important;
    background: rgba(254, 242, 242, 0.85) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2) !important;
}
.ea-field-error {
    display: none;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #dc2626;
    line-height: 1.4;
}
.ea-field-error.is-visible {
    display: block;
}

.ea-gender-options {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.35rem;
}
.ea-gender-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0.85rem;
    border: 2px solid #cbd5e1;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}
.ea-gender-option--male {
    border-color: #60a5fa;
}
.ea-gender-option--female {
    border-color: #f472b6;
}
.ea-gender-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.ea-gender-option--male:hover {
    border-color: #3b82f6;
    background: rgba(239, 246, 255, 0.9);
    color: #1d4ed8;
}
.ea-gender-option--female:hover {
    border-color: #ec4899;
    background: rgba(253, 242, 248, 0.9);
    color: #be185d;
}
.ea-gender-option--male.is-selected {
    border-color: #2563eb;
    background: rgba(219, 234, 254, 0.95);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
    color: #1e40af;
}
.ea-gender-option--female.is-selected {
    border-color: #db2777;
    background: rgba(252, 231, 243, 0.95);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.18);
    color: #9d174d;
}
.ea-gender-option--error {
    border-color: #f87171 !important;
    background: rgba(254, 242, 242, 0.85) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15) !important;
}

.ea-glass-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0369a1;
    text-decoration: none;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(224, 242, 254, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ea-glass-back:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
}
.ea-glass-back--center {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ea-btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 0.875rem;
    cursor: pointer;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 45%, #1d4ed8 100%);
    box-shadow:
        0 4px 16px rgba(37, 99, 235, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.ea-btn-glass:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(37, 99, 235, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    filter: brightness(1.05);
}
.ea-btn-glass:active {
    transform: translateY(0);
}
.ea-btn-glass:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    filter: grayscale(0.15);
    transform: none;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.ea-confirm-cooldown {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    text-align: center;
    background: rgba(254, 243, 199, 0.55);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #92400e;
}
.ea-confirm-cooldown-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.ea-confirm-cooldown-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.15rem;
}
.ea-confirm-cooldown-text {
    margin: 0.45rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #b45309;
}

.ea-book-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 0.875rem;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.ea-book-option:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}
.ea-book-option-meta {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}

a.ea-book-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0369a1;
    text-decoration: none;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(224, 242, 254, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
a.ea-book-back:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
}

.ea-book-back-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.ea-book-back-row .ea-book-back {
    margin-top: 0;
}
.ea-book-date-chip {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: #0369a1;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(147, 197, 253, 0.7);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.ea-book-date-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.ea-book-date-chip.is-active {
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border-color: transparent;
}
.ea-book-empty-slots {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: rgba(254, 243, 199, 0.45);
    border: 1px solid rgba(251, 191, 36, 0.35);
}
.ea-slot {
    display: block;
    text-align: center;
    padding: 0.55rem 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.ea-slot--range {
    padding: 0.75rem 0.85rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: left;
}
.ea-slot:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.7);
    background: rgba(255, 255, 255, 0.85);
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.ea-book-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
}
.ea-book-step {
    text-align: center;
}
.ea-book-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(148, 163, 184, 0.25);
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.ea-book-step.is-active .ea-book-step-num {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
    border-color: transparent;
}
.ea-book-step.is-done .ea-book-step-num {
    background: linear-gradient(135deg, #60a5fa, #1d4ed8);
    color: #fff;
    border-color: transparent;
}
.ea-book-step-label {
    display: none;
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 0.3rem;
    line-height: 1.2;
}
.ea-book-step.is-active .ea-book-step-label {
    color: #0369a1;
    font-weight: 700;
}
.ea-book-step.is-done .ea-book-step-label {
    color: #2563eb;
}
@media (min-width: 480px) {
    .ea-book-step-label {
        display: block;
    }
}

.ea-summary {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}
.ea-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.ea-summary > div:last-child {
    border-bottom: none;
}
.ea-summary dt {
    color: #64748b;
}
.ea-summary dd {
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

.ea-book-code {
    display: inline-block;
    font-family: ui-monospace, monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1e40af;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(224, 242, 254, 0.6));
    border: 1px solid rgba(147, 197, 253, 0.6);
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

.ea-success-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #059669);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35);
}
.ea-success-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #047857;
    margin-bottom: 0.35rem;
}
.ea-success-text {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}
.ea-success-note {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 1rem;
}

.ea-glass-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ea-glass-alert--success {
    background: rgba(236, 253, 245, 0.75);
    border: 1px solid rgba(167, 243, 208, 0.6);
    color: #047857;
}

.ea-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

.ea-book-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.ea-book-modal[hidden] {
    display: none !important;
}
body.ea-book-modal-open {
    overflow: hidden;
}
.ea-book-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ea-book-modal-panel {
    position: relative;
    width: 100%;
    max-width: 24rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.1rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    animation: ea-book-modal-in 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.ea-book-modal-body {
    padding: 1.25rem 1.25rem 0.75rem;
}
.ea-book-success-summary {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.ea-book-modal-footer {
    padding: 0.75rem 1.25rem 1.25rem;
}
.ea-status-modal-icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.ea-status-modal-hint {
    color: #b45309;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    line-height: 1.5;
}
.ea-status-modal-icon--ban + .ea-success-title {
    color: #b91c1c;
}
@keyframes ea-book-modal-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
