/* =========================================================
   SYBIOCARE - PAGE: new-ticket (THEME V3 WHITE / EPURÉ)
   Path: ./assets/css/pages/new-ticket.css
========================================================= */

.new-ticket-page{
  padding: 0; /* ✅ le main gère déjà le padding */
}

.new-ticket-inner{
  padding: 0; /* ✅ évite les doubles paddings */
}

/* Header */
.page-header{
  margin-bottom: 18px;
}

.page-header-text h1{
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main, #0f172a);
  margin: 0;
}

.page-header-text p{
  color: var(--text-sub, #64748b);
  font-size: 14px;
  margin: 6px 0 0 0;
  font-weight: 600;
}

/* Card */
.card{
  background: var(--panel, #fff);
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, #e8eef6);
  padding: 22px;
  box-shadow: var(--shadow-xs, 0 1px 6px rgba(15,23,42,.05));
}

/* Form grid */
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main, #0f172a);
}

/* Inputs */
.field input,
.field select,
.field textarea{
  width:100%;
  padding: 11px 12px;
  border: 1px solid var(--border, #e8eef6);
  border-radius: 14px;
  background:#fff;
  outline:none;
  box-sizing:border-box;
  font-family:inherit;
  font-size: 14px;
  color: var(--text-main, #0f172a);
  transition: border .15s ease, box-shadow .15s ease;
}

.field input::placeholder,
.field textarea::placeholder{
  color: #94a3b8;
}

.field textarea{
  resize: vertical;
  min-height: 120px;
}

/* ✅ Focus neutre (pas bleu) */
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: #cbd5e1;
  box-shadow: 0 0 0 4px rgba(15,23,42,.06);
}

/* Soft card section */
.soft-card{
  margin-top: 14px;
  padding: 16px;
  background: #fafcff;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, #e8eef6);
}

.mt-16{ margin-top: 14px; }

/* Dropzone */
.dropzone{
  border: 2px dashed #e8eef6;
  padding: 18px;
  text-align:center;
  border-radius: 16px;
  color: #64748b;
  cursor:pointer;
  background: #fff;
  transition: border .15s ease, background .15s ease, transform .08s ease;
}

.dropzone:hover{
  border-color: #cbd5e1;
  background: #f8fafc;
}

.dropzone:active{
  transform: translateY(1px);
}

.dropzone-icon{
  font-size: 22px;
  margin-bottom: 8px;
  color: #0f172a;
}

.dropzone-title{
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  color: #0f172a;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dropzone-sub{
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
  font-weight: 600;
}

/* Actions */
.form-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  border-top: 1px solid var(--border-2, #eef2f7);
  padding-top: 16px;
  margin-top: 16px;
  flex-wrap:wrap;
}

/* Buttons fallback (si components.css ne couvre pas) */
.btn{
  border: none;
  cursor: pointer;
  border-radius: 14px;
  font-weight: 900;
  padding: 10px 14px;
  font-size: 14px;
  transition: transform .08s ease, opacity .15s ease, background .15s ease;
}

.btn:active{ transform: translateY(1px); }

.btn-light{
  border: 1px solid var(--border, #e8eef6);
  background:#fff;
  color: var(--text-main, #0f172a);
}

.btn-light:hover{ background:#f8fafc; }

.btn-primary{
  background:#0f172a;
  color:#fff;
  padding: 10px 16px;
  box-shadow: 0 10px 20px rgba(15,23,42,.12);
}

.btn-primary:hover{ opacity:.92; }

/* Responsive */
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
  .card{ padding: 18px; }
}