@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes rise { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin { to{transform:rotate(360deg)} }
#arac-kok{
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
& {
  --bg:            #e8ecf0;
  --surface:       #ffffff;
  --surface-2:     #f0f3f7;
  --border:        #d8dfe8;
  --primary:       #2563eb;
  --primary-light: #eff4ff;
  --primary-mid:   #bfcffe;
  --accent:        #f59e0b;
  --text-1:        #1a2332;
  --text-2:        #4a5568;
  --text-3:        #94a3b8;
  --success:       #10b981;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 2px 12px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.05);
}
&,& {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  
}
& {
  padding: 36px 24px 60px;
}
.outer {
  width: 900px;
  margin: 0 auto;
  
}
.tab-bar {
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;           
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 18px 12px;
  border-right: 1px solid var(--border);
  color: var(--text-3);
  cursor: default;
  position: relative;
  white-space: nowrap;
}
.tab-item:last-child { border-right: none; }
.tab-item.active {
  color: var(--primary);
  background: var(--primary-light);
}
.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.tab-item.dimmed { opacity: .5; }
.tab-icon-box {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.tab-item.active .tab-icon-box {
  background: var(--primary);
}
.tab-label { font-size: 13px; font-weight: 600; }
.tab-sub   { font-size: 11px; color: var(--text-3); }
.main-body {
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  display: flex;           
  flex-direction: row;     
  min-height: 520px;
  overflow: hidden;
}
.left-panel {
  width: 380px;            
  flex-shrink: 0;
  flex-grow: 0;
  padding: 28px 26px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.right-panel {
  flex: 1;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.right-panel::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid var(--border);
  bottom: -65px; right: -55px;
  opacity: .4;
  pointer-events: none;
}
.step-row  { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.step-num  {
  width: 26px; height: 26px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.step-title { font-size: 14px; font-weight: 700; }
.quick-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.qbtn {
  padding: 5px 13px; border-radius: 20px;
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--text-2); cursor: pointer; transition: all .15s; white-space: nowrap;
}
.qbtn:hover { background: var(--primary-light); border-color: var(--primary-mid); color: var(--primary); }
.cal-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-nav-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1; color: var(--text-2); transition: all .15s;
}
.cal-nav-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-mid); }
.cal-month { font-size: 14px; font-weight: 700; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 100%;
}
.cal-dn {
  text-align: center; font-size: 10px; font-weight: 700;
  color: var(--text-3); padding: 3px 0 7px;
  text-transform: uppercase; letter-spacing: .03em;
  overflow: hidden;
}
.cal-day {
  
  position: relative;
  width: 100%;
  padding-bottom: 100%; 
  border-radius: 7px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .12s, color .12s;
  overflow: hidden;
}
.cal-day-inner {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  color: var(--text-2);
}
.cal-day:hover:not(.sel) { background: var(--primary-light); border-color: var(--primary-mid); }
.cal-day:hover:not(.sel) .cal-day-inner { color: var(--primary); }
.cal-day.other .cal-day-inner { color: var(--text-3); opacity: .4; }
.cal-day.tod    { background: #fffbeb; border-color: #fcd34d; }
.cal-day.tod .cal-day-inner { color: var(--accent); font-weight: 700; }
.cal-day.sel    { background: var(--primary); border-color: var(--primary); box-shadow: 0 2px 7px rgba(37,99,235,.3); }
.cal-day.sel .cal-day-inner { color: #fff; font-weight: 700; }
.cal-day.inwk:not(.sel) { background: var(--primary-light); }
.cal-day.inwk:not(.sel) .cal-day-inner { color: var(--primary); }
.info-box {
  background: var(--primary-light); border: 1px solid var(--primary-mid);
  border-radius: var(--radius-sm); padding: 10px 13px;
  font-size: 12px; color: var(--primary); line-height: 1.6;
}
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.empty-state.hidden { display: none; }
.empty-ship { font-size: 54px; filter: grayscale(.4) opacity(.35); animation: bob 3s ease-in-out infinite; }
.empty-text { font-size: 13px; color: var(--text-3); font-weight: 500; max-width: 180px; line-height: 1.5; }
.result-wrap { display: none; flex-direction: column; align-items: center; gap: 16px; width: 100%; animation: rise .35s ease; }
.result-wrap.show { display: flex; }
.r-date-lbl { font-size: 10px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
.r-date-val { font-size: 15px; font-weight: 700; color: var(--text-1); margin-top: -6px; text-align: center; }
.week-circle {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #60a5fa 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,99,235,.35);
  position: relative;
}
.week-circle::before {
  content: ''; position: absolute; inset: -7px;
  border-radius: 50%; border: 2px dashed var(--primary-mid);
  animation: spin 14s linear infinite;
}
.wc-lbl  { font-size: 10px; color: rgba(255,255,255,.65); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.wc-num  { font-family: 'Space Mono', monospace; font-size: 54px; color: #fff; line-height: 1; font-weight: 700; }
.wc-year { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.range-pill {
  width: 100%; max-width: 300px;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 10px; padding: 11px 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.rp-lbl { font-size: 10px; color: var(--success); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.rp-val { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--text-1); font-weight: 700; margin-top: 3px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; width: 100%; max-width: 300px; }
.chip  { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; }
.ch-lbl { font-size: 10px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ch-val { font-size: 13px; font-weight: 700; color: var(--text-1); margin-top: 4px; }
.ch-val.blue  { color: var(--primary); }
.ch-val.amber { color: var(--accent); }
.ch-val.green { color: var(--success); }
}
