/* Custom Font Face Declaration */
@font-face {
  font-family: 'SCG Regular';
  src: url('/fonts/SCG%20Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: 'SCG Regular', system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(239, 221, 186, 1);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  /* Remove flex centering from template to avoid layout issues with full-page bg */
  display: block;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background: transparent;
  }
  a:hover { color: #747bff; }
  button { background-color: rgba(255,255,255,0.85); }
}
/* SCG Regular Font */
@font-face {
  font-family: 'SCG Regular';
  src: url('/fonts/SCG%20Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* SCG Bold Font */
@font-face {
  font-family: 'SCG Bold';
  src: url('/fonts/SCG%20Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Font utility classes */
.font-scg {
  font-family: 'SCG Regular', sans-serif;
}

.font-scg-bold {
  font-family: 'SCG Bold', sans-serif;
}

.font-scg-light {
  font-family: 'SCG Regular', sans-serif;
  font-weight: 300;
}

.font-scg-normal {
  font-family: 'SCG Regular', sans-serif;
  font-weight: 400;
}

.font-scg-medium {
  font-family: 'SCG Regular', sans-serif;
  font-weight: 500;
}

.font-scg-heavy {
  font-family: 'SCG Bold', sans-serif;
  font-weight: 700;
}
.navbar {
  padding: 0;
  height: 64px;
  position: relative;
  z-index: 1000;
}

/* Fully transparent on home page */
.navbar.navbar--transparent {
  background-color: rgba(255, 255, 255, 0);
}

/* Semi-transparent on other pages */
.navbar.navbar--overlay {
  background-color: rgba(15, 20, 76, 0.4);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 32px;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  padding-top: 72px;
  border-radius: 8px;
}

.back-button {
  width: 189px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0px 8px 12px 0px rgba(0, 0, 0, 0.08),
    -2px -2px 2px -2px rgba(255, 255, 255, 1) inset,
    2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
  backdrop-filter: blur(20px);
  font-family: 'SCG Regular', sans-serif;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  padding: 0 2.2rem;
  border-radius: 25px;
  margin-top: 72px;
  border: none;
  position: relative;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.back-button .ant-btn-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.back-button span {
  display: block;
  width: 100%;
  text-align: center;
}

.logo-image {
  transition: all 0.3s ease;
}

.logo:hover .logo-image {
  filter: brightness(1.1);
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.language-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  gap: 8px;
  width: 80.35px;
  cursor: pointer;
}


.language-toggle-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 6px;
  
  position: absolute;
  height: 22px;
  
  flex: none;
  order: 0;
  flex-grow: 0;
  z-index: 0;
}

.language-option {
  width: 24px;
  height: 22px;
  
  font-family: 'SCG Regular', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  
  flex: none;
  flex-grow: 0;
  cursor: pointer;
}

.language-option.active {
  color: #000000;
}

.language-option.inactive {
  color: rgba(0, 0, 0, 0.25);
}

.admin-login-button {
  color: black !important;
}

.admin-login-button:hover,
.admin-login-button:focus,
.admin-login-button:active {
  background-color: transparent !important;
  color: black !important;
}
/* Shared background styles for HomePage and MainPage */
.gradient-background {
  background: rgba(239, 221, 186, 1);
  min-height: 100vh;
  position: relative;
}
.home-layout {
  min-height: 100vh;
  background: transparent;
  position: relative;
  overflow: hidden;
}
/* Glass Object - Positioned behind SCG CEMENT text */
.glass-obj {
  position: absolute;
  width: 182px;
  height: 182.48px;
  left: -80px;
  top: -20px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
/* Glass object border effect using pseudo-element */
.glass-obj::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(111.14% 111.14% at 8.37% 0%, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  padding: 1px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}
/* Main glass rectangle - background content */
.glass-rectangle {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
}
/* Mask group with backdrop filter */
.glass-mask {
  box-sizing: border-box;
  position: absolute;
  width: 182px;
  height: 180.62px;
  left: 0;
  top: 1.85px;
  background: radial-gradient(111.14% 111.14% at 8.37% 0%, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(78.8849px);
  -webkit-backdrop-filter: blur(78.8849px);
  border-radius: 830.367px;
}
/* SCG text inside glass */
.glass-text {
  box-sizing: border-box;
  position: absolute;
  width: 184px;
  height: 129px;
  left: -1px;
  top: 22.8px;
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 99.1667px;
  line-height: 130%;
  display: flex;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  mix-blend-mode: overlay;
  filter: blur(5.83333px);
  justify-content: center;
}
/* Additional ellipse effect */
.glass-ellipse {
  position: absolute;
  width: 115.5px;
  height: 74.67px;
  left: 33.25px;
  top: 11.66px;
  background: radial-gradient(74.11% 74.1% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: normal;
  filter: blur(7.55681px);
  border-radius: 50%;
}
/* Background Video */
.background-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
  /* fallback */
}
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(1) saturate(1.1);
  pointer-events: none;
}
.video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: calc(100vh - 60px);
  padding: 2rem;
  padding-right: 8%;
  position: relative;
  z-index: 1;
  /* sits above video but below potential future overlays */
}
.hero-section {
  text-align: right;
  color: white;
  max-width: 600px;
  margin-right: 2rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  /* reduced from 3rem for tighter grouping */
}
/* Add a little extra space before the button only */
.hero-text .start-button {
  margin-top: 3rem;
}
.title {
  font-family: 'SCG Regular', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  color: rgba(51, 74, 102, 1);
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
}
.sub-title {
  font-family: 'SCG Regular', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
  color: rgba(51, 74, 102, 1);
}
.main-logo {
  position: relative;
  z-index: 1;
}
.main-logo h1 {
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
  font-size: 6rem;
  font-weight: normal;
  margin: 0;
  color: rgba(0, 0, 0, 1);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  letter-spacing: 1px;
  line-height: 1.1;
}
.start-button {
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0px 8px 12px 0px rgba(0, 0, 0, 0.08),
    -2px -2px 2px -2px rgba(255, 255, 255, 1) inset,
    2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
  backdrop-filter: blur(20px);
  font-family: 'SCG Regular', sans-serif;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  height: 40px;
  width: 152px;
  padding: 0 2.2rem;
  border-radius: 25px;
}
.ant-btn:hover { 
  transform: scale(1.05);
  transition: transform 0.2s ease;
  outline: none !important;
  border-color: rgba(0, 0, 0, 0) !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: black !important;
}
.ant-btn:focus-visible {
  transform: scale(1.05);
  transition: transform 0.2s ease;
  border-color: rgba(0, 0, 0, 0) !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: black !important;
}
/* Responsive design */
@media (max-width: 768px) {
  .main-logo h1 {
    font-size: 3rem;
  }

  /* Glass object responsive scaling and repositioning */
  .glass-obj {
    width: 120px;
    height: 120px;
    left: -60px;
    /* Adjust for smaller text */
    top: -15px;
  }

  .glass-obj::before {
    padding: 0.8px;
    /* Slightly thinner border for smaller size */
  }

  .glass-rectangle,
  .glass-mask {
    width: 100%;
    height: 100%;
  }

  .glass-mask {
    height: 99%;
  }

  .glass-text {
    width: 120px;
    height: 85px;
    font-size: 65px;
    top: 15px;
    left: 0;
  }

  .glass-ellipse {
    width: 76px;
    height: 49px;
    left: 22px;
    top: 8px;
  }

  /* Added responsive scaling */
  .title {
    font-size: 1.5rem;
  }

  .sub-title {
    font-size: 1rem;
  }

  .home-content {
    padding: 1rem;
  }

  .start-button {
    font-size: 14px;
    height: 44px;
    padding: 0 2rem;
  }

  .hero-text {
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .main-logo h1 {
    font-size: 2.5rem;
  }

  /* Further glass object scaling and repositioning */
  .glass-obj {
    width: 90px;
    height: 90px;
    left: -45px;
    /* Adjust for even smaller text */
    top: -10px;
  }

  .glass-obj::before {
    padding: 0.5px;
    /* Even thinner border for mobile */
  }

  .glass-rectangle,
  .glass-mask {
    width: 100%;
    height: 100%;
  }

  .glass-mask {
    height: 99%;
  }

  .glass-text {
    width: 90px;
    height: 64px;
    font-size: 48px;
    top: 11px;
  }

  .glass-ellipse {
    width: 57px;
    height: 37px;
    left: 16px;
    top: 6px;
  }

  /* Added further scaling for very small screens */
  .title {
    font-size: 1.25rem;
  }

  .sub-title {
    font-size: 0.9rem;
  }
}/* Shared background styles for HomePage and MainPage */
.gradient-background {
  background: rgba(239, 221, 186, 1);
  min-height: 100vh;
  position: relative;
}
/* ========================================
   MAIN LAYOUT STYLES
   ======================================== */
.main-layout {
  min-height: 100vh;
  background: transparent;
  position: relative;
  margin: 0;
  padding: 0;
}
.main-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: calc(100vh - 3.75rem);
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
.main-section {
  width: 100%;
  height: calc(100vh - 3.75rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ========================================
   UNITY LOADING STYLES
   ======================================== */
.unity-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.44);
  text-align: center;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
.loading-text {
  margin-top: 0.5rem;
}
.loading-text p {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: rgb(13, 13, 13);
  font-weight: 500;
  font-family: 'SCG Regular', sans-serif;
}
.ant-spin-dot-item {
  background-color: rgba(230, 206, 170, 1) !important;
}
/* ========================================
   UNITY CONTAINER STYLES
   ======================================== */
.unity-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin: 0;
  padding: 0;
}
#unity-canvas {
  background: transparent !important;
  display: block;
  margin: 0;
  padding: 0;
  width: 100% !important;
  height: 100% !important;
}
/* ========================================
   POI PANEL STYLES
   ======================================== */
.poi-panel-overlay {
  position: absolute;
  transform: translate(-50%, -50%);
  width: min(176px, 90vw);
  height: auto;
  min-height: 240px;
  border-radius: 0.75rem;
  padding: 0.75rem;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  box-shadow: 
    0px 4px 8px 0px rgba(0, 0, 0, 0.08), 
    -2px -2px 2px -2px rgba(255, 255, 255, 1) inset, 
    2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
  backdrop-filter: blur(20px);
  z-index: 1000;
}
.poi-button {
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0px 8px 12px 0px rgba(0, 0, 0, 0.08),
    -2px -2px 2px -2px rgba(255, 255, 255, 1) inset,
    2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
  backdrop-filter: blur(20px);
  font-family: 'SCG Bold', sans-serif;
  color: #000000;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 500;
  height: 2.5rem;
  width: min(152px, calc(100% - 1rem));
  padding: 0 1rem;
  border-radius: 1.5625rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.poi-button:hover {
  transform: translateY(-1px);
  box-shadow: 
    0px 10px 15px 0px rgba(0, 0, 0, 0.12),
    -2px -2px 2px -2px rgba(255, 255, 255, 1) inset,
    2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
}
.poi-title {
  font-size: clamp(0.875rem, 2vw, 0.8rem);
  font-weight: 500;
  color: #000000;
  margin: 0;
  font-family: 'SCG Bold', sans-serif;
  line-height: 1.25;
}
.poi-description {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: rgba(85, 95, 109, 1);
  margin: 0;
  font-family: 'SCG Regular', sans-serif;
  line-height: 1.5;
  flex-grow: 1;
}
/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
/* Large Desktop */
@media (min-width: 1440px) {
  .poi-panel-overlay {
    width: 200px;
    min-height: 260px;
  }
  
  .poi-button {
    width: 170px;
    height: 45px;
    font-size: 1.125rem;
  }
  
  .poi-title {
    font-size: 1.125rem;
  }
  
  .poi-description {
    font-size: 1rem;
  }
}
/* Tablet Landscape */
@media (max-width: 1024px) {
  .main-content {
    height: calc(100vh - 3rem);
  }
  
  .main-section {
    height: calc(100vh - 3rem);
  }
  
  .poi-panel-overlay {
    width: min(160px, 85vw);
    min-height: 220px;
    padding: 0.625rem;
  }
  
  .poi-button {
    height: 2.25rem;
    padding: 0 0.75rem;
  }
}
/* Tablet Portrait */
@media (max-width: 768px) {
  .main-content {
    height: calc(100vh - 2.5rem);
    padding: 0;
  }
  
  .main-section {
    height: calc(100vh - 2.5rem);
  }
  
  .poi-panel-overlay {
    width: min(150px, 80vw);
    min-height: 200px;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .poi-button {
    height: 2rem;
    padding: 0 0.75rem;
  }
  
  .loading-text p {
    font-size: clamp(0.875rem, 3vw, 1rem);
  }
  
  #unity-canvas {
    max-width: 100vw;
    max-height: calc(100vh - 2.5rem);
  }
}
/* Mobile Landscape */
@media (max-width: 640px) and (orientation: landscape) {
  .main-content {
    height: 100vh;
  }
  
  .main-section {
    height: 100vh;
  }
  
  .poi-panel-overlay {
    width: min(140px, 75vw);
    min-height: 180px;
  }
  
  .poi-button {
    height: 1.875rem;
  }
}
/* Mobile Portrait */
@media (max-width: 480px) {
  .main-content {
    height: calc(100vh - 2rem);
  }
  
  .main-section {
    height: calc(100vh - 2rem);
  }
  
  .poi-panel-overlay {
    width: min(140px, 75vw);
    min-height: 180px;
    padding: 0.5rem;
    gap: 0.375rem;
  }
  
  .poi-button {
    height: 1.875rem;
    padding: 0 0.5rem;
    border-radius: 1.25rem;
  }
  
  .poi-title {
    margin-bottom: 0.25rem;
  }
  
  .loading-text {
    margin-top: 1rem;
  }
  
  .loading-text p {
    margin: 0.25rem 0;
  }
}
/* Small Mobile */
@media (max-width: 360px) {
  .poi-panel-overlay {
    width: min(130px, 70vw);
    min-height: 160px;
    padding: 0.375rem;
  }
  
  .poi-button {
    height: 1.75rem;
    padding: 0 0.375rem;
    font-size: 0.75rem;
  }
  
  .poi-title {
    font-size: 0.75rem;
  }
  
  .poi-description {
    font-size: 0.6875rem;
    line-height: 1.4;
  }
}
/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .poi-panel-overlay {
    backdrop-filter: blur(25px);
  }
  
  .poi-button {
    backdrop-filter: blur(25px);
  }
}
/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  .poi-button {
    transition: none;
  }
  
  .poi-button:hover {
    transform: none;
  }
}
/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .poi-button {
    min-height: 44px; /* Minimum touch target size */
    min-width: 44px;
  }
  
  .poi-button:hover {
    transform: none;
  }
  
  .poi-button:active {
    transform: scale(0.98);
  }
}
/* ========================================
   MAIN LAYOUT STYLES
   ======================================== */

.detail-layout {
  min-height: 100vh;
}

/* ========================================
   NAVBAR OVERRIDE
   ======================================== */

.detail-layout .navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background-color: transparent !important;
  z-index: 1001;
  overflow: visible;
}

.detail-layout .navbar .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  padding-top: 8.5rem;
  border-radius: 0.5rem;
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */

.detail-content {
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========================================
   VIDEO BACKGROUND SECTION
   ======================================== */

.video-background-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.background-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ========================================
   DX CARD STYLING
   ======================================== */

.dx-card {
  text-align: center;
  width: 593px;
  height: 455px;
  box-shadow: 0px var(--sizessmall) var(--sizesmedium) 0px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: -2px -2px 2px -2px rgba(255, 255, 255, 1) inset, 2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
  border-radius: 12px;
  padding: 24px;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.dx-card p:first-child {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: black;
  margin-bottom: 1.25rem;
  font-family: 'SCG Regular', sans-serif;
  letter-spacing: 0.2em;
}

.dx-card h1 {
  font-size: clamp(2rem, 6vw, 3.4375rem);
  font-weight: bold;
  margin: 1.25rem 0;
  color: #000000;
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
  line-height: 1.2;
}

.dx-card h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #000000;
  margin: 1.25rem 0;
  font-family: 'SCG Regular', sans-serif;
  line-height: 1.3;
}

.dx-description {
  font-size: clamp(1rem, 1vw, 1.5rem);
  color: #000000;
  line-height: 1.6;
  margin-top: 1.25rem;
  font-family: 'SCG Regular', sans-serif;
}

/* ========================================
   INFORMATION SECTION
   ======================================== */

.information-section {
  position: relative;
  background: linear-gradient(180deg, #F5F3F2 0%, #DEC5AF 25.48%, #DCD2B8 50.48%, #F2EEEA 70.67%);
  min-height: 200vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.information {
  width: 100%;
  margin: 0 auto;
  padding: 3.75rem min(10rem, 15vw);
  text-align: left;
  border-radius: 0.75rem;
}

.information-title {
  font-family: 'SCG', 'SCG Regular', sans-serif;
  font-size: clamp(2rem, 6vw, 3.455rem);
  background-image: linear-gradient(90deg, #787878 0%, #F3B388 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
  margin-bottom: 2rem;
}

.information-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* ========================================
   TOPIC STYLES
   ======================================== */

.topic {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  background-color: rgba(232, 232, 232, 0.1);
  backdrop-filter: blur(4px);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
  width: fit-content;
  min-height: 2.5rem;
  letter-spacing: 0.2em;
}

.table-topic {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(90deg, rgba(215, 168, 125, 0.5) 0%, rgba(217, 174, 134, 0.5) 100%);
  backdrop-filter: blur(4px);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  margin: 2.25rem 0;
  width: fit-content;

  max-height: 2.5rem;
  letter-spacing: 0.2em;
}

.table-header {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.table-header h2 {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: #000000;
  margin: 0;
}

/* ========================================
   TEXT STYLES
   ======================================== */

.information p {
  text-align: left;
  margin: 0;
  line-height: 1.6;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.information-item p {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.5;
}

/* ========================================
   INFORMATION CARDS
   ======================================== */

.information-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.information-card {
  background: rgba(217, 181, 149, 0.5);
  border: 1.4px solid rgba(178, 158, 143, 0.2);
  border-radius: 0.7rem;
  backdrop-filter: blur(4px);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 1.4rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.information-card-title {
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin: 0 0 0.625rem 0;
}

.information-card p {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(0.875rem, 2vw, 1.1875rem);
  margin: 0;
  line-height: 1.55;
}

/* ========================================
   CAPABILITIES LIST
   ======================================== */

.capabilities-list {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin: 1.25rem 0;
}

.capabilities-list li {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: #333;
}

/* ========================================
   TECHNOLOGY CONTAINER
   ======================================== */

.technology-container {
  background-color: rgba(82, 55, 42, 1);
  width: 100vw;
  margin-top: 2.5rem;
  margin-left: calc(-50vw + 50%);
  position: relative;
  padding: 3.75rem 1.25rem;
  text-align: center;
  color: white;
}

.technology-container h2 {
  font-family: 'SCG', 'SCG Regular', sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.875rem);
  margin-bottom: 1.25rem;
}

.technology-container ul {
  text-align: left;
  padding-left: min(7.5rem, 5vw);
  margin: 0 auto;
  max-width: 1200px;
}

.technology-container li {
  list-style: disc;
  display: list-item;
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1rem, 3vw, 1.25rem);
  text-align: left;
  margin-bottom: 0.75rem;
  padding-left: 0.625rem;
}

/* ========================================
   IMAGE CONTAINER
   ======================================== */

.image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  justify-content: center;
  align-items: stretch;
  max-width: 1200px;
  padding: 0 2rem;
}

.image-container .technology-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container .technology-image-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-container .technology-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.image-container .technology-image-wrapper .ant-image {
  width: 100%;
  height: 100%;
  display: block;
}

.image-container .technology-image-wrapper .ant-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.technology-image-loading {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border-radius: 0.75rem;
  border: 1px solid #e0e0e0;
}

/* ========================================
   TABLE STYLES
   ======================================== */

.box-container {
  background-color: rgba(219, 189, 162, 1);
  box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.3);
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 70vh;
}

.box-container .table-header {
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.box-container .table-header {
  padding-top: 2rem;
  padding-left: 10rem;
}

.box-container .ant-table-wrapper {
  padding: 0 10rem 2rem 10rem;
}

/* Custom gradient header table styling */
.gradient-header-table .ant-table-thead > tr {
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

/* Specific styles for usecase table section */
#usecase-table.information {
  padding: 3.75rem 0;
}

#usecase-table .information-title {
  padding: 0 min(7.5rem, 5vw);
  margin-bottom: 2rem;
}

#usecase-table .information-content {
  padding: 0;
  margin: 0;
}

#usecase-table .information-item {
  padding: 0;
  margin: 0;
}

#usecase-table .box-container {
  margin: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* ========================================
   TIMELINE STYLES
   ======================================== */

.timeline-container {
  background-color: rgba(219, 189, 162, 1);
  border-radius: 1.25rem;
  padding: 3.75rem 2.1875rem;
  font-family: 'SCG Regular', sans-serif;
  margin: 0 auto;
  max-width: 1440px;
}

.timeline-container .ant-timeline-item-head {
  background-color: transparent !important;
  border: none !important;
}

.timeline-container .ant-timeline-item-head-custom {
  background-color: transparent !important;
  border: none !important;
}

.timeline-container .ant-timeline .ant-timeline-item-head {
  background-color: transparent !important;
  border: none !important;
}

.timeline-container .ant-timeline-item-tail {
  border-left-color: black !important;
}

.timeline-container .ant-timeline .ant-timeline-item-tail {
  border-left-color: black !important;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.detail-footer {
  background-color: rgba(147, 117, 96, 1);
  padding: 2.5rem 0;
  margin-top: 0;
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 min(8%, 0);
  width: 100%;
  max-width: 1400px;
  gap: 2rem;
}

.footer-logo {
  height: clamp(60px, 8vw, 121px);
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.company-detail {
  text-align: left;
  flex-grow: 1;
  margin-left: min(10rem, 15vw);
}

.company-detail h3 {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: white;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.company-detail p {
  font-family: 'SCG Regular', sans-serif;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.scroll-to-top-btn {
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  border-radius: 50%;
  background-color: rgba(82, 55, 42, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.scroll-to-top-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
  .information {
    padding: 3rem 4rem;
  }
  
  .technology-container ul {
    padding-left: 3rem;
  }
  
  .image-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    padding: 0 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .company-detail {
    margin-left: 0;
    text-align: center;
  }
  
  .scroll-to-top-btn {
    margin-left: 0;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .information {
    padding: 2rem 1.5rem;
  }
  
  .information-content {
    gap: 1.5rem;
  }
  
  .information-card-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .technology-container {
    padding: 2.5rem 1rem;
  }
  
  .technology-container ul {
    padding-left: 1.5rem;
    text-align: left;
  }
  
  .image-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .timeline-container {
    padding: 2rem 1.5rem;
  }
  
  .box-container {
    padding: 0;
  }
  
  .box-container .table-header {
    padding: 1.5rem 1rem 0.5rem 1rem;
  }

  .box-container .ant-table-wrapper {
    padding: 0 1rem 1.5rem 1rem;
  }

  #usecase-table.information {
    padding: 2rem 0;
  }

  #usecase-table .information-title {
    padding: 0 1.5rem;
  }

  #usecase-table.information-item {
    padding: 0;
    margin: 0;
  }
  
  .dx-card {
    padding: 1rem;
    min-height: auto;
  }
  
  .detail-layout .navbar .logo {
    padding-top: 6rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .information {
    padding: 1.5rem 1rem;
  }

  #usecase-table.information {
    padding: 1.5rem 0;
  }

  #usecase-table .information-title {
    padding: 0 1rem;
  }
  
  .technology-container ul {
    padding-left: 1rem;
  }
  
  .image-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .timeline-container {
    padding: 1.5rem 1rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .company-detail {
    margin-left: 0;
  }
}/* Shared background styles for HomePage and MainPage */
.gradient-background {
  background: rgba(239, 221, 186, 1);
  min-height: 100vh;
  position: relative;
}
.home-layout {
  min-height: 100vh;
  background: transparent;
  position: relative;
  overflow: hidden;
}
/* Glass Object - Positioned behind SCG CEMENT text */
.glass-obj {
  position: absolute;
  width: 182px;
  height: 182.48px;
  left: -80px;
  top: -20px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
/* Glass object border effect using pseudo-element */
.glass-obj::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(111.14% 111.14% at 8.37% 0%, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 50%;
  padding: 1px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}
/* Main glass rectangle - background content */
.glass-rectangle {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
}
/* Mask group with backdrop filter */
.glass-mask {
  box-sizing: border-box;
  position: absolute;
  width: 182px;
  height: 180.62px;
  left: 0;
  top: 1.85px;
  background: radial-gradient(111.14% 111.14% at 8.37% 0%, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(78.8849px);
  -webkit-backdrop-filter: blur(78.8849px);
  border-radius: 830.367px;
}
/* SCG text inside glass */
.glass-text {
  box-sizing: border-box;
  position: absolute;
  width: 184px;
  height: 129px;
  left: -1px;
  top: 22.8px;
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 99.1667px;
  line-height: 130%;
  display: flex;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
  mix-blend-mode: overlay;
  filter: blur(5.83333px);
  justify-content: center;
}
/* Additional ellipse effect */
.glass-ellipse {
  position: absolute;
  width: 115.5px;
  height: 74.67px;
  left: 33.25px;
  top: 11.66px;
  background: radial-gradient(74.11% 74.1% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: normal;
  filter: blur(7.55681px);
  border-radius: 50%;
}
/* Background Video */
.background-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: #000;
  /* fallback */
}
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(1) saturate(1.1);
  pointer-events: none;
}
.video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: calc(100vh - 60px);
  padding: 2rem;
  padding-right: 8%;
  position: relative;
  z-index: 1;
  /* sits above video but below potential future overlays */
}
.hero-section {
  text-align: right;
  color: white;
  max-width: 600px;
  margin-right: 2rem;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  /* reduced from 3rem for tighter grouping */
}
/* Add a little extra space before the button only */
.hero-text .start-button {
  margin-top: 3rem;
}
.title {
  font-family: 'SCG Regular', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  color: rgba(51, 74, 102, 1);
  text-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
}
.sub-title {
  font-family: 'SCG Regular', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0;
  color: rgba(51, 74, 102, 1);
}
.main-logo {
  position: relative;
  z-index: 1;
}
.main-logo h1 {
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
  font-size: 6rem;
  font-weight: normal;
  margin: 0;
  color: rgba(0, 0, 0, 1);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  letter-spacing: 1px;
  line-height: 1.1;
}
.start-button {
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0px 8px 12px 0px rgba(0, 0, 0, 0.08),
    -2px -2px 2px -2px rgba(255, 255, 255, 1) inset,
    2px 2px 2px -2px rgba(255, 255, 255, 1) inset;
  backdrop-filter: blur(20px);
  font-family: 'SCG Regular', sans-serif;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  height: 40px;
  width: 152px;
  padding: 0 2.2rem;
  border-radius: 25px;
}
.ant-btn:hover { 
  transform: scale(1.05);
  transition: transform 0.2s ease;
  outline: none !important;
  border-color: rgba(0, 0, 0, 0) !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: black !important;
}
.ant-btn:focus-visible {
  transform: scale(1.05);
  transition: transform 0.2s ease;
  border-color: rgba(0, 0, 0, 0) !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: black !important;
}
/* Responsive design */
@media (max-width: 768px) {
  .main-logo h1 {
    font-size: 3rem;
  }

  /* Glass object responsive scaling and repositioning */
  .glass-obj {
    width: 120px;
    height: 120px;
    left: -60px;
    /* Adjust for smaller text */
    top: -15px;
  }

  .glass-obj::before {
    padding: 0.8px;
    /* Slightly thinner border for smaller size */
  }

  .glass-rectangle,
  .glass-mask {
    width: 100%;
    height: 100%;
  }

  .glass-mask {
    height: 99%;
  }

  .glass-text {
    width: 120px;
    height: 85px;
    font-size: 65px;
    top: 15px;
    left: 0;
  }

  .glass-ellipse {
    width: 76px;
    height: 49px;
    left: 22px;
    top: 8px;
  }

  /* Added responsive scaling */
  .title {
    font-size: 1.5rem;
  }

  .sub-title {
    font-size: 1rem;
  }

  .home-content {
    padding: 1rem;
  }

  .start-button {
    font-size: 14px;
    height: 44px;
    padding: 0 2rem;
  }

  .hero-text {
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .main-logo h1 {
    font-size: 2.5rem;
  }

  /* Further glass object scaling and repositioning */
  .glass-obj {
    width: 90px;
    height: 90px;
    left: -45px;
    /* Adjust for even smaller text */
    top: -10px;
  }

  .glass-obj::before {
    padding: 0.5px;
    /* Even thinner border for mobile */
  }

  .glass-rectangle,
  .glass-mask {
    width: 100%;
    height: 100%;
  }

  .glass-mask {
    height: 99%;
  }

  .glass-text {
    width: 90px;
    height: 64px;
    font-size: 48px;
    top: 11px;
  }

  .glass-ellipse {
    width: 57px;
    height: 37px;
    left: 16px;
    top: 6px;
  }

  /* Added further scaling for very small screens */
  .title {
    font-size: 1.25rem;
  }

  .sub-title {
    font-size: 0.9rem;
  }
}/* Header */
.header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 56px;
    color: #fff;
    border-bottom: 1px solid rgba(240, 240, 240, 1);
}

.header-logo img {
    width: 28px;
    height: 28px;
    margin-top: 16px;
    margin-right: 8px;
}

.header-title {
    font-size: 20px;
    font-weight: bold;
    font-family: 'SCG Bold', sans-serif;
    color: rgba(250, 140, 22, 1);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.header-action-btn {
    color: #000000;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: 'SCG Regular', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.header-action-btn:hover {
    background: rgba(250, 140, 22, 0.1);
    color: rgba(250, 140, 22, 1);
}

.header-action-dropdown {
    color: #000000;
    height: 40px;
    width: 260px;
    background: transparent;
    font-size: 16px;
    font-family: 'SCG Regular', sans-serif;
    border-width: 1px;
    border-radius: 20px;
    border-style: solid;
    border-color: rgba(217, 217, 217, 1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.header-action-dropdown:hover {
    background: rgba(250, 140, 22, 0.1);
    border-color: rgba(250, 140, 22, 1);
    color: rgba(250, 140, 22, 1);
}

#mobile-sider-toggle {
    display: none;
    /* Hide mobile menu button */
}

/* Sider */
.sider {
    background: #ffffff;
    position: relative;
}

.collapse-button {
    left: 0;
    bottom: 0;
    font-size: 16px;
    text-align: start;
    height: 32px;
}

.ant-drawer .ant-drawer-body {
    padding: 0;
}

/* Content */
.content {
    background: #f5f5f5;
    overflow-y: auto;
    height: calc(100vh - 48px);
}

.content-wrapper {
    padding: 24px;
    min-height: 360px;
}

.section {
    padding: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-actions .header-action-btn:last-child {
        display: flex;
        /* Show mobile menu button */
    }

    .header-title {
        font-size: 16px;
    }

    #mobile-sider-toggle {
        display: block;
        /* Show mobile menu button */
    }

    .sider {
        display: none;
        /* Hide Sider on small screens */
    }
}.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.header-container h3 {
  font-family: 'SCG Bold', sans-serif;
  font-size: 16px;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.header-row {
  background-color: #fafafa !important;
}

.header-row td {
  background-color: #fafafa !important;
}

.detail-modal .ant-modal-content {
  padding: 0 !important;
}* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SCG Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Global background image */
  background-color: rgba(239, 221, 186, 1);
  /* Optional overlay for readability; adjust rgba alpha if needed */
  position: relative;
}

/* Ensure all text elements use SCG fonts */
p, span, div, a, button, input, textarea, select, label, li, td, th {
  font-family: 'SCG Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

/* Ensure all heading elements use SCG fonts */
h1, h2, h3, h4, h5, h6 {
  font-family: 'SCG Bold', 'SCG Regular', sans-serif;
}

#root {
  width: 100%;
  min-height: 100vh;
}
@keyframes marching-ants{0%{background-position:0 0,0 100%,0 0,100% 0}to{background-position:20px 0,-20px 100%,0 -20px,100% 20px}}:root{--rc-drag-handle-size: 12px;--rc-drag-handle-mobile-size: 24px;--rc-drag-handle-bg-colour: rgba(0, 0, 0, .2);--rc-drag-bar-size: 6px;--rc-border-color: rgba(255, 255, 255, .7);--rc-focus-color: #0088ff}.ReactCrop{position:relative;display:inline-block;cursor:crosshair;max-width:100%}.ReactCrop *,.ReactCrop *:before,.ReactCrop *:after{box-sizing:border-box}.ReactCrop--disabled,.ReactCrop--locked{cursor:inherit}.ReactCrop__child-wrapper{overflow:hidden;max-height:inherit}.ReactCrop__child-wrapper>img,.ReactCrop__child-wrapper>video{display:block;max-width:100%;max-height:inherit}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>img,.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__child-wrapper>video{touch-action:none}.ReactCrop:not(.ReactCrop--disabled) .ReactCrop__crop-selection{touch-action:none}.ReactCrop__crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;width:calc(100% + .5px);height:calc(100% + .5px)}.ReactCrop__crop-selection{position:absolute;top:0;left:0;transform:translateZ(0);cursor:move}.ReactCrop--disabled .ReactCrop__crop-selection{cursor:inherit}.ReactCrop--circular-crop .ReactCrop__crop-selection{border-radius:50%}.ReactCrop--circular-crop .ReactCrop__crop-selection:after{pointer-events:none;content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:1px solid var(--rc-border-color);opacity:.3}.ReactCrop--no-animate .ReactCrop__crop-selection{outline:1px dashed white}.ReactCrop__crop-selection:not(.ReactCrop--no-animate .ReactCrop__crop-selection){animation:marching-ants 1s;background-image:linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to right,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%),linear-gradient(to bottom,#fff 50%,#444 50%);background-size:10px 1px,10px 1px,1px 10px,1px 10px;background-position:0 0,0 100%,0 0,100% 0;background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;color:#fff;animation-play-state:running;animation-timing-function:linear;animation-iteration-count:infinite}.ReactCrop__crop-selection:focus{outline:2px solid var(--rc-focus-color);outline-offset:-1px}.ReactCrop--invisible-crop .ReactCrop__crop-mask,.ReactCrop--invisible-crop .ReactCrop__crop-selection{display:none}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after,.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{content:"";display:block;position:absolute;background-color:#fff6}.ReactCrop__rule-of-thirds-vt:before,.ReactCrop__rule-of-thirds-vt:after{width:1px;height:100%}.ReactCrop__rule-of-thirds-vt:before{left:33.3333333333%}.ReactCrop__rule-of-thirds-vt:after{left:66.6666666667%}.ReactCrop__rule-of-thirds-hz:before,.ReactCrop__rule-of-thirds-hz:after{width:100%;height:1px}.ReactCrop__rule-of-thirds-hz:before{top:33.3333333333%}.ReactCrop__rule-of-thirds-hz:after{top:66.6666666667%}.ReactCrop__drag-handle{position:absolute;width:var(--rc-drag-handle-size);height:var(--rc-drag-handle-size);background-color:var(--rc-drag-handle-bg-colour);border:1px solid var(--rc-border-color)}.ReactCrop__drag-handle:focus{background:var(--rc-focus-color)}.ReactCrop .ord-nw{top:0;left:0;transform:translate(-50%,-50%);cursor:nw-resize}.ReactCrop .ord-n{top:0;left:50%;transform:translate(-50%,-50%);cursor:n-resize}.ReactCrop .ord-ne{top:0;right:0;transform:translate(50%,-50%);cursor:ne-resize}.ReactCrop .ord-e{top:50%;right:0;transform:translate(50%,-50%);cursor:e-resize}.ReactCrop .ord-se{bottom:0;right:0;transform:translate(50%,50%);cursor:se-resize}.ReactCrop .ord-s{bottom:0;left:50%;transform:translate(-50%,50%);cursor:s-resize}.ReactCrop .ord-sw{bottom:0;left:0;transform:translate(-50%,50%);cursor:sw-resize}.ReactCrop .ord-w{top:50%;left:0;transform:translate(-50%,-50%);cursor:w-resize}.ReactCrop__disabled .ReactCrop__drag-handle{cursor:inherit}.ReactCrop__drag-bar{position:absolute}.ReactCrop__drag-bar.ord-n{top:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(-50%)}.ReactCrop__drag-bar.ord-e{right:0;top:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(50%)}.ReactCrop__drag-bar.ord-s{bottom:0;left:0;width:100%;height:var(--rc-drag-bar-size);transform:translateY(50%)}.ReactCrop__drag-bar.ord-w{top:0;left:0;width:var(--rc-drag-bar-size);height:100%;transform:translate(-50%)}.ReactCrop--new-crop .ReactCrop__drag-bar,.ReactCrop--new-crop .ReactCrop__drag-handle,.ReactCrop--fixed-aspect .ReactCrop__drag-bar,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-n,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-e,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-s,.ReactCrop--fixed-aspect .ReactCrop__drag-handle.ord-w{display:none}@media (pointer: coarse){.ReactCrop .ord-n,.ReactCrop .ord-e,.ReactCrop .ord-s,.ReactCrop .ord-w{display:none}.ReactCrop__drag-handle{width:var(--rc-drag-handle-mobile-size);height:var(--rc-drag-handle-mobile-size)}}
.image-crop-container {
  padding: 16px 0;
  font-family: 'SCG Regular', sans-serif;
}

.upload-area {
  margin: 20px 0;
}

.upload-area .ant-upload.ant-upload-drag {
  background: #fafafa;
  border: 2px dashed #d9d9d9;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.upload-area .ant-upload.ant-upload-drag:hover {
  border-color: #1890ff;
  background: #f0f8ff;
}

.crop-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crop-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
}

.crop-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  min-height: 300px;
}

.crop-wrapper .ReactCrop {
  max-width: 100%;
  max-height: 400px;
}

.crop-wrapper .ReactCrop__image {
  max-height: 400px;
  max-width: 100%;
  object-fit: contain;
}

.crop-info {
  text-align: center;
  color: #666;
  font-size: 14px;
  font-family: 'SCG Regular', sans-serif;
  padding: 8px 16px;
  background: #f0f2f5;
  border-radius: 6px;
}

.crop-info p {
  margin: 4px 0;
}

/* Override react-image-crop styles for better integration */
.ReactCrop__crop-selection {
  border: 2px solid #1890ff !important;
  background: rgba(24, 144, 255, 0.1) !important;
}

.ReactCrop__drag-handle {
  background: #1890ff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.ReactCrop__drag-handle:after {
  background: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .crop-wrapper {
    padding: 8px;
  }
  
  .crop-controls {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .crop-controls .ant-btn {
    font-size: 12px;
    padding: 4px 8px;
  }
}.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.header-container h3 {
  font-family: 'SCG Bold', sans-serif;
  font-size: 16px;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.header-row {
  background-color: #fafafa !important;
}

.header-row td {
  background-color: #fafafa !important;
}

.detail-modal .ant-modal-content {
  padding: 0 !important;
}