:root {
    --fc-swal-surface: #ffffff;
    --fc-swal-text: #273142;
    --fc-swal-muted: #5f6c7b;
    --fc-swal-border: rgba(39, 49, 66, 0.08);
    --fc-swal-shadow: 0 22px 54px rgba(15, 23, 42, 0.18);
    --fc-swal-toast-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
    background: rgba(15, 23, 42, 0.34) !important;
    backdrop-filter: blur(3px);
}

.fc-swal-popup {
    border: 1px solid var(--fc-swal-border);
    border-radius: 18px;
    background: var(--fc-swal-surface);
    box-shadow: var(--fc-swal-shadow);
    padding: 1.5rem 1.5rem 1.2rem;
}

.fc-swal-popup .swal2-icon {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
}

.fc-swal-title {
    color: var(--fc-swal-text);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.fc-swal-html {
    color: var(--fc-swal-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.fc-swal-actions {
    gap: 12px;
    margin-top: 1.5rem;
}

.fc-swal-confirm,
.fc-swal-cancel {
    margin: 0 !important;
    min-width: 138px;
    padding: 0.88rem 1.4rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

.fc-swal-popup .swal2-close {
    color: #8a94a6;
    transition: color 0.18s ease, transform 0.18s ease;
}

.fc-swal-popup .swal2-close:hover {
    color: var(--fc-swal-text);
    transform: scale(1.05);
}

.fc-swal-toast {
    border: 1px solid var(--fc-swal-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fc-swal-toast-shadow);
    padding: 0.7rem 0.85rem !important;
}

.fc-swal-toast .swal2-title {
    color: var(--fc-swal-text);
    font-size: 0.98rem;
    font-weight: 700;
}

.fc-swal-toast .swal2-html-container {
    color: var(--fc-swal-muted);
    font-size: 0.92rem;
}

.fc-swal-toast .swal2-icon {
    margin: 0.1rem 0.55rem 0.1rem 0 !important;
}

.fc-swal-toast .swal2-timer-progress-bar {
    background: rgba(39, 49, 66, 0.18) !important;
}

@media (max-width: 640px) {
    .fc-swal-popup {
        width: calc(100% - 24px) !important;
        padding: 1.25rem 1.1rem 1rem;
    }

    .fc-swal-title {
        font-size: 1.28rem;
    }

    .fc-swal-actions {
        gap: 10px;
    }

    .fc-swal-confirm,
    .fc-swal-cancel {
        min-width: 124px;
    }
}
