/* ===========================================
   📄 assets/style.css - Plugin Stilleri
   =========================================== */

   .arc-rating-widget {
    max-width: 100%;
    margin: 30px 0;
    padding: 25px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.arc-rating-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.arc-rating-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.arc-overall-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

.arc-overall-stars {
    font-size: 24px;
    color: #ffc107;
    letter-spacing: 2px;
}

.arc-rating-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.arc-user-rating {
    text-align: center;
}

.arc-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
}

.arc-star {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.arc-star:hover,
.arc-star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.arc-rating-info {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.arc-comment-section {
    margin-top: 30px;
}

.arc-comment-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.arc-comment-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.arc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.arc-comment-form input,
.arc-comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.arc-comment-form input:focus,
.arc-comment-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.arc-comment-form textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
}

.arc-comment-form button {
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.arc-comment-form button:hover {
    background: #005a87;
}

.arc-comment-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Yorum Listesi Stilleri */
.arc-comments-list {
    margin-top: 25px;
}

.arc-comment-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.arc-comment-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.arc-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.arc-comment-author {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.arc-comment-date {
    color: #666;
    font-size: 14px;
}

.arc-comment-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.arc-comment-stars {
    color: #ffc107;
    font-size: 16px;
}

.arc-comment-rating-text {
    color: #666;
    font-size: 14px;
}

.arc-comment-content {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}

.arc-load-more {
    text-align: center;
    margin-top: 20px;
}

.arc-load-more button {
    background: #f8f9fa;
    color: #007cba;
    border: 1px solid #007cba;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.arc-load-more button:hover {
    background: #007cba;
    color: white;
}

.arc-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Mesaj Stilleri */
.arc-message {
    padding: 12px 20px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.arc-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.arc-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.arc-message.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Animasyonlar */
.arc-fade-in {
    animation: arcFadeIn 0.5s ease-in-out;
}

@keyframes arcFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arc-pulse {
    animation: arcPulse 2s infinite;
}

@keyframes arcPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsif Tasarım */
@media (max-width: 768px) {
    .arc-rating-widget {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .arc-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .arc-overall-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: center;
    }
    
    .arc-stars {
        gap: 3px;
    }
    
    .arc-star {
        font-size: 28px;
    }
    
    .arc-comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .arc-comment-item {
        padding: 15px;
    }
    
    .arc-rating-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .arc-rating-widget {
        padding: 15px 10px;
    }
    
    .arc-star {
        font-size: 24px;
    }
    
    .arc-overall-stars {
        font-size: 20px;
    }
    
    .arc-comment-form {
        padding: 15px;
    }
    
    .arc-comment-form input,
    .arc-comment-form textarea {
        padding: 10px 12px;
    }
}