/* ══════════════════════════════════════
   LOGIN SCREEN
══════════════════════════════════════ */
#sc-login {
  justify-content: center;
  padding: var(--sat) 24px calc(24px + var(--sab));
}

.login-logo {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(224, 21, 21, .3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  margin: 0 auto 16px;
}

.login-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

/* ══════════════════════════════════════
   HOME SCREEN — HERO
══════════════════════════════════════ */
.home-hero {
  background: linear-gradient(160deg, rgba(224, 21, 21, .08) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px 16px;
  flex-shrink: 0;
}

.home-clock {
  font-family: 'Rajdhani';
  font-size: 42px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1;
}

.home-date {
  font-size: 12px;
  color: var(--sub);
  margin-top: 2px
}

/* ══════════════════════════════════════
   MISSION ACTIVE CARD
══════════════════════════════════════ */
.mission-banner {
  background: linear-gradient(140deg, rgba(224, 21, 21, .12), rgba(224, 21, 21, .04));
  border: 1.5px solid rgba(224, 21, 21, .3);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mission-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(224, 21, 21, .15), transparent 70%);
  border-radius: 50%;
}

/* ══════════════════════════════════════
   ACTIVE MISSION SCREEN
══════════════════════════════════════ */
.active-hdr {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 6px;
}

.active-timer-wrap {
  text-align: center;
  padding: 8px 16px 12px;
  background: linear-gradient(180deg, rgba(224, 21, 21, .04), transparent);
}

.active-prog {
  display: flex;
  gap: 4px;
  padding: 0 16px 12px;
}

.dest-card {
  background: linear-gradient(140deg, rgba(224, 21, 21, .06), rgba(224, 21, 21, .02));
  border: 1.5px solid rgba(224, 21, 21, .25);
  border-radius: 16px;
  padding: 18px;
}

.dest-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.dest-name {
  font-family: 'Rajdhani';
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.dest-addr {
  color: var(--dim);
  font-size: 13px;
  margin-top: 4px
}

.active-footer {
  padding: 12px 16px calc(12px + var(--sab));
  background: var(--bg);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   HISTORY CARD
══════════════════════════════════════ */
.hist-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.hist-card-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hist-pt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════
   SUMMARY SCREEN
══════════════════════════════════════ */
.summary-hero {
  text-align: center;
  padding: 28px 16px 20px;
}

.summary-check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 230, 118, .1);
  border: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 40px;
  box-shadow: 0 0 32px rgba(0, 230, 118, .2);
}

/* ══════════════════════════════════════
   PROFILE SCREEN
══════════════════════════════════════ */
.profile-hero {
  text-align: center;
  padding: 20px 16px 12px
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none
}

.info-key {
  font-size: 13px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px
}

.info-val {
  font-size: 14px;
  font-weight: 600;
  text-align: right
}

/* ══════════════════════════════════════
   DRAG & DROP TIMELINE
══════════════════════════════════════ */
.drag-item {
  user-select: none;
  -webkit-user-select: none;
  transition: opacity .15s
}

.drag-item.dragging {
  opacity: .35
}

.drag-item.drag-over {
  border-top: 2px solid var(--red) !important
}

.drag-handle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px 8px 10px 12px;
  cursor: grab;
  flex-shrink: 0;
  opacity: .35;
  touch-action: none;
  -webkit-touch-callout: none;
}

.drag-handle:active {
  cursor: grabbing;
  opacity: .7
}

.drag-handle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--sub);
  border-radius: 2px
}

/* ══════════════════════════════════════
   CHECK-IN STATES
══════════════════════════════════════ */
.ci-wall {
  background: rgba(255, 179, 0, .04);
  border: 1.5px solid rgba(255, 179, 0, .28);
  border-radius: 16px;
  padding: 16px
}

.ci-present {
  background: rgba(0, 230, 118, .04);
  border: 1.5px solid rgba(0, 230, 118, .28);
  border-radius: 16px;
  padding: 14px
}

.ci-closed {
  background: rgba(100, 100, 100, .04);
  border: 1.5px dashed var(--border2);
  border-radius: 16px;
  padding: 14px
}

.ci-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700
}
