/*
BU SITENIN TUM KODLAMASI VE TASARIMI MOVYRA EKIBI TARAFINDAN OZENLE YAZILMISTIR.
*/
:root{
  --bg:#0a111c;
  --panel:#121b2a;
  --panel-soft:#0f1724;
  --border:rgba(255,255,255,.08);
  --border-strong:rgba(255,255,255,.16);
  --text:#f4f6fb;
  --muted:#a8b2c6;
  --accent:#ff6b45;
  --accent-soft:rgba(255,107,69,.12);
  --shadow:0 24px 70px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:
    linear-gradient(180deg, #08101a 0%, #0b1421 100%);
}

.support-shell{
  width:min(1040px,calc(100% - 28px));
  margin:22px auto 34px;
  display:grid;
  gap:18px;
}

.support-topbar,
.support-intro,
.topics-panel,
.report-panel{
  border:1px solid var(--border);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(18,27,42,.95), rgba(10,16,26,.98));
  box-shadow:var(--shadow);
}

.support-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
}

.brand-link{
  color:#ff6a45;
  text-decoration:none;
  font-size:26px;
  font-weight:900;
  letter-spacing:.04em;
}

.topbar-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  text-decoration:none;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}

.topbar-link:hover{
  background:rgba(255,255,255,.07);
  border-color:var(--border-strong);
  transform:translateY(-1px);
}

.support-intro,
.topics-panel,
.report-panel{
  padding:22px;
}

.intro-badge,
.panel-eyebrow{
  display:inline-flex;
  margin-bottom:12px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#ffd2c5;
}

.support-intro h1,
.panel-head h2{
  margin:0;
  font-size:34px;
  line-height:1.08;
}

.support-intro p{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.8;
}

.intro-notes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}

.intro-note{
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}

.intro-note strong{
  display:block;
  margin-bottom:8px;
  font-size:14px;
}

.intro-note span,
.panel-head p,
.topic-card span,
.report-note,
.success-panel p,
.error-panel p{
  color:var(--muted);
  line-height:1.7;
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.panel-head p{
  margin:0;
  max-width:360px;
}

.topic-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.topic-card{
  padding:18px;
  border-radius:20px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  color:var(--text);
  text-align:left;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}

.topic-card:hover,
.topic-card.active{
  border-color:var(--border-strong);
  background:rgba(255,255,255,.05);
  transform:translateY(-2px);
}

.topic-card i{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  margin-bottom:14px;
}

.topic-card strong{
  display:block;
  margin-bottom:6px;
  font-size:15px;
}

.report-form{
  display:grid;
  gap:18px;
}

.field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.field-grid.compact{
  grid-template-columns:1.1fr .9fr;
}

.field{
  display:grid;
  gap:8px;
}

.field span{
  font-size:13px;
  font-weight:700;
  color:#e6eaf3;
}

.field input,
.field textarea{
  width:100%;
  border:none;
  outline:none;
  border-radius:16px;
  padding:14px 15px;
  color:var(--text);
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}

.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus{
  border-color:var(--border-strong);
  background:rgba(255,255,255,.06);
  box-shadow:0 0 0 4px rgba(255,255,255,.03);
}

.field input[readonly]{
  color:#d7deed;
  background:linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.04));
  border-style:dashed;
  cursor:default;
}

.field textarea{
  min-height:220px;
  resize:vertical;
  line-height:1.7;
}

.template-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.template-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:10px 15px;
  border-radius:18px;
  border:1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color:var(--text);
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}

.template-pill i{
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:linear-gradient(135deg, rgba(255,138,99,.18), rgba(255,176,109,.08));
  color:#ffb191;
  flex:0 0 auto;
}

.template-pill span{
  font-size:13px;
  font-weight:700;
}

.template-pill:hover{
  border-color:var(--border-strong);
  background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
  box-shadow:0 14px 28px rgba(0,0,0,.18);
  transform:translateY(-2px);
}

.report-note{
  padding:15px 16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}

.form-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.submit-btn,
.ghost-btn{
  min-height:50px;
  padding:0 22px;
  border-radius:16px;
  border:1px solid var(--border);
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}

.submit-btn{
  color:#0a111c;
  border-color:transparent;
  background:linear-gradient(135deg, #ff8a63, #ffb06d);
}

.ghost-btn{
  color:var(--text);
  background:rgba(255,255,255,.04);
}

.submit-btn:hover,
.ghost-btn:hover{
  transform:translateY(-1px);
}

.ghost-btn:hover{
  border-color:var(--border-strong);
  background:rgba(255,255,255,.07);
}

.submit-btn:disabled,
.ghost-btn:disabled{
  opacity:.72;
  cursor:not-allowed;
  transform:none;
}

.success-panel,
.error-panel{
  margin-top:18px;
  padding:20px;
  border-radius:20px;
  border:1px solid var(--border);
}

.success-panel{
  display:grid;
  gap:10px;
  justify-items:start;
  background:rgba(74,222,128,.08);
}

.success-icon{
  width:54px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:rgba(74,222,128,.14);
  color:#bbf7d0;
  font-size:22px;
}

.success-panel h3{
  margin:0;
  font-size:24px;
}

.error-panel{
  display:flex;
  gap:14px;
  background:rgba(239,68,68,.08);
}

.error-panel i{
  font-size:22px;
  color:#ffb4b4;
  margin-top:2px;
}

.hidden{display:none!important}

@media (max-width:860px){
  .intro-notes,
  .topic-grid,
  .field-grid,
  .field-grid.compact{grid-template-columns:1fr}
  .panel-head{flex-direction:column}
  .panel-head p{max-width:none}
}

@media (max-width:640px){
  .support-shell{width:min(100% - 18px, 100%);margin:12px auto 24px}
  .support-topbar,
  .support-intro,
  .topics-panel,
  .report-panel{border-radius:20px}
  .support-intro h1,
  .panel-head h2{font-size:28px}
  .template-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .template-pill{width:100%;justify-content:flex-start}
  .form-actions{flex-direction:column}
  .submit-btn,.ghost-btn{width:100%}
}
