/* Genel Kapsayıcı ve Başlıklar */
.wgf-container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.wgf-container h2 { font-size: 28px; margin-bottom: 5px; color: #333; }
.wgf-main-meta { color: #777; font-size: 14px; margin-bottom: 30px; }
.wgf-back-link { margin-bottom: 20px; font-size: 14px; }
.wgf-back-link a { text-decoration: none; color: #0073aa; }
.wgf-back-link a:hover { text-decoration: underline; }

/* Kart Yapısı */
.wgf-card { border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; margin-bottom: 25px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden; }
.wgf-card-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #eee; background-color: #f7f7f7; }
.wgf-card-header h3 { margin: 0; font-size: 15px; color: #333; }
.wgf-card-body { padding: 20px 40px; }
.wgf-card-body p:first-child { margin-top: 0; }
.wgf-card-body p:last-child { margin-bottom: 0; }
.wgf-card-footer { padding: 15px 20px; border-top: 1px solid #eee; background: #fdfdfd; }
.wgf-card-footer h4 { margin-top: 0; font-size: 18px; color: #444; }

/* Toggle Buton */
.wgf-toggle-btn { font-size: 12px !important; padding: 4px 12px !important; border-radius: 5px; background-color: #0073aa; color: #fff; border: none; cursor: pointer; transition: background-color 0.3s ease; border-radius:5px !important; margin: 0 !important; }
.wgf-toggle-btn:hover { background-color: #005a87; }

/* Talep Detayları Satırları */
.wgf-row { display: grid; grid-template-columns: 180px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid #f8f8f8; }
.wgf-row:last-child { border-bottom: 0; }
.wgf-label { font-weight: 600; color: #555; }
.wgf-value { word-break: break-word; color: #666; }
.wgf-value a { color: #0073aa; text-decoration: none; }
.wgf-value a:hover { text-decoration: underline; }

/* Video Linkleri */
.wgf-linklist .item { display: flex; gap: 8px; margin-bottom: 10px; }
.wgf-linklist input[type='url'] { flex: 1; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; }
.wgf-x { border: 1px solid #ccc; background: #f1f1f1; color: red; border-radius: 10px; width: 28px; height: 28px; cursor: pointer; font-size: 18px; line-height: 26px; text-align: center; padding: 0; flex-shrink: 0; margin: 0; }
.wgf-x:hover { background: #e0e0e0; border-color: #bbb; }
.wgf-form-actions { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; }
.wgf-form-actions .button { background-color: #0073aa; color: #fff; border: none; padding: 4px 12px; border-radius: 5px; cursor: pointer; font-size: 13px; }
.wgf-form-actions .woocommerce-Button.primary { background-color: #83b900; padding: 4px 12px; font-size: 13px; }
.wgf-form-actions .woocommerce-Button.primary:hover { background-color: #6a9600; }

/* Sohbet Geçmişi */
.wgf-chat-history { display: flex; flex-direction: column; padding: 10px; }
.wgf-chat-message { max-width: 90%; margin-bottom: 15px; border-radius: 12px; padding: 12px 16px; line-height: 1.5; word-break: break-word; }
.wgf-chat-meta { font-size: 12px; color: #64748b; margin-bottom: 5px; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 5px; }
.wgf-chat-content p { margin-top: 0; margin-bottom: 5px; }
.wgf-chat-attachments { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cbd5e1; font-size: 13px; }

/* Mesaj Balonları */
.wgf-message-admin { background-color: #f1f5f9; border: 1px solid #e2e8f0; margin-right: auto; }
.wgf-message-user { background-color: #e0f2fe; border: 1px solid #bae6fd; margin-left: auto; }

/* Yanıt Gönder */
.wgf-card-footer textarea { width: 100%; min-height: 120px; margin-bottom: 15px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.wgf-card-footer .woocommerce-Button { background-color: #83b900; color: #fff; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; }
.wgf-card-footer .woocommerce-Button:hover { background-color: #6a9600; }

/* Bildirim Balonları */
.wgf-menu-bubble { display: inline-block; background-color: #d63638; color: #fff; border-radius: 10px; padding: 0 7px; font-size: 0.8em; font-weight: bold; line-height: 17px; margin-left: 5px; }
.wgf-header-bubble { position: absolute; top: -6px; right: -12px; background-color: #d63638; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 11px; font-weight: bold; line-height: 18px; text-align: center;}
.button.icon i + span {padding-right: 0 !important;}

/* Statü Renkleri */
.wgf-status-badge { display: inline-block; padding: 4px 12px; border-radius: 5px; color: #fff; font-size: 10px; font-weight: bold; text-transform: uppercase; }
.wgf-status-badge.status-yeni { background-color: #6c757d; }
.wgf-status-badge.status-incelemede { background-color: #17a2b8; }
.wgf-status-badge.status-analiz_basladi { background-color: #007bff; }
.wgf-status-badge.status-sonuclar_yuklendi { background-color: #28a745; }
.wgf-status-badge.status-tamamlandi { background-color: #83b900; }
.wgf-status-badge.status-iptal_edildi { background-color: #dc3545; }
.wgf-status-badge.status-link_updated { background-color: #20c997; }
.wgf-status-badge.status-new-reply { background-color: #0073aa; }
.wgf-status-badge.status-updated { background-color: #28a745; }
.wgf-status-badge.status-processing { background-color: #999; }

.wgf-time-diff { display:block; font-size:12px; color:#777; margin-top:4px; }
.wgf-unread-row { background-color:#f0f6ff !important; font-weight:bold; }
