/* Global SweetAlert (v1) theme aligned with EML design system */
.swal-overlay {
    background: rgba(9, 14, 24, 0.72);
    backdrop-filter: blur(2px);
}

.swal-modal {
    width: min(92vw, 34rem);
    border: 1px solid rgba(229, 193, 146, 0.38);
    border-radius: 1rem;
    background:
        radial-gradient(circle at top right, rgba(229, 193, 146, 0.14), transparent 42%),
        linear-gradient(160deg, rgba(17, 26, 43, 0.96), rgba(20, 36, 52, 0.96));
    box-shadow: 0 22px 48px rgba(3, 7, 15, 0.6);
    padding: 0.25rem 0.2rem 0.4rem;
}

.swal-icon {
    border-width: 3px;
}

.swal-icon--warning {
    border-color: rgba(229, 193, 146, 0.95);
}

.swal-icon--warning__body,
.swal-icon--warning__dot {
    background-color: rgba(229, 193, 146, 0.95);
}

.swal-title {
    margin: 0.2rem 1rem 0.7rem;
    color: #f2d4ad;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.swal-text {
    margin: 0 1rem;
    border: 1px solid rgba(229, 193, 146, 0.32);
    border-radius: 0.7rem;
    background: rgba(229, 193, 146, 0.12);
    color: #f6efe4;
    font-family: "Lora", serif;
    font-size: 1.02rem;
    line-height: 1.55;
    padding: 0.9rem 1rem;
}

.swal-footer {
    border-top: 0;
    margin-top: 0.85rem;
    padding: 0 1rem 1rem;
}

.swal-button-container {
    margin: 0;
}

.swal-button {
    min-width: 8rem;
    border-radius: 999px;
    border: 1px solid rgba(229, 193, 146, 0.55);
    background: linear-gradient(90deg, #d8b277, #e7c89a);
    color: #121a2b;
    font-family: "Lora", serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.6rem 1.15rem;
    transition: transform 0.16s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.swal-button:not([disabled]):hover {
    transform: translateY(-1px);
    filter: saturate(1.06);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34);
}

.swal-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(229, 193, 146, 0.28);
}

.swal-button--cancel {
    background: transparent;
    color: #e6cfaf;
    border-color: rgba(229, 193, 146, 0.45);
}

.swal-button--cancel:not([disabled]):hover {
    background: rgba(229, 193, 146, 0.14);
}
