/* 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;
}
