/* support.css — KIPL Technologies | Support Ticket Page
   Responsive and clean form layout for ticket submissions */

:root {
  --blue: #0B63B3;
  --green: #1fb38a;
  --muted: #55606a;
  --bg: #f8fcff;
  --card: #fff;
  --radius: 12px;
  --font-sans: "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: #111;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--blue); margin-top: 0; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: #fff;
  box-shadow: 0 3px 12px rgba(11,99,179,0.05);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; }
.brand-title { font-weight: 800; color: var(--blue); letter-spacing: .5px; }
.brand-tag { font-size: .85rem; color: var(--muted); }
.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin-left: 1rem;
  transition: color .2s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
}

/* Main layout */
.support-wrap { max-width: 1100px; margin: 0 auto; padding: 3% 5%; }
.support-intro .lead { color: var(--muted); }

/* Form */
.ticket-form {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11,63,111,0.06);
  padding: 1.5rem;
  margin-top: 1.4rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; }
.label {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 4px;
}
input, select, textarea {
  padding: .7rem;
  border-radius: 8px;
  border: 1px solid #e0e8f0;
  background: #fbfeff;
  font-size: 1rem;
}
textarea { resize: vertical; }
.field-full { grid-column: 1 / -1; }

/* Buttons */
.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.btn-primary {
  background: linear-gradient(90deg,var(--blue),var(--green));
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: opacity .2s ease;
}
.btn-primary:hover { opacity: .9; }
.btn-secondary {
  color: var(--blue);
  border: 1px solid rgba(11,99,179,0.2);
  padding: .7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* Info Section */
.after-submit {
  margin-top: 2rem;
  background: #ffffff;
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid #eef3f8;
  box-shadow: 0 4px 16px rgba(11,63,111,0.04);
}
.after-submit .lead { color: var(--muted); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.2rem;
  color: var(--muted);
  font-size: .9rem;
  margin-top: 2rem;
  border-top: 1px solid #eef3f8;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; gap: .8rem; text-align: center; }
  .primary-nav a { margin: 0 .6rem; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}
