* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #f7f9fc;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #2d3436;
}

.split-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.left-panel {
  flex: 1.15;
  background: linear-gradient(135deg, #fdfdfd 0%, #f4f6fa 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 35px 40px;
  overflow: hidden;
  border-right: 1px solid #eef2f6;
}

.bg-shape-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: rgba(30, 55, 153, 0.03);
  border-radius: 50%;
  z-index: 1;
}

.bg-shape-2 {
  position: absolute;
  bottom: -8%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: rgba(253, 203, 110, 0.06);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}

.left-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.left-header img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.left-header-text {
  display: flex;
  flex-direction: column;
}

.left-header-text .main-title {
  font-weight: 800;
  font-size: 1.3rem;
  color: #1e3799;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.left-header-text .sub-title {
  font-size: 0.78rem;
  color: #718096;
  font-weight: 600;
}

.illustration-box {
  max-width: 75%;
  z-index: 2;
  position: relative;
  text-align: center;
  margin: auto 0;
  padding: 20px 0;
}

.illustration-box img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.08));
  animation: float 6s ease-in-out infinite;
}

.portal-left-card {
  z-index: 2;
  position: relative;
  max-width: 440px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 10px 25px rgba(30, 55, 153, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.portal-left-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 55, 153, 0.1);
}

.portal-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
}

.portal-status-dot .pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.right-panel {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 7%;
  position: relative;
  box-shadow: -15px 0 40px rgba(0,0,0,0.02);
  z-index: 2;
  min-height: 100vh;
}

.right-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-brand-text .brand-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: #1e3799;
  letter-spacing: -0.3px;
}

.header-brand-text .brand-sub {
  font-size: 0.65rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.portal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #e0e7ff;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(30, 55, 153, 0.05);
  flex-shrink: 0;
}

.portal-header-badge:hover {
  background: #f0f4ff;
  border-color: #1e3799;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 55, 153, 0.12);
}

.portal-badge-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #1e3799, #3867d6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.portal-badge-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.portal-badge-tag {
  font-size: 0.6rem;
  font-weight: 800;
  color: #1e3799;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.portal-badge-url {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2d3436;
}

.form-wrapper {
  max-width: 440px;
  width: 100%;
  margin: auto auto;
  padding: 10px 0;
}

h1.welcome-text {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.welcome-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.help-text {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.55;
  background: #f8fafc;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
  border-left: 3px solid #1e3799;
}

.help-text a {
  color: #1e3799;
  text-decoration: none;
  font-weight: 600;
}

.help-text a:hover {
  text-decoration: underline;
}

.nav-pills-custom {
  background-color: #f1f5f9;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 20px;
  display: flex;
}

.nav-pills-custom .nav-item {
  flex: 1;
}

.nav-pills-custom .nav-link {
  color: #64748b;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 0;
  transition: all 0.25s ease;
  border: none;
  width: 100%;
  background: transparent;
}

.nav-pills-custom .nav-link.active {
  background-color: #ffffff;
  color: #1e3799;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-floating {
  margin-bottom: 16px;
  position: relative;
}

.form-floating > .form-control {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  height: 56px;
  padding-top: 22px;
  padding-bottom: 8px;
  font-weight: 500;
  color: #1e293b;
  box-shadow: none;
  transition: all 0.25s ease;
  background-color: #fff;
  width: 100%;
}

.form-floating > .form-control:focus {
  border-color: #1e3799;
  box-shadow: 0 0 0 4px rgba(30, 55, 153, 0.1);
  outline: none;
}

.form-floating > label {
  padding: 16px 14px;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9rem;
}

.captcha-box {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  margin-bottom: 18px;
  transition: all 0.25s ease;
}

.captcha-box:hover {
  border-color: #cbd5e1;
}

.captcha-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-check {
  width: 22px;
  height: 22px;
  background-color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}

.captcha-text {
  font-weight: 600;
  color: #334155;
  font-size: 0.88rem;
}

.captcha-brand {
  text-align: right;
  line-height: 1;
}

.captcha-brand i {
  font-size: 1.4rem;
}

.captcha-brand div {
  font-size: 0.55rem;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.btn-login {
  background-color: #1e3799;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(30,55,153,0.2);
  width: 100%;
  cursor: pointer;
}

.btn-login:hover {
  background-color: #0c2461;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,55,153,0.28);
  color: white;
}

#reader-container {
  display: none;
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 2px solid #1e3799;
}

#reader {
  width: 100% !important;
  border: none !important;
}

.portal-quick-card {
  background: linear-gradient(135deg, #f8faff 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.portal-quick-card:hover {
  border-color: #1e3799;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(30, 55, 153, 0.08);
  transform: translateY(-2px);
}

.portal-quick-icon {
  width: 36px;
  height: 36px;
  background: #e0e7ff;
  color: #1e3799;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.login-footer-info {
  text-align: center;
  font-size: 0.74rem;
  color: #94a3b8;
  padding-top: 15px;
}

.login-footer-info a {
  color: #1e3799;
  text-decoration: none;
  font-weight: 600;
}

.login-footer-info a:hover {
  text-decoration: underline;
}

.student-portal-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.student-profile-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  background: #1e3799;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3799;
}

.profile-meta {
  font-size: 0.85rem;
  color: #64748b;
}

.badge-primary-subtle {
  background: #e0e7ff;
  color: #1e3799;
}

.badge-success-subtle {
  background: #dcfce7;
  color: #16a34a;
}

.badge-warning-subtle {
  background: #fef3c7;
  color: #d97706;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .size-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .size-grid { grid-template-columns: repeat(6, 1fr); }
}

.size-option {
  position: relative;
}

.size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-card {
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.size-card:hover {
  border-color: #1e3799;
  transform: translateY(-2px);
}

.size-option input[type="radio"]:checked + .size-card {
  border-color: #1e3799;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(30, 55, 153, 0.2);
}

.size-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e3799;
}

.size-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e3799;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.size-guide-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  margin-bottom: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.table th {
  background: #1e3799;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  white-space: nowrap;
}

.table tr:hover {
  background: #f8fafc;
}

.calc-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calc-result {
  background: #ffffff;
  border: 2px solid #1e3799;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: #1e3799;
}

.receipt-box {
  background: #ffffff;
  border: 2px solid #1e3799;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.receipt-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
}

.receipt-badge {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #1e3799;
  background: #eff6ff;
  padding: 0.5rem 2rem;
  border-radius: 12px;
  margin: 1rem 0;
  border: 2px dashed #1e3799;
}

.class-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .class-pill-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .class-pill-grid { grid-template-columns: repeat(6, 1fr); }
}

.class-pill-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: 100%;
}

.class-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

.class-pill-btn.active {
  background: linear-gradient(135deg, #1e3799 0%, #1e1b4b 100%);
  box-shadow: 0 0 0 3px rgba(254, 240, 138, 0.9), 0 8px 20px rgba(30, 55, 153, 0.4);
}

.student-avatar-sm {
  width: 34px;
  height: 34px;
  background: #1e3799;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .split-container { flex-direction: column; }
  .left-panel { display: none; }
  .right-panel { padding: 25px 20px; justify-content: flex-start; min-height: 100vh; }
  .right-panel-header { flex-wrap: wrap; gap: 12px; }
  .form-wrapper { max-width: 100%; margin: 20px auto 30px; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@media print {
  body { background: #ffffff !important; }
  .split-container, .btn, .nav-pills-custom, nav, .class-pill-grid, .stage-controls, .major-tabs-pill { display: none !important; }
  .card, .receipt-box { box-shadow: none !important; border: 1px solid #000000 !important; }
}

/* ======================================================
   STUDENT PORTAL NAVIGATION TABS (MOBILE & DESKTOP)
   ====================================================== */
.student-tabs-nav {
  display: flex;
  background: #ffffff;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.student-tabs-nav::-webkit-scrollbar {
  display: none;
}

.student-tab-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: none;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid transparent;
}

.student-tab-item:hover {
  background: #f1f5f9;
  color: #1e3799;
}

.student-tab-item.active {
  background: #1e3799;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 55, 153, 0.25);
  border-color: #1e3799;
}

@media (max-width: 768px) {
  .student-tabs-nav {
    padding: 4px;
    gap: 6px;
    border-radius: 12px;
  }
  .student-tab-item {
    font-size: 0.8rem;
    padding: 10px 12px;
    min-width: 110px;
    border-radius: 8px;
  }
  .student-profile-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ======================================================
   3D WEARPACK STUDIO & JURUSAN PERHOTELAN COMING SOON
   ====================================================== */
.wearpack-3d-wrapper {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  padding: 24px;
  margin-bottom: 24px;
}

.wearpack-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.wearpack-title-group {
  max-width: 580px;
}

.badge-studio {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #1e3799 0%, #0c2461 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.wearpack-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e3799;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.wearpack-subtitle {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

/* Department switcher */
.major-tabs-pill {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.major-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.major-tab-btn:hover {
  color: #1e3799;
}

.major-tab-btn.active {
  background: #ffffff;
  color: #1e3799;
  box-shadow: 0 4px 10px rgba(30, 55, 153, 0.12);
}

/* 3D Stage & Turntable */
.wearpack-stage-container {
  background: radial-gradient(circle at 50% 35%, #f8fafc 0%, #eef2f6 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 24px;
}

.stage-overlay-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.angle-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 55, 153, 0.15);
  color: #1e3799;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hint-badge {
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

.wearpack-stage-viewport {
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  perspective: 1000px;
}

.wearpack-stage-viewport:active {
  cursor: grabbing;
}

.stage-lighting {
  position: absolute;
  top: 15%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(30, 55, 153, 0.08) 0%, rgba(30, 55, 153, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stage-podium {
  position: absolute;
  bottom: 24px;
  width: 280px;
  height: 40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wearpack-3d-model {
  position: relative;
  width: 320px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
  pointer-events: none;
}

.wearpack-sprite {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.08));
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.15s ease;
}

.wearpack-sprite.active {
  display: block;
}

.model-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: 12px;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* Controls */
.stage-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.angle-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-preset {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-preset:hover {
  background: #f8fafc;
  color: #1e3799;
  border-color: #1e3799;
}

.btn-preset.active {
  background: #1e3799;
  color: #ffffff;
  border-color: #1e3799;
  box-shadow: 0 2px 6px rgba(30, 55, 153, 0.25);
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-tool {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e3799;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tool:hover {
  background: #1e3799;
  color: #ffffff;
  border-color: #1e3799;
}

.btn-tool.active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

/* Detail cards grid */
.wearpack-details-section {
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 18px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.detail-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.detail-card:hover {
  transform: translateY(-4px);
  border-color: #1e3799;
  box-shadow: 0 8px 16px rgba(30, 55, 153, 0.1);
}

.detail-thumb-box {
  position: relative;
  background: #edf2f7;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.detail-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.detail-card:hover .detail-thumb-box img {
  transform: scale(1.1);
}

.detail-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 55, 153, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.detail-card:hover .detail-zoom-overlay {
  opacity: 1;
}

.detail-info {
  padding: 8px 6px;
}

.detail-card-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-card-sub {
  font-size: 0.65rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Coming Soon Hotel Major Showcase */
.coming-soon-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #172554 100%);
  border-radius: 16px;
  padding: 40px 30px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.coming-soon-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.cs-shape-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
}

.cs-shape-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
}

.coming-soon-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.cs-icon-box {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.cs-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 2px solid #f59e0b;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.badge-coming-soon {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.cs-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.cs-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.cs-alert-box {
  background: rgba(30, 55, 153, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  color: #e0e7ff;
  display: flex;
  align-items: flex-start;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-features-grid {
    grid-template-columns: 1fr;
  }
  .wearpack-stage-viewport {
    height: 340px;
  }
  .wearpack-3d-model {
    width: 260px;
    height: 300px;
  }
}

