/* JTMS toast styles (from Timesheet css/components.css) — used by PopupAlert.js */

.custom-success-toast {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    min-width: 300px;
    background: white;
    border-left: 5px solid #28a745;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-success-toast .check-circle {
    width: 24px;
    height: 24px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.custom-success-toast .message {
    color: #333;
    font-size: 16px;
}

.custom-danger-toast {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
    min-width: 300px;
    background: white;
    border-left: 5px solid #FF2E2E;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-danger-toast .cross-circle {
    width: 24px;
    height: 24px;
    background: #FF2E2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.custom-danger-toast .message {
    color: #333;
    font-size: 16px;
}

/* PNotify 3 (bootstrap3 styling) — Timesheet-like toast stack */
.ui-pnotify {
    right: 18px !important;
    top: 18px !important;
    z-index: 100000 !important;
}

.ui-pnotify-container {
    background: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 18px rgba(15, 31, 51, 0.16) !important;
    border: 1px solid #e6ebf0 !important;
    border-left-width: 5px !important;
    padding: 12px 14px !important;
    min-width: 280px;
}

.ui-pnotify-success .ui-pnotify-container {
    border-left-color: #28a745 !important;
}

.ui-pnotify-error .ui-pnotify-container {
    border-left-color: #ff2e2e !important;
}

.ui-pnotify-warning .ui-pnotify-container {
    border-left-color: #f0ad4e !important;
}

.ui-pnotify-info .ui-pnotify-container {
    border-left-color: #17a2b8 !important;
}

.ui-pnotify-title {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #1f2a37 !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.ui-pnotify-text {
    font-size: 14px !important;
    color: #334155 !important;
}

.jtms-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.28);
}

.jtms-confirm {
    width: min(320px, calc(100vw - 32px));
    background: #d9eef6;
    border-radius: 2px;
    padding: 22px 16px 14px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.jtms-confirm h5 {
    margin: 0 0 18px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.jtms-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.jtms-confirm-actions button {
    min-width: 72px;
    border: 1px solid #8aa0b2;
    background: #fff;
    color: #334155;
    border-radius: 3px;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.jtms-confirm-actions button:hover {
    background: #f8fafc;
    border-color: #64748b;
}
