/* Custom Modal System Styles */
.zb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 112, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zb-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.zb-modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.dark .zb-modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.zb-modal-overlay.active .zb-modal-content {
    transform: scale(1) translateY(0);
}

.zb-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zb-modal-icon svg {
    width: 32px;
    height: 32px;
}

.zb-modal-icon.success { background: #E6FFFA; color: #38A169; }
.zb-modal-icon.error { background: #FFF5F5; color: #E53E3E; }
.zb-modal-icon.info { background: #EBF8FF; color: #3182CE; }
.zb-modal-icon.confirm { background: #FFFBEB; color: #D69E2E; }

.dark .zb-modal-icon.success { background: rgba(56, 161, 105, 0.1); color: #48BB78; }
.dark .zb-modal-icon.error { background: rgba(229, 62, 62, 0.1); color: #F56565; }
.dark .zb-modal-icon.info { background: rgba(49, 130, 206, 0.1); color: #4299E1; }

.zb-modal-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #191970;
    margin-bottom: 0.75rem;
}

.dark .zb-modal-title {
    color: #f1f5f9;
}

.zb-modal-text {
    color: #4A5568;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.dark .zb-modal-text {
    color: #94a3b8;
}

.zb-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.zb-modal-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.zb-modal-btn.primary {
    background: #191970;
    color: white;
}

.dark .zb-modal-btn.primary {
    background: #CCFF00;
    color: #191970;
}

.zb-modal-btn.primary:hover {
    background: #101050;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(25, 25, 112, 0.3);
}

.dark .zb-modal-btn.primary:hover {
    background: #e5ff80;
    box-shadow: 0 10px 15px -3px rgba(204, 255, 0, 0.2);
}

.zb-modal-btn.secondary {
    background: #EDF2F7;
    color: #4A5568;
}

.dark .zb-modal-btn.secondary {
    background: #334155;
    color: #f1f5f9;
}

.zb-modal-btn.secondary:hover {
    background: #E2E8F0;
}

.dark .zb-modal-btn.secondary:hover {
    background: #475569;
}
