/**
 * Temajet AJAX Yorum Stilleri & Bildirim Kutuları
 */

.temajet-comment-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: temajetAlertFadeIn 0.3s ease-out;
}

.temajet-comment-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.temajet-comment-alert-info {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.temajet-comment-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.temajet-comment-alert .temajet-alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.temajet-comment-alert .temajet-alert-icon svg {
    width: 20px;
    height: 20px;
}

/* Spinner animasyonu */
.temajet-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: temajetSpin 0.7s linear infinite;
    vertical-align: -2px;
    margin-right: 6px;
}

@keyframes temajetSpin {
    to { transform: rotate(360deg); }
}

@keyframes temajetAlertFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Yeni eklenen yorumun parlaması */
@keyframes temajetHighlightComment {
    0% {
        background-color: #fef9c3;
    }
    100% {
        background-color: transparent;
    }
}

.temajet-new-comment {
    animation: temajetHighlightComment 3s ease-out;
    border-radius: 6px;
}
