/* order.css - vollständig mit Multi-Select & Datepicker */

/* Reset / global fix */
.cs-wrapper, .cs-wrapper * { box-sizing: border-box; }

/* Wrapper & Section */
.cs-wrapper { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
.cs-section { padding: 48px 20px; display:flex; justify-content:center; background: linear-gradient(135deg, rgba(240,246,255,0.9), rgba(255,255,255,0.95)); overflow-x:hidden; }
.cs-card { width:100%; max-width:1080px; display:grid; grid-template-columns:1fr 360px; gap:24px; align-items:start; padding:26px; border-radius:18px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,253,255,0.96)); box-shadow: 0 12px 40px rgba(6,18,40,0.08), inset 0 -4px 18px rgba(10,102,230,0.02); border: 1px solid rgba(10,102,230,0.06); position:relative; overflow:hidden; }
.cs-card::before { content:""; position:absolute; right:-120px; top:-60px; width:320px; height:320px; background: radial-gradient(circle at 30% 30%, rgba(10,102,230,0.12), transparent 35%), linear-gradient(90deg, rgba(11,118,255,0.06), transparent); filter: blur(30px); transform: rotate(10deg); pointer-events:none; border-radius:48%; z-index:0; }
@media (max-width:980px){ .cs-card{ grid-template-columns:1fr; padding:22px 18px;} .cs-card::before{display:none;} .cs-info-pane{order:2;width:100%} .cs-form-pane{order:1;width:100%} }

/* form left */
.cs-form-pane{ position:relative; z-index:1; padding:0 12px; width:100%; }
.cs-intro{ margin-bottom:12px; }
.cs-eyebrow{ display:inline-flex; align-items:center; gap:8px; color:#084db6; font-weight:600; background: linear-gradient(90deg, rgba(10,102,230,0.06), rgba(10,102,230,0.02)); padding:6px 10px; border-radius:999px; font-size:14px; }
.cs-title{ font-size:26px; margin:10px 0 6px; color:#072c5b; }
.cs-sub{ margin:0 0 12px; color:#475569; font-weight:300; }

/* form basics */
.cs-form{ display:flex; flex-direction:column; gap:12px; }
.cs-row{ display:flex; flex-direction:column; }
.cs-label{ font-size:13px; color:#0b2a4a; font-weight:600; margin-bottom:8px; display:flex; gap:8px; align-items:center; }
.cs-label i { color:#0a66e6; }

/* inputs */
.cs-input, .cs-textarea { font-family: inherit; font-size:14px; padding:12px 14px; border-radius:12px; border:1px solid rgba(13,25,40,0.07); background: linear-gradient(180deg,#ffffff,#fbfdff); color:#062033; transition: box-shadow .18s ease, border-color .18s ease, transform .08s ease; box-shadow:0 6px 18px rgba(9,19,35,0.03); width:100%; max-width:100%; }
.cs-input:focus, .cs-textarea:focus { outline:none; border-color:#0a66e6; box-shadow:0 12px 30px rgba(10,102,230,0.12); transform: translateY(-1px); }
.cs-textarea { min-height:140px; resize:vertical; }

/* buttons */
.cs-actions{ display:flex; gap:12px; align-items:center; margin-top:6px; flex-wrap:wrap; }
.cs-btn-primary{ display:inline-flex; align-items:center; gap:10px; padding:12px 16px; border-radius:12px; background: linear-gradient(90deg,#0a66e6,#084db6); color:white; border:none; font-weight:700; cursor:pointer; box-shadow:0 10px 30px rgba(10,102,230,0.12); transition: transform .12s ease, box-shadow .12s ease; }
.cs-btn-primary:active{ transform: translateY(1px); } 
.cs-btn-primary[disabled]{ opacity:.6; cursor:not-allowed; transform:none; }
.cs-btn-ghost{ background:transparent; color:#084db6; border:1px solid rgba(10,102,230,0.08); padding:10px 14px; border-radius:10px; font-weight:600; cursor:pointer; }
.cs-note{ color:#6b7280; font-size:13px; margin-left:6px; }

/* right info pane */
.cs-info-pane{ position:relative; z-index:1; width:100%; } 
.cs-info-card{ padding:18px; border-radius:14px; background:linear-gradient(180deg,#f8fbff,#ffffff); box-shadow:0 10px 28px rgba(6,18,40,0.06); border:1px solid rgba(10,102,230,0.04); display:flex; flex-direction:column; gap:12px; align-items:center; width:100%; }
.cs-info-hero{text-align:center} 
.cs-avatar{ width:72px; height:72px; border-radius:16px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(90deg,#0a66e6,#2ea0ff); color:white; font-size:28px; box-shadow:0 10px 24px rgba(10,102,230,0.16); margin-bottom:10px; } 
.cs-info-title{ font-weight:700; color:#072c5b; font-size:18px; } 
.cs-info-sub{ color:#475569; font-size:13px; }
.cs-contact-items{ width:100%; display:flex; flex-direction:column; gap:8px; margin-top:10px; } 
.cs-contact-row{ display:flex; gap:12px; align-items:center; padding:10px; border-radius:10px; text-decoration:none; color:#063047; background: linear-gradient(90deg, rgba(10,102,230,0.03), transparent); } 
.cs-contact-row .cs-ico{ width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(10,102,230,0.08); color:#064a93; } 
.cs-contact-row .cs-text{ font-weight:600; font-size:14px; } 
.cs-socials{ display:flex; gap:12px; margin-top:8px; flex-wrap:wrap; justify-content:center; } 
.cs-socials a{ color:#084db6; font-size:18px; text-decoration:none; }

/* toasts */
.cs-toast-wrap{ position:fixed; top:20px; right:20px; display:flex; flex-direction:column; gap:10px; z-index:99999; } 
.cs-toast{ min-width:260px; padding:12px 14px; border-radius:12px; color:white; font-weight:600; box-shadow:0 12px 30px rgba(2,6,23,0.12); animation: cs-toast-in .35s cubic-bezier(.2,.9,.3,1); } 
.cs-toast.ok{ background: linear-gradient(90deg,#16a34a,#059669);} 
.cs-toast.err{ background: linear-gradient(90deg,#dc2626,#ef4444);} 
@keyframes cs-toast-in{ from{ opacity:0; transform: translateY(-8px) scale(.98);} to{ opacity:1; transform: translateY(0) scale(1);} }

/* accessibility & helpers */
.cs-visually-hidden{ position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); } 
.cs-hp{ display:none; }
.cs-anim-in{ opacity:0; transform:translateY(18px) scale(.995); animation: cs-fade-up .6s ease forwards; } 
.cs-anim-in-delay{ opacity:0; transform:translateY(22px) scale(.995); animation: cs-fade-up .75s ease forwards; animation-delay:.12s; } 
@keyframes cs-fade-up{ to{ opacity:1; transform: translateY(0) scale(1); } }
@media (max-width:600px){ .cs-section, .cs-card, .cs-wrapper{ overflow-x:hidden;} .cs-card{ width:100%; max-width:100%; padding:16px; border-radius:16px;} .cs-form-pane{ width:100%; padding:0 10px 10px 10px; margin:0;} .cs-input, .cs-textarea{ width:100%; max-width:100%; font-size:15px; padding:12px 14px;} .cs-title, .cs-sub, .cs-label{ white-space:normal; word-break:break-word;} .cs-row{ width:100%; margin:0;} .cs-info-pane{ order:2; width:100%; } .cs-info-card{ margin-top:16px; width:100%; } }

/* ============================
   CUSTOM SELECT (SINGLE)
   ============================ */

.cs-select {
  position: relative;
  width: 100%;
  max-width: 100%;
  outline: none;
}

.cs-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(13,25,40,0.07);
  background: linear-gradient(180deg,#ffffff,#fbfdff);
  box-shadow: 0 6px 18px rgba(9,19,35,0.03);
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}

.cs-select-toggle:focus {
  outline: none;
  border-color: #0a66e6;
  box-shadow: 0 12px 30px rgba(10,102,230,0.12);
  transform: translateY(-1px);
}

.cs-select-value { color: #062033; }
.cs-select-caret { color: #0a66e6; font-size: 14px; }

/* options panel */
.cs-select-options {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 10px;
  padding: 8px;
  list-style: none;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(10,102,230,0.06);
  box-shadow: 0 18px 40px rgba(6,18,40,0.08);
  z-index: 400;
  max-height: 260px;
  overflow: auto;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.2,.9,.3,1), transform .22s cubic-bezier(.2,.9,.3,1);
}

/* show */
.cs-select[aria-expanded="true"] .cs-select-options {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* option item */
.cs-select-options li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #0b2a4a;
  margin: 4px 0;
}
.cs-select-options li[aria-selected="true"],
.cs-select-options li:hover {
  background: linear-gradient(90deg, rgba(10,102,230,0.06), rgba(10,102,230,0.02));
  color: #072c5b;
}

/* keyboard focus */
.cs-select-options li:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(9,19,35,0.04);
}

/* arrow indicator */
.cs-select[aria-expanded="true"] .cs-select-caret {
  transform: rotate(180deg);
  transition: transform .18s ease;
}

/* ============================
   CUSTOM MULTI-SELECT
   ============================ */

.cs-multiselect {
  position: relative;
  width: 100%;
  max-width: 100%;
  outline: none;
}

.cs-multiselect-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(13,25,40,0.07);
  background: linear-gradient(180deg,#ffffff,#fbfdff);
  box-shadow: 0 6px 18px rgba(9,19,35,0.03);
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}

.cs-multiselect-toggle:focus {
  outline: none;
  border-color: #0a66e6;
  box-shadow: 0 12px 30px rgba(10,102,230,0.12);
  transform: translateY(-1px);
}

.cs-multiselect-value { 
  color: #062033; 
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-multiselect-caret { 
  color: #0a66e6; 
  font-size: 14px;
  transition: transform .18s ease;
}

.cs-multiselect[aria-expanded="true"] .cs-multiselect-caret {
  transform: rotate(180deg);
}

/* options panel */
.cs-multiselect-options {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 10px;
  padding: 8px;
  list-style: none;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(10,102,230,0.06);
  box-shadow: 0 18px 40px rgba(6,18,40,0.08);
  z-index: 400;
  max-height: 280px;
  overflow: auto;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.2,.9,.3,1), transform .22s cubic-bezier(.2,.9,.3,1);
}

/* show */
.cs-multiselect[aria-expanded="true"] .cs-multiselect-options {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* option item */
.cs-multiselect-options li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #0b2a4a;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .15s ease;
}

.cs-multiselect-options li:hover {
  background: linear-gradient(90deg, rgba(10,102,230,0.06), rgba(10,102,230,0.02));
}

.cs-multiselect-options li[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(10,102,230,0.08), rgba(10,102,230,0.04));
  color: #072c5b;
}

/* checkbox styling */
.cs-option-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0a66e6;
}

.cs-multiselect-options li label {
  flex: 1;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

/* selected count badge */
.cs-selected-count {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
  margin-left: 6px;
}

/* ============================
   ANIMATED DATEPICKER
   ============================ */

.cs-datepicker {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 380px;
}

.cs-date-input {
  flex: 1 1 auto;
  cursor: pointer;
  background: linear-gradient(180deg,#ffffff,#fbfdff);
  border-radius: 14px;
}

.cs-date-open {
  border-radius: 10px;
  padding: 9px 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* calendar popup */
.cs-calendar {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 320px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(6,18,40,0.12);
  border: 1px solid rgba(10,102,230,0.06);
  z-index: 500;
  padding: 12px;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .20s cubic-bezier(.2,.9,.3,1), transform .20s cubic-bezier(.2,.9,.3,1);
}

/* visible */
.cs-calendar[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* header */
.cs-cal-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.cs-cal-title { font-weight:700; color:#072c5b; }

/* prev/next buttons */
.cs-cal-prev, .cs-cal-next {
  background:transparent;
  border:1px solid rgba(10,102,230,0.08);
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
  color:#084db6;
}

/* grid */
.cs-cal-grid {
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:6px;
  margin-bottom:8px;
}

/* weekday labels */
.cs-cal-grid .cs-cal-wd {
  font-size:12px;
  color:#6b7280;
  text-align:center;
  padding:6px 4px;
}

/* dates */
.cs-cal-day {
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  color:#0b2a4a;
}
.cs-cal-day:hover { 
  background: linear-gradient(90deg, rgba(10,102,230,0.06), rgba(10,102,230,0.02)); 
  color:#072c5b; 
}
.cs-cal-day[aria-current="true"] { 
  background: linear-gradient(90deg,#0a66e6,#2ea0ff); 
  color:white; 
}
.cs-cal-day[aria-disabled="true"] { 
  opacity:0.28; 
  cursor:default; 
  pointer-events:none; 
}

/* actions */
.cs-cal-actions { 
  display:flex; 
  gap:8px; 
  justify-content:flex-end; 
}
.cs-cal-actions button { 
  padding:8px 10px; 
  border-radius:8px; 
  background:transparent; 
  border:1px solid rgba(10,102,230,0.06); 
  cursor:pointer; 
  font-size:13px;
  color:#084db6;
  font-weight:600;
}

/* small responsive adjustments */
@media (max-width:420px){
  .cs-calendar { left: auto; right: 0; width: calc(100vw - 40px); }
}

/* end of file */