/* SmartModal - Premium UI Component */
.smart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.smart-modal {
    background: #ffffff;
    width: 95%;
    max-width: 450px;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.smart-modal-overlay.active .smart-modal {
    transform: scale(1) translateY(0);
}

.smart-modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    animation: iconPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}

@keyframes iconPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Types */
.smart-modal-icon.question { background: #eff6ff; color: #3b82f6; }
.smart-modal-icon.success { background: #ecfdf5; color: #10b981; }
.smart-modal-icon.error { background: #fef2f2; color: #ef4444; }
.smart-modal-icon.warning { background: #fffbeb; color: #f59e0b; }

.smart-modal h3 {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 800;
}

.smart-modal p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.smart-modal-footer {
    display: flex;
    gap: 12px;
}

.smart-modal-btn {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smart-modal-btn-confirm {
    background: #000040;
    color: white;
}

.smart-modal-btn-confirm:hover {
    background: #000060;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 64, 0.2);
}

.smart-modal-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

.smart-modal-btn-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Button variants based on type */
.smart-modal.success .smart-modal-btn-confirm { background: #10b981; }
.smart-modal.error .smart-modal-btn-confirm { background: #ef4444; }
.smart-modal.warning .smart-modal-btn-confirm { background: #f59e0b; }
