/* ========================================
   NATIVE CSS ALERTS - NETBOR STYLE
   ======================================== */

/* Alert Container */
.netbor-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.netbor-alert-overlay.show {
    display: flex;
}

/* Alert Box */
.netbor-alert {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.7);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.netbor-alert-overlay.show .netbor-alert {
    transform: scale(1);
}

/* Alert Header */
.netbor-alert-header {
    text-align: center;
    padding: 30px 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.netbor-alert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.netbor-alert-icon.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.netbor-alert-icon.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.netbor-alert-icon.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.netbor-alert-icon.warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.netbor-alert-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    font-family: "Roboto", sans-serif;
}

.netbor-alert-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Alert Footer */
.netbor-alert-footer {
    padding: 20px 25px 25px;
    text-align: center;
}

.netbor-alert-btn {
    background: linear-gradient(135deg, #a41219, #8a0f15);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.netbor-alert-btn:hover {
    background: linear-gradient(135deg, #8a0f15, #6c0c11);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(164, 18, 25, 0.4);
}

.netbor-alert-btn:active {
    transform: translateY(0);
}

/* Close Button */
.netbor-alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.netbor-alert-close:hover {
    background: #f5f5f5;
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .netbor-alert {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .netbor-alert-header {
        padding: 25px 20px 15px;
    }
    
    .netbor-alert-footer {
        padding: 15px 20px 20px;
    }
}