/* ============================================
   간소화된 알림 스타일
   ============================================ */

.custom-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    min-width: 320px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.custom-alert.show {
    opacity: 1;
    transform: translateX(0);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
}

.alert-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.alert-success {
    border-left: 4px solid #10b981;
}

.alert-success .alert-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.alert-error {
    border-left: 4px solid #ef4444;
}

.alert-error .alert-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.alert-warning {
    border-left: 4px solid #f59e0b;
}

.alert-warning .alert-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.alert-text {
    flex: 1;
}

.alert-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
    font-weight: 500;
}

.alert-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #6B7280;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #374151;
}

/* 모바일 */
@media (max-width: 768px) {
    .custom-alert {
        top: 80px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}
