/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/app/page.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
.page_source-link__gsd17 {
    z-index: 1;
    position: fixed;
    left: 0.5rem;
    top: 0.5rem;
    font-family: sans-serif;
    background-color: white;
    color: blue;
    padding: 0.25rem;
}
.page_source-link__gsd17:hover {
    background-color: lightgray;
}
.page_source-link__gsd17:active {
    background-color: gray;
}
.page_source-link__gsd17:focus {
    outline: 1px solid blue;
}

.page_main__GlU4n {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: var(--background);
    position: relative;
    overflow: hidden;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.page_content__kDoxQ {
    position: absolute;
    bottom: 10%;
    right: 18%;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 80%;
    z-index: 1;
    width: 26rem;
    height: 13rem;
}

.page_content__kDoxQ h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.page_content__kDoxQ p {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 2rem;
    color: #555;
}

.page_viewButton__640Us {
    display: inline-block;
    background-color: #0070f3;
    color: white;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 118, 255, 0.39);
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.page_viewButton__640Us:hover {
    background-color: #0051a9;
    transform: translateY(-2px);
}

/* Стили для речевого пузыря */
.page_speechBubble__39MhJ {
    position: relative;
}

.page_speechBubble__39MhJ:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 80px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-top-color: white;
    border-bottom: 0;
    margin-left: -15px;
}

.page_exploreCircle__ro5SU {
    width: 160px;
    height: 160px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page_exploreCircle__ro5SU:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.6);
}

.page_exploreText__fOLaX {
    font-size: 14px;
    display: inline-block;
    letter-spacing: 2px;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.page_exploreCircle__ro5SU:hover .page_exploreText__fOLaX {
    transform: scale(1);
    letter-spacing: 3px;
}

.page_infoPanel___7GPC {
    position: absolute;
    background-color: rgba(30, 30, 30, 0.85);
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 15px;
    max-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    font-family: sans-serif;
    transition: opacity 0.2s ease-in-out;
}

.page_infoPanel___7GPC h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.1em;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.page_infoPanel___7GPC p {
    margin-bottom: 8px;
    font-size: 0.95em;
    line-height: 1.4;
}

.page_infoPanel___7GPC small {
    font-size: 0.8em;
    color: #aaa;
    display: block;
    margin-top: 10px;
}

.page_closeButton__fiZmr {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(80, 80, 80, 0.7);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.page_closeButton__fiZmr:hover {
    background: rgba(120, 0, 0, 0.8);
}


.page_start__nfUqa {
    background: #111010;
    display: flex;
    flex-wrap: nowrap;
    min-height: 100vh;
    @media (max-width: 768px) {
        flex-wrap: wrap;
    }
}

.page_start__info__Zx_iT {
    width: 38%;
    display: flex;
    flex-direction: column;
    padding-left: 120px;
    padding-top: 80px;
    z-index: 2;
    position: relative;
    @media (max-width: 1200px) {
        padding-top: 80px;
        padding-left: 40px;
    }
    @media (max-width: 768px) {
        width: 100%;
        padding: 24px;
        background: url(/_next/static/media/start_background.f1fad137.png);
    }
}

.page_start__background__9t4Fe {
    width: 62%;
    background: url(/_next/static/media/start_background.f1fad137.png);
    background-size: cover;
    filter: brightness(1.5);
    mix-blend-mode: plus-lighter;
    @media (max-width: 768px) {
        display: none;
    }
}

.page_start__title__WKQWo {
    font-family: var(--font-raleway);
    font-weight: 300;
    font-size: 52px;
    line-height: 118%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
}

.page_start__company__olBcc {
    color: #D3A188;
}

.page_start__logo__MlfsK {
    width: 192px;
    padding-bottom: 184px;
    @media (max-width: 768px) {
        padding-bottom: 100px;
    }
}

.page_start__text__3I0Z8 {
    font-family: var(--font-raleway);
    font-weight: 300;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0;
    color: #AEAEAE;
    margin-bottom: 40px;
}

.page_start__explore__QJW4r {
    width: 289px;
    height: 70px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8c3a6;
    font-family: var(--font-inter);
    transition: background-color .5s ease;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page_start__explore__QJW4r:hover {
    background: #ffe8dc;
}

.page_loading__Q7rym {
    background: #111010;
    min-height: 100vh;
    padding: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media (max-width: 768px) {
        padding: 12px;
        justify-content: center;
    }
}

.page_loading__info__SyuVC {
    display: flex;
    justify-content: space-between;
    font-family:  var(--font-raleway);
    font-weight: 300;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 70px;
    width: 100%;
    max-width: 1684px;
    @media (max-width: 768px) {
        font-size: 24px;
        padding-top: 0;
        padding-bottom: 24px;
    }
}

.page_loading__logo__lhqoo {
    width: 170px;
}

.page_loading__background__eJtI8 {
    width: 100%;
    @media (max-width: 768px) {
        height: 200px;
    }
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/styles/SettingsPanel.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
/* SettingsPanel.module.css */

.SettingsPanel_settingsPanel__EJSY0 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 770px;
  max-height: calc(100vh - 20px);
  background-color: rgba(20, 20, 24, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-width: 95vw;
  overflow: hidden;
  color: #e0e0e0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.SettingsPanel_header__tsHXd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: rgba(20, 20, 20, 0.8);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.SettingsPanel_header__tsHXd h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.SettingsPanel_toggleButton___fKZu {
  background: none;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.SettingsPanel_toggleButton___fKZu:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.SettingsPanel_content__I5k5A {
  padding: 0;
  max-height: calc(90vh - 50px);
  overflow-y: auto;
}

.SettingsPanel_tabs__OxxJx {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.1);
}

.SettingsPanel_tabSelector__K_Z7B {
  width: 100%;
  padding: 10px 12px;
  background-color: #2c3e50;
  color: #ecf0f1;
  border: 1px solid #34495e;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27292.4%27%20height%3D%27292.4%27%3E%3Cpath%20fill%3D%27%23ecf0f1%27%20d%3D%27M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}

.SettingsPanel_tabSelector__K_Z7B:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

.SettingsPanel_tabButton__S06Fl {
  flex: 1 1;
  background-color: #f5f5f5;
  color: #666;
  border: none;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.SettingsPanel_tabButton__S06Fl:hover {
  background-color: #e9e9e9;
}

.SettingsPanel_activeTab__VmMfb {
  background-color: #fff;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  font-weight: 500;
}

.SettingsPanel_tabContent___Fwio {
  padding: 16px;
}

.SettingsPanel_section__VOdGx {
  margin-bottom: 20px;
}

.SettingsPanel_section__VOdGx h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.SettingsPanel_collapsibleHeader__Ripgy {
  transition: background-color 0.2s;
}

.SettingsPanel_collapsibleHeader__Ripgy:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.SettingsPanel_collapsibleContent__axJM6 {
  padding-top: 16px;
  animation: SettingsPanel_fadeIn__5PHKl 0.3s ease-in-out;
}

@keyframes SettingsPanel_fadeIn__5PHKl {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.SettingsPanel_settingRow__oZ0_x {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.SettingsPanel_settingLabel__EN4Oq {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 4px;
}

/* Custom tooltip styles */
.SettingsPanel_tooltipContainer__43DX4 {
  position: relative;
  display: inline-flex;
  margin-left: 5px;
}

.SettingsPanel_tooltip__AW508 {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  max-width: 200px;
  text-align: center;
}

.SettingsPanel_tooltipArrow__ttcdX {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.8);
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.SettingsPanel_helpIcon__wbz3_ {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #e0e0e0;
  color: #666;
  border-radius: 50%;
  font-size: 12px;
  cursor: help;
  line-height: 1;
}

.SettingsPanel_settingControl__42K3P {
  display: flex;
  align-items: center;
}

.SettingsPanel_settingControl__42K3P input[type="range"] {
  flex: 1 1;
  margin-right: 10px;
}

.SettingsPanel_settingControl__42K3P span {
  min-width: 30px;
  text-align: right;
  font-size: 14px;
}

.SettingsPanel_settingControl__42K3P input[type="checkbox"] {
  margin-right: 0;
  width: 18px;
  height: 18px;
}

.SettingsPanel_presetButtons__Z_ljt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.SettingsPanel_presetButton__Sbwm7 {
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.SettingsPanel_presetButton__Sbwm7:hover {
  background-color: #e0e0e0;
}

.SettingsPanel_activePreset__q4iP1 {
  background-color: #3498db;
  color: white;
  border-color: #2980b9;
}

.SettingsPanel_tilesetControls__ObStt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.SettingsPanel_actionButton__82tM0 {
  padding: 10px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.SettingsPanel_actionButton__82tM0:hover:not(:disabled) {
  background-color: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.SettingsPanel_actionButton__82tM0:disabled {
  background-color: #555;
  color: #999;
  cursor: not-allowed;
}

.SettingsPanel_warningButton__LKkGx {
  background-color: #e74c3c;
}

.SettingsPanel_warningButton__LKkGx:hover {
  background-color: #c0392b;
}

.SettingsPanel_inputWithButton__c4hFJ {
  display: flex;
  gap: 8px;
}

.SettingsPanel_inputWithButton__c4hFJ input {
  flex: 1 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.SettingsPanel_tilesetList__rALzd {
  border: 1px solid #eee;
  border-radius: 4px;
  max-height: 150px;
  overflow-y: auto;
}

.SettingsPanel_tilesetItem__iQE4Y {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.SettingsPanel_tilesetItem__iQE4Y:last-child {
  border-bottom: none;
}

.SettingsPanel_toggleVisibilityButton__bKlaH {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.SettingsPanel_visible__UYvuJ {
  background-color: #2ecc71;
  color: white;
}

.SettingsPanel_hidden__A18Fa {
  background-color: #e74c3c;
  color: white;
}

.SettingsPanel_noTilesets__dA_tv {
  text-align: center;
  padding: 20px;
  color: #999;
  font-style: italic;
}

.SettingsPanel_tipsList__p0Ork {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.SettingsPanel_tipsList__p0Ork li {
  margin-bottom: 6px;
}

/* GLB Model Loading Styles */
.SettingsPanel_inputGroup__uP6GK {
  margin-bottom: 12px;
}

.SettingsPanel_inputLabel__gzWpj {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #666;
}

.SettingsPanel_fullWidthInput__m3JcJ {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.SettingsPanel_coordsGroup__BYr3b {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 10px;
}

.SettingsPanel_coordsRow__xiWot {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.SettingsPanel_coordsRow__xiWot:last-child {
  margin-bottom: 0;
}

.SettingsPanel_coordInput__XL05l {
  flex: 1 1;
}

.SettingsPanel_coordInput__XL05l label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.SettingsPanel_coordInput__XL05l input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.SettingsPanel_modelList__brevX {
  border: 1px solid #eee;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
}

.SettingsPanel_modelItem__x5uXg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.SettingsPanel_modelItem__x5uXg:last-child {
  border-bottom: none;
}

.SettingsPanel_modelInfo__ktgD7 {
  display: flex;
  flex-direction: column;
}

.SettingsPanel_modelName__7T9XH {
  font-weight: 500;
  font-size: 14px;
}

.SettingsPanel_modelUrl__GxMc7 {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
  word-break: break-all;
}

.SettingsPanel_removeButton__FISz9 {
  padding: 4px 8px;
  background-color: #f1c40f;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s;
}

.SettingsPanel_removeButton__FISz9:hover {
  background-color: #e6b800;
}

/* Responsive styles */
@media (max-width: 768px) {
  .SettingsPanel_settingsPanel__EJSY0 {
    width: 300px;
  }
  
  .SettingsPanel_presetButtons__Z_ljt {
    gap: 6px;
  }
  
  .SettingsPanel_presetButton__Sbwm7 {
    padding: 5px 10px;
    font-size: 12px;
  }
  
  .SettingsPanel_tooltip__AW508 {
    max-width: 150px;
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .SettingsPanel_coordsRow__xiWot {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .SettingsPanel_settingsPanel__EJSY0 {
    width: 280px;
    max-width: 95vw;
  }
  
  .SettingsPanel_header__tsHXd h2 {
    font-size: 16px;
  }
  
  .SettingsPanel_tabButton__S06Fl {
    font-size: 13px;
  }
  
  .SettingsPanel_section__VOdGx h3 {
    font-size: 15px;
  }
}

/* Add styles for local file input */
.SettingsPanel_localFileInput__IHnMc {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.SettingsPanel_fileName__RhEN9 {
  flex: 1 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px;
  font-size: 13px;
  color: #666;
}

/* Styles for slider with numeric input */
.SettingsPanel_sliderWithInput___o0Yd {
  display: flex;
  align-items: center;
  width: 100%;
}

.SettingsPanel_sliderWithInput___o0Yd input[type="range"] {
  flex: 1 1;
}

.SettingsPanel_numericInput__S4FdW {
  width: 70px;
  padding: 6px 8px;
  background-color: #2c3e50;
  color: #ecf0f1;
  border: 1px solid #34495e;
  border-radius: 4px;
  margin-left: 10px;
  text-align: center;
}

.SettingsPanel_tilesetName__gW0j1 {
  flex: 1 1;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.SettingsPanel_tilesetName__gW0j1:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.SettingsPanel_flyToIcon__8A5AH {
  margin-left: 8px;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.SettingsPanel_tilesetName__gW0j1:hover .SettingsPanel_flyToIcon__8A5AH {
  opacity: 1;
}

.SettingsPanel_separator__z_BRX {
  border: none;
  border-top: 1px solid #444;
}

.SettingsPanel_formGrid__7DwTE {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.SettingsPanel_formItem__VOaVz {
  display: flex;
  flex-direction: column;
}

.SettingsPanel_formItem__VOaVz label {
  margin-bottom: 5px;
  font-size: 0.9em;
  color: #ccc;
}

.SettingsPanel_formItem__VOaVz input, .SettingsPanel_formItem__VOaVz select {
  padding: 8px;
  background-color: #2a2a2e;
  border: 1px solid #444;
  border-radius: 4px;
  color: #eee;
}

.SettingsPanel_checkboxGroup__3dHK0 {
  grid-column: 1 / -1;
  display: flex;
  gap: 15px;
  align-items: center;
}

.SettingsPanel_checkboxGroup__3dHK0 label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9em;
}

.SettingsPanel_dbTable__9ZeRp {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.9em;
}

.SettingsPanel_dbTable__9ZeRp th, .SettingsPanel_dbTable__9ZeRp td {
  border: 1px solid #444;
  padding: 8px;
  text-align: left;
}

.SettingsPanel_dbTable__9ZeRp th {
  background-color: #333;
}

.SettingsPanel_dbTable__9ZeRp button {
  margin-right: 5px;
  padding: 4px 8px;
  cursor: pointer;
  background-color: #555;
  border: 1px solid #777;
  color: white;
  border-radius: 3px;
}

.SettingsPanel_dbTable__9ZeRp button:hover {
  background-color: #666;
}

/* Styles for Presets in InitialSceneSettings */
.SettingsPanel_presetItem__D4Aj0 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  transition: background-color 0.2s;
}

.SettingsPanel_presetItem__D4Aj0:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.SettingsPanel_presetName__3vrVO {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.SettingsPanel_presetName__3vrVO:hover {
    color: #4dabf7; /* A nice blue for hover */
}


.SettingsPanel_presetActions__AN5i3 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.SettingsPanel_actionButtonMini__R7_Y0 {
  background: transparent;
  color: #e0e0e0;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.SettingsPanel_actionButtonMini__R7_Y0:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.SettingsPanel_actionButtonMini__R7_Y0:disabled {
  color: #777;
  cursor: not-allowed;
}

.SettingsPanel_warningButtonMini__5kETk {
   color: #e74c3c;
}

.SettingsPanel_warningButtonMini__5kETk:hover:not(:disabled) {
  background-color: rgba(231, 76, 60, 0.2);
  color: #ff8a80;
}

.SettingsPanel_presetList__tiyDI {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Modal styles */
.SettingsPanel_modalOverlay__exIsK {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.SettingsPanel_modalContent__5ymY_ {
  background-color: rgba(20, 20, 24, 0.98);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: #e0e0e0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.SettingsPanel_modalHeader__N9Wiu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: rgba(20, 20, 20, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
}

.SettingsPanel_modalHeader__N9Wiu h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.SettingsPanel_modalCloseButton__DxuTH {
  background: transparent;
  border: none;
  color: #e0e0e0;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.SettingsPanel_modalCloseButton__DxuTH:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.SettingsPanel_modalCloseButton__DxuTH:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.SettingsPanel_modalForm___jBwg {
  padding: 20px;
}

.SettingsPanel_modalActions__SbIJs {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.SettingsPanel_primaryButton__K_6Ju {
  background-color: #3498db;
  color: white;
}

.SettingsPanel_primaryButton__K_6Ju:hover:not(:disabled) {
  background-color: #2980b9;
}

.SettingsPanel_secondaryButton__siiKQ {
  background-color: transparent;
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.SettingsPanel_secondaryButton__siiKQ:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: none;
  box-shadow: none;
}

/* Responsive modal styles */
@media (max-width: 768px) {
  .SettingsPanel_modalContent__5ymY_ {
    width: 90vw;
    max-width: none;
    height: 90vh;
  }

  .SettingsPanel_modalActions__SbIJs {
    flex-direction: column;
  }

  .SettingsPanel_modalActions__SbIJs button {
    margin: 0 0 8px 0;
  }
}

/* Asset Upload Styles */
.SettingsPanel_assetIdContainer__vWco0 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.SettingsPanel_assetIdInput__9A3hw {
  flex: 1 1;
  min-width: 0;
}

.SettingsPanel_fileSelectButton__AaYrI {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

.SettingsPanel_fileSelectButton__AaYrI:hover:not(.SettingsPanel_disabled__MEVeC) {
  background-color: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.SettingsPanel_fileSelectButton__AaYrI.SettingsPanel_disabled__MEVeC {
  background-color: #555;
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.SettingsPanel_fileUploadSection__AY4_i {
  grid-column: 1 / -1;
  background-color: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 8px;
}

.SettingsPanel_selectedFile__qOBqw {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.SettingsPanel_selectedFile__qOBqw span {
  flex: 1 1;
  font-size: 14px;
  color: #e0e0e0;
  word-break: break-all;
}

.SettingsPanel_uploadButton__9mMut {
  padding: 8px 16px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.SettingsPanel_uploadButton__9mMut:hover:not(:disabled) {
  background-color: #229954;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

.SettingsPanel_uploadButton__9mMut:disabled {
  background-color: #555;
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.SettingsPanel_uploadProgress__WoQSF {
  margin-top: 12px;
}

.SettingsPanel_progressBar__QYbyR {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.SettingsPanel_progressFill__HaJCQ {
  height: 100%;
  background-color: #27ae60;
  transition: width 0.3s ease;
  border-radius: 4px;
}

.SettingsPanel_uploadStatus__UoziW {
  font-size: 13px;
  color: #b0b0b0;
  text-align: center;
  padding: 4px 0;
}

/* Responsive adjustments for upload section */
@media (max-width: 768px) {
  .SettingsPanel_assetIdContainer__vWco0 {
    flex-direction: column;
    align-items: stretch;
  }

  .SettingsPanel_fileSelectButton__AaYrI {
    width: 100%;
    height: 40px;
  }

  .SettingsPanel_selectedFile__qOBqw {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .SettingsPanel_uploadButton__9mMut {
    width: 100%;
    justify-content: center;
  }
}

/* Test Connection Styles */
.SettingsPanel_testSection__ic4WR {
  grid-column: 1 / -1;
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 8px;
}

.SettingsPanel_testContainer__h3hea {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.SettingsPanel_testButton__JbiT_ {
  padding: 8px 16px;
  background-color: #f39c12;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
}

.SettingsPanel_testButton__JbiT_:hover:not(:disabled) {
  background-color: #e67e22;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
}

.SettingsPanel_testButton__JbiT_:disabled {
  background-color: #555;
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.SettingsPanel_testResult__WttlF {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #3498db;
  color: #e0e0e0;
  word-break: break-word;
}

/* Responsive adjustments for test section */
@media (max-width: 768px) {
  .SettingsPanel_testButton__JbiT_ {
    width: 100%;
  }
} 
