/* Alert Modal Overlay */
#alert-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

/* Hide by default */
#alert-modal.hidden {
    display: none;
}

/* Alert Modal Content */
#alert-content {
    background: white;
    border-radius: 16px;
    max-width: 24rem;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
}

#alert-content.scale-100.opacity-100 {
    transform: scale(1);
    opacity: 1;
}

#alert-content.scale-95.opacity-0 {
    transform: scale(0.95);
    opacity: 0;
}

/* Icon */
#alert-content .bg-blue-100 {
    background: #dbeafe;
}

#alert-content .text-blue-600 {
    color: #2563eb;
}

/* Title */
#alert-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

/* Message */
#alert-message {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* OK Button */
#alert-content button {
    width: 100%;
    background: #4f46e5;
    color: #fff;
    padding: 0.7rem 0;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    transition: background 0.2s;
}

#alert-content button:hover {
    background: #4338ca;
}

.alert-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alert-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 24rem;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
}
.alert-modal-content.scale-100.opacity-100 {
    transform: scale(1);
    opacity: 1;
}
.alert-modal-content.scale-95.opacity-0 {
    transform: scale(0.95);
    opacity: 0;
}
.alert-modal-content:focus { outline: none; }
#confirm-ok-btn {
    flex:1;
    background:#4f46e5;
    color:#fff;
    padding:0.7rem 0;
    border-radius:0.5rem;
    font-weight:500;
    font-size:1rem;
    border:none;
    transition:background 0.2s;
}
#confirm-ok-btn:hover { background: #4338ca; }
#confirm-cancel-btn {
    flex:1;
    background:#e5e7eb;
    color:#374151;
    padding:0.7rem 0;
    border-radius:0.5rem;
    font-weight:500;
    font-size:1rem;
    border:none;
    transition:background 0.2s;
}
#confirm-cancel-btn:hover { background: #d1d5db; }