/* Bahis Şikayetleri - Front-end Styles */

.bs-complaint-form {
  max-width: 640px;
  margin: 16px auto;
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-sizing: border-box;
}

.bs-complaint-form .bs-form-row {
  margin-bottom: 12px;
}

.bs-complaint-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
}

.bs-complaint-form input[type="text"],
.bs-complaint-form input[type="email"],
.bs-complaint-form input[list],
.bs-complaint-form select,
.bs-complaint-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  box-sizing: border-box;
}

.bs-complaint-form textarea {
  resize: vertical;
}

.bs-complaint-form small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #777;
}

.bs-complaint-form .bs-form-row-half {
  display: flex;
  gap: 10px;
}

.bs-complaint-form .bs-form-row-half > div {
  flex: 1;
}

.bs-complaint-form .bs-btn-submit {
  display: inline-block;
  padding: 10px 18px;
  background: #ff4b4b;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.bs-complaint-form .bs-btn-submit:hover {
  background: #e13e3e;
}

.bs-alert {
  max-width: 640px;
  margin: 0 auto 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.bs-alert.bs-success {
  background: #e6f7ed;
  border: 1px solid #b7e0c3;
  color: #205a37;
}

.bs-alert.bs-error {
  background: #fdecea;
  border: 1px solid #f3b1aa;
  color: #a12317;
}

/* Widgets */

.bs-widget {
  width: 100%;
  margin: 16px 0;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.bs-widget-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  border-left: 4px solid #ff4b4b;
  padding-left: 8px;
}

.bs-widget-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bs-widget-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f1f1;
}

.bs-widget-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bs-brand-logo {
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #ff4b4b;
}

.bs-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bs-brand-logo--placeholder {
  font-size: 18px;
}

.bs-widget-content {
  flex: 1;
}

.bs-complaint-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bs-complaint-title a {
  text-decoration: none;
  color: #222;
}

.bs-complaint-title a:hover {
  text-decoration: underline;
}

.bs-complaint-excerpt {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.bs-complaint-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: #777;
  margin-bottom: 4px;
}

.bs-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bs-reply-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ff4b4b;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ff4b4b;
}

.bs-reply-link:hover {
  background: #ff4b4b;
  color: #ffffff;
}

.bs-empty {
  font-size: 13px;
  color: #666;
}

/* Horizontal brand widgets */

.bs-widget-horizontal {
  overflow: hidden;
}

.bs-widget-horizontal-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.bs-widget-horizontal-item {
  min-width: 180px;
  max-width: 220px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  box-sizing: border-box;
}

/* All brands widget */

.bs-brand-all-widget .bs-brand-all-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bs-brand-all-item {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f3f3;
}

.bs-brand-all-item:last-child {
  border-bottom: none;
}

.bs-btn-load-more {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #ff4b4b;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.bs-btn-load-more:hover {
  background: #e13e3e;
}

/* Single complaint page */

.bs-single-complaint {
  max-width: 800px;
  margin: 20px auto;
  padding: 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.bs-single-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bs-single-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bs-single-brand-text {
  display: flex;
  flex-direction: column;
}

.bs-single-brand-name a {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: #222;
}

.bs-single-user-name {
  font-size: 13px;
  color: #777;
}

.bs-single-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 11px;
  color: #777;
}

.bs-single-title {
  font-size: 20px;
  margin: 12px 0;
}

.bs-single-content {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.bs-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bs-btn-primary,
.bs-btn-secondary {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.bs-btn-primary {
  background: #ff4b4b;
  color: #fff;
}

.bs-btn-primary:hover {
  background: #e13e3e;
}

.bs-btn-secondary {
  background: #f5f5f5;
  color: #333;
}

.bs-btn-secondary:hover {
  background: #e2e2e2;
}

.bs-support-count {
  font-size: 13px;
  color: #555;
}

/* Brand single page */

.bs-single-brand-page {
  max-width: 900px;
  margin: 20px auto;
  padding: 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.bs-brand-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.bs-brand-header-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bs-brand-title {
  margin: 0;
  font-size: 20px;
}

.bs-brand-header-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.bs-brand-stat-label {
  font-weight: 600;
  margin-right: 4px;
}

.bs-brand-complaints-widget {
  margin-top: 10px;
}

.bs-brand-section-title {
  font-size: 16px;
  margin: 0 0 10px;
}

.bs-brand-complaints-widget .bs-widget-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bs-brand-complaint-item {
  padding-bottom: 8px;
  border-bottom: 1px solid #f2f2f2;
}

.bs-brand-complaint-item:last-child {
  border-bottom: none;
}

/* Responsive */

@media (max-width: 768px) {
  .bs-complaint-form {
    padding: 12px;
  }
  .bs-complaint-form .bs-form-row-half {
    flex-direction: column;
  }
  .bs-single-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bs-single-meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .bs-brand-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bs-widget-horizontal-item {
    min-width: 160px;
  }
}
