.swal-overlay {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(3px);
}

.swal-modal {
    width: 480px;
    max-width: calc(100vw - 32px);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.30);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.swal-title {
    margin: 0 !important;
    padding: 20px 24px 18px 24px;
    background: linear-gradient(135deg, #0f5f97 0%, #1387c8 55%, #1bb2df 100%) !important;
    color: #fff;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.25;
    text-align: left;
    letter-spacing: 0.01em;
}

.swal-text {
    margin: 22px 24px 8px 24px;
    color: #415466;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.swal-content {
    margin: 0;
    padding: 0 24px;
}

.swal-content:last-child {
    margin-bottom: 0;
}

.swal-footer {
    margin-top: 22px !important;
    padding: 18px 24px 24px 24px;
    border-top: 1px solid #e6edf5;
    background: rgba(247, 250, 252, 0.88);
    text-align: right;
}

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

.swal-button {
    min-width: 120px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.swal-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.swal-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(19, 135, 200, 0.18), 0 10px 24px rgba(15, 23, 42, 0.12);
}

.swal-button:active {
    transform: translateY(0);
}

.swal-button--confirm::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c\0020";
}

.swal-button--cancel::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d\0020";
}

.swal-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.swal-btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
}

.swal-btn-success {
    color: #fff;
    background: linear-gradient(135deg, #1f9d63 0%, #15803d 100%);
}

.swal-btn-success:hover {
    color: #fff;
    background: linear-gradient(135deg, #188454 0%, #166534 100%) !important;
}

.swal-btn-danger {
    color: #fff;
    background: linear-gradient(135deg, #e25545 0%, #c0392b 100%);
}

.swal-btn-danger:hover {
    color: #fff;
    background: linear-gradient(135deg, #cb4335 0%, #a93226 100%) !important;
}

.swal-btn-info {
    color: #fff;
    background: linear-gradient(135deg, #16a3d8 0%, #0e7490 100%);
}

.swal-btn-info:hover {
    color: #fff;
    background: linear-gradient(135deg, #0f8ab7 0%, #155e75 100%) !important;
}

.swal-btn-warning {
    color: #fff;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.swal-btn-warning:hover {
    color: #fff;
    background: linear-gradient(135deg, #e58a08 0%, #b45309 100%) !important;
}

.swal-text-success,
.swal-text-warning,
.swal-text-error {
    display: block;
    margin: 0;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.45;
}

.swal-text-success {
    font-size: 18px;
    color: #166534;
    font-weight: 700;
}

.swal-text-success::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f058\0020";
    color: #16a34a;
}

.swal-text-warning {
    font-size: 18px;
    color: #9a6700;
    font-weight: 700;
}

.swal-text-warning::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f071\0020";
    color: #f59e0b;
}

.swal-text-error {
    font-size: 19px !important;
    color: #b42318;
    font-weight: 700;
}

.swal-text-error::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f06a\0020";
    color: #e25545;
}

.swal-text-error-detail {
    margin: 10px 0 0 0;
    color: #667085;
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

@media (max-width: 540px) {
    .swal-modal {
        width: calc(100vw - 20px);
        border-radius: 16px;
    }

    .swal-title {
        padding: 18px 18px 16px 18px;
        font-size: 18px;
    }

    .swal-text,
    .swal-content {
        padding-left: 18px;
        padding-right: 18px;
        margin-left: 18px;
        margin-right: 18px;
    }

    .swal-text {
        margin-top: 18px;
    }

    .swal-footer {
        padding: 16px 18px 18px 18px;
    }

    .swal-button {
        min-width: 108px;
    }
}
