/**
 * Notification Styles
 * 
 * @package YOOPixel Portal
 */

/* Notification Overlay */
.yoo-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Notification Box */
.yoo-notification-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Notification Header */
.yoo-notification-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.yoo-notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.yoo-notification-icon.success {
    background: #d1fae5;
    color: #10b981;
}

.yoo-notification-icon.error {
    background: #fee2e2;
    color: #ef4444;
}

.yoo-notification-icon.warning {
    background: #fef3c7;
    color: #f59e0b;
}

.yoo-notification-icon.info {
    background: #dbeafe;
    color: #3b82f6;
}

.yoo-notification-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0;
}

/* Notification Body */
.yoo-notification-body {
    padding: 16px 24px 24px;
}

.yoo-notification-message {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

/* Notification Footer */
.yoo-notification-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.yoo-notification-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    min-width: 100px;
}

.yoo-notification-btn-primary {
    background: var(--yoo-primary);
    color: #fff;
}

.yoo-notification-btn-primary:hover {
    background: var(--yoo-primary-dark);
    transform: translateY(-1px);
}

.yoo-notification-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.yoo-notification-btn-secondary:hover {
    background: #e5e7eb;
}

/* Loading Spinner */
.yoo-notification-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
