* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.banner {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 0;
}

.banner-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 0 0 16px 16px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #1e40af;
}

.subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.btn {
  width: 100%;
  padding: 14px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn:hover {
  background: #1d4ed8;
}

.btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.error-msg {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.instruction-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.instruction-box h2 {
  font-size: 1.1rem;
  color: #1e40af;
  margin-bottom: 12px;
}

.instruction-box ol {
  padding-left: 20px;
}

.instruction-box li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.instruction-box a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.instruction-box a:hover {
  text-decoration: underline;
}

.tag {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.instagram-btn:hover {
  opacity: 0.9;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #64748b;
}

/* Admin sayfasi */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-header h1 {
  margin: 0;
}

.btn-secondary {
  background: #059669;
  width: auto;
  padding: 10px 20px;
  margin: 0;
}

.btn-secondary:hover {
  background: #047857;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th,
td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
}

tr:hover td {
  background: #f8fafc;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.count-badge {
  background: #dbeafe;
  color: #1e40af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .card {
    padding: 20px 16px;
  }

  h1 {
    font-size: 1.3rem;
  }
}
