/* ===== SWEET ALERT / CUSTOM MODAL ===== */
.sweet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.sweet-overlay.active {
    display: flex;
}

.sweet-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 28px 28px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    animation: slideUp 0.25s ease;
}

.sweet-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sweet-icon.success {
    background: #d1fae5;
}

.sweet-icon.success svg {
    width: 32px;
    height: 32px;
    color: #065f46;
}

.sweet-icon.info {
    background: #dbeafe;
}

.sweet-icon.info svg {
    width: 32px;
    height: 32px;
    color: #1e40af;
}

.sweet-icon.warning {
    background: #fef3c7;
}

.sweet-icon.warning svg {
    width: 32px;
    height: 32px;
    color: #92400e;
}

.sweet-icon.error {
    background: #fee2e2;
}

.sweet-icon.error svg {
    width: 32px;
    height: 32px;
    color: #991b1b;
}

.sweet-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.sweet-body {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sweet-body .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
}

.sweet-body .detail-row:last-child {
    border-bottom: none;
}

.sweet-body .detail-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 13px;
}

.sweet-body .detail-value {
    color: var(--gray-600);
    font-size: 13px;
}

.sweet-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sweet-actions .btn {
    min-width: 110px;
}

/* ===== DETAIL MODAL ===== */
.detail-modal {
    max-width: 540px;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
}

.detail-modal-header {
    padding: 22px 26px;
    background: var(--primary);
    color: var(--white);
}

.detail-modal-header h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 3px;
}

.detail-modal-header p {
    font-size: 12.5px;
    opacity: 0.7;
}

.detail-modal-body {
    padding: 26px;
}

.detail-modal-body .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.detail-modal-body .info-item {
    padding: 12px 14px;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-100);
}

.detail-modal-body .info-item label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.detail-modal-body .info-item span {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-800);
}

.detail-modal-body .info-item.full-width {
    grid-column: 1 / -1;
}

.detail-modal .modal-actions {
    padding: 0 26px 22px;
}
