/*
 * Brand theme for SweetAlert2 popups — applied through the AppSwal mixin
 * (public/js/app-swal.js), which maps these classes via customClass and
 * disables the default button styling.
 */

.app-swal-popup {
    border-radius: 20px;
    padding: 34px 30px 30px;
    box-shadow: 0 10px 40px rgba(52, 52, 52, .18);
    font-family: Questrial, sans-serif;
}

.app-swal-title {
    font-family: Raleway, sans-serif;
    font-weight: 700;
    color: #343434;
    font-size: 22px;
}

.app-swal-text {
    color: #6f6f6f;
    font-size: 15px;
    line-height: 1.5;
}

/* ---- buttons (pill pair matching .btn-green / outline buttons) ---- */

.app-swal-popup .swal2-actions {
    gap: 10px;
    margin-top: 24px;
}

.app-swal-confirm,
.app-swal-cancel {
    border-radius: 26px;
    padding: 12px 32px;
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .15s;
}

.app-swal-confirm {
    background: #049406;
    border: 1px solid #049406;
    color: #fff;
}

.app-swal-confirm:hover {
    background: #035a36;
    border-color: #035a36;
}

.app-swal-confirm.app-swal-confirm--danger {
    background: #dd4d42;
    border-color: #dd4d42;
}

.app-swal-confirm.app-swal-confirm--danger:hover {
    background: #c43c32;
    border-color: #c43c32;
}

.app-swal-cancel {
    background: #fff;
    border: 1px solid #c8c8c8;
    color: #343434;
}

.app-swal-cancel:hover {
    border-color: #049406;
    color: #049406;
}

/* ---- icons in brand colours ---- */

.app-swal-popup .swal2-icon.swal2-success {
    border-color: rgba(4, 148, 6, .3);
    color: #049406;
}

.app-swal-popup .swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #049406;
}

.app-swal-popup .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(4, 148, 6, .3);
}

.app-swal-popup .swal2-icon.swal2-error {
    border-color: rgba(221, 77, 66, .4);
    color: #dd4d42;
}

.app-swal-popup .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #dd4d42;
}

.app-swal-popup .swal2-icon.swal2-warning {
    border-color: rgba(255, 168, 0, .4);
    color: #ffa800;
}
