* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(88, 185, 201, 0.22), transparent 36%),
    radial-gradient(circle at bottom right, rgba(27, 95, 110, 0.18), transparent 30%),
    linear-gradient(145deg, #f5fbfd 0%, #e7f2f6 100%);
  color: #12313d;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.upload-page {
  background:
    linear-gradient(90deg, rgba(245, 251, 253, 0.96) 0%, rgba(241, 246, 248, 0.92) 36%, rgba(245, 251, 253, 0.95) 100%),
    radial-gradient(circle at left center, rgba(83, 177, 196, 0.18), transparent 32%);
}

.upload-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 10px;
  background: linear-gradient(90deg, #6d5162 0%, #5c495b 100%);
  z-index: 1;
}

.upload-layout {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 24px 24px;
}

.upload-hero {
  width: min(1180px, 100%);
  display: flex;
  justify-content: center;
}

.upload-card {
  width: min(780px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(18, 49, 61, 0.12);
  padding: 2.3rem 2.5rem 1.8rem;
}

.upload-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  color: #163745;
  margin-bottom: 0.9rem;
}

.upload-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #225f70;
  background: linear-gradient(135deg, #d9eff4, #edf7fa);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.upload-intro {
  color: #526b76;
  line-height: 1.55;
  font-size: 1.02rem;
  padding-left: 1rem;
  border-left: 4px solid #58b9c9;
  margin-bottom: 2rem;
}

.upload-form--screenshot {
  gap: 1.25rem;
}

.upload-field {
  display: grid;
  gap: 0.55rem;
}

.upload-field label {
  font-size: 1rem;
  font-weight: 700;
  color: #284550;
}

.upload-field label i {
  color: #4b97aa;
}

.upload-field input,
.upload-field select {
  height: 66px;
  border-radius: 22px;
  border-color: #dfe8ec;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.file-input--screenshot {
  padding: 1rem 1.1rem;
  background: #fbfdfe;
}

.hint--screenshot {
  font-size: 0.95rem;
  color: #67818b;
}

.upload-submit {
  margin-top: 0.3rem;
  width: 100%;
  height: 66px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f6677, #164c59);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(22, 76, 89, 0.25);
}

.upload-footnote {
  text-align: center;
  color: #57717d;
  font-size: 0.88rem;
  border-top: 1px solid rgba(88, 185, 201, 0.18);
  padding-top: 0.9rem;
}

@media (max-width: 900px) {
  .upload-hero {
    justify-content: center;
  }

  .upload-card {
    padding: 1.8rem 1.2rem 1.4rem;
    border-radius: 28px;
  }
}

.upload-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.flow-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.web-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.registration-card {
  width: min(640px, 100%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 28, 38, 0.18);
}

.flow-card {
  width: min(560px, 100%);
}

.web-panel {
  width: min(1080px, 100%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  padding: 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 28, 38, 0.18);
}

.web-panel h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: #0b2a35;
  margin-bottom: 0.75rem;
}

.choice-list {
  display: grid;
  gap: 14px;
  margin-top: 1.5rem;
}

.choice-card {
  width: 100%;
  border: 1px solid #e1edf1;
  background: #fff;
  border-radius: 20px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 28, 38, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: #c7dfe7;
  box-shadow: 0 12px 26px rgba(0, 28, 38, 0.08);
}

.choice-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  font-size: 1.2rem;
}

.choice-icon--state {
  background: linear-gradient(135deg, #7d25ff, #4f1db9);
}

.choice-icon--cbse {
  background: linear-gradient(135deg, #b32df2, #7d168e);
}

.choice-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.choice-copy strong {
  font-size: 1.05rem;
  color: #132f39;
}

.choice-copy span {
  font-size: 0.88rem;
  color: #637b85;
  line-height: 1.3;
}

.choice-arrow {
  margin-left: auto;
  color: #7b8f97;
  font-size: 1rem;
}

.choice-number {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  flex: none;
}

.choice-number--orange { background: #ff8f1c; }
.choice-number--red { background: #ff5c33; }
.choice-number--green { background: #29b36b; }
.choice-number--pink { background: #d81cc5; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #eef7fa;
  border: 1px solid #d3e7ee;
  color: #1b5f6e;
  font-size: 0.84rem;
  font-weight: 700;
}

.registration-card h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: #0b2a35;
  margin-bottom: 0.75rem;
}

.registration-card h1 i {
  color: #1b5f6e;
}

.subhead {
  color: #446470;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  padding-left: 1rem;
  border-left: 4px solid #58b9c9;
}

.upload-form {
  display: grid;
  gap: 1.15rem;
}

.form-group {
  display: grid;
  gap: 0.55rem;
}

label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1d414d;
}

label i {
  width: 18px;
  color: #3f8b9b;
}

input,
select {
  width: 100%;
  border: 1.5px solid #d9e7ed;
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: #12313d;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus {
  border-color: #3ba5b9;
  box-shadow: 0 0 0 4px rgba(59, 165, 185, 0.14);
}

select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%233f8b9b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.8rem;
  cursor: pointer;
}

.upload-group {
  gap: 0.45rem;
}

.file-input {
  padding: 0.85rem 0.95rem;
  background: #fafdff;
}

.hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d7380;
  font-size: 0.88rem;
  padding-left: 0.15rem;
}

.hint i {
  color: #5f8f9e;
}

.btn-register {
  margin-top: 0.35rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b5f6e, #134b58);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(19, 75, 88, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(19, 75, 88, 0.28);
}

.btn-register:active {
  transform: translateY(0);
}

.flow-actions {
  display: flex;
  justify-content: flex-end;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: #e8f4f7;
  color: #1b5f6e;
  border: 1px solid #c9e5ec;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footnote {
  text-align: center;
  color: #3f6f7e;
  font-size: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(88, 185, 201, 0.18);
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .page {
    padding: 16px;
  }

  .registration-card {
    padding: 1.6rem 1.1rem;
    border-radius: 28px;
  }
}

.review-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.review-card {
  width: min(1180px, 100%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  padding: 2.2rem;
  box-shadow: 0 24px 60px rgba(0, 28, 38, 0.18);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.status-pill {
  flex: none;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b2a35;
  background: #e8f4f7;
  border: 1px solid #c9e5ec;
}

.status-pill[data-state="approved"] {
  color: #0f5a3e;
  background: #e5f6ee;
  border-color: #bfe9d2;
}

.status-pill[data-state="rejected"] {
  color: #8b1e1e;
  background: #fdecec;
  border-color: #f4c2c2;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 1.5rem;
}

.meta-item {
  border: 1px solid #d9e7ed;
  background: #fafdff;
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
}

.meta-label {
  font-size: 0.82rem;
  color: #52727f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-item strong {
  font-size: 1rem;
  color: #12313d;
  word-break: break-word;
}

.review-subtitle {
  margin: 0.3rem 0 1rem;
  color: #446470;
  font-weight: 600;
}

.video-block {
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.video-gallery .video-block {
  background: #fff;
  border: 1px solid #e1edf1;
  border-radius: 22px;
  padding: 0.8rem;
  box-shadow: 0 8px 20px rgba(0, 28, 38, 0.05);
}

.video-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #d9e7ed;
  background: linear-gradient(135deg, #eaf7fb, #f7fbfc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d2028;
  object-fit: cover;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4d7380;
  font-size: 0.92rem;
}

.video-menu-wrap {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
}

.video-menu-trigger {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #204b58;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 28, 38, 0.14);
}

.video-menu {
  position: absolute;
  top: 44px;
  right: 0;
  min-width: 132px;
  padding: 0.35rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d9e7ed;
  box-shadow: 0 18px 30px rgba(0, 28, 38, 0.16);
  display: none;
}

.video-menu.is-open {
  display: grid;
  gap: 0.3rem;
}

.video-menu-item {
  border: none;
  border-radius: 12px;
  background: #f7fbfc;
  color: #12313d;
  text-align: left;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.video-menu-item:hover {
  background: #eaf7fb;
}

@media (max-width: 760px) {
  .web-panel {
    padding: 1.5rem 1.1rem;
    border-radius: 28px;
  }

  .review-card {
    padding: 1.5rem 1.1rem;
    border-radius: 28px;
  }

  .review-header {
    flex-direction: column;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }
}
