/* RFQ page specific styles */
/* Layout, sidebar, topbar stilleri shared/sidebar.css'ten gelir */

:root {
  --yunige-navy: #27206f;
  --yunige-navy-dark: #1d1757;
  --yunige-blue: #2d7ed3;
  --page-bg: #f3f4f6;
  --card-bg: #ffffff;
  --border: #d9e0ea;
  --text: #22304a;
  --muted: #6f7b8f;
  --shadow: 0 8px 24px rgba(39, 32, 111, 0.08);
  --radius: 14px;
}

.hidden {
  display: none !important;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  margin: 0;
  font-size: 30px;
  color: var(--yunige-navy);
}

.page-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.inner-card {
  background: #fafcff;
  box-shadow: none;
  margin-bottom: 0;
}

.route-card {
  height: 100%;
}

.card h2 {
  margin: 0 0 18px;
  color: var(--yunige-navy);
  font-size: 22px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--yunige-navy);
}

.section-subtitle-inline {
  margin-bottom: 0;
}

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  padding: 12px 13px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--yunige-blue);
  box-shadow: 0 0 0 3px rgba(45, 126, 211, 0.12);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.required {
  color: #dc2626;
  margin-left: 4px;
}

.muted {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.actions,
.btn-row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.btn-primary {
  background: var(--yunige-navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--yunige-navy-dark);
}

.btn-secondary {
  background: #e9eef8;
  color: var(--yunige-navy);
}

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

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

.message {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  min-height: 20px;
}

.line-box {
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fafcff;
}

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

.line-box-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--yunige-navy);
}

@media (max-width: 1100px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .col-8,
  .col-6,
  .col-4,
  .col-3 {
    grid-column: span 12;
  }
}
