html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Arial", sans-serif;
  #background-color: #dbe8d4;
  background-color: #f5f5f5;
  #color: 155e4b;
  color: #001414;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  position: relative;
  
}

.container-login {
  width: 80%;
  margin: auto;
  position: relative;
  
}

.contaiter-main {
  background-color: #fff;
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-right: 0px !important;
}

.container-wrapper {
  background-image: url('/sites/arei/images/design/2.png');
  background-position: right bottom;
  background-size: 30% auto;
  background-repeat: no-repeat;
  height: 100%;  
}

#ticket_type{
	padding: 5px 15px;
}

.textLayer span {
	padding-left: 1rem;
	padding-right: 1rem;
}

#blockOrder {
	padding: 1rem;
}

header {
  #background-color: #dae7d3;
  background-color: #fbfcf8;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  #border-bottom: 2px solid #bdd6b8;
}

.logo {
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.2;
}

.logo span {
  font-size: 0.9rem;
  font-weight: normal;
  color: #456b53;
}

.cabinet-btn {
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  right: 0px;
  margin: 1rem;
  top: 0;
}

.notice {
  color:#164635;
  background-color: rgba(250, 204, 69, 0.13);
  padding: 1rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(235, 99, 32, 0.25);
}

main {
  padding-top: 2rem;
  border-radius: 20px;
  flex: 1 0 auto;
}

.location {
  margin-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  
  align-items: stretch;
}

.location img {
  width: 100%;
  max-width: 300px;
  object-fit: cover;
  height: auto;
  border-radius: 10px;
}

.description {
  flex: 1;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.description h2 {
  margin-top: 0;
}

.description button {
  background-color: #d17045;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  margin-top: 1rem;
  font-size: 1.2rem;
  
  align-self: flex-start;
  width: auto;
}

footer {
  background-color: #184731;
  color: #d6dfca;
  padding: 2rem 0;
  text-align: center;
  
  flex-shrink: 0;
}

footer a {
  color: #d6dfca;
  margin: 0 1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

footer p {
  margin-top: 1rem;
  font-size: 0.7rem;
}

footer .footer-copyright {
  padding-top: 1rem;
}



header {
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 80px;
  object-fit: contain;
}

.logo-container span {
  font-size: 0.9rem;
  font-weight: bold;
  color: #004d33;
}


#blockMainSite {
	position: absolute;
	top: 0.5rem;
	right: 1rem;
}

#blockMainSite a {
	color: #295c4d;
	text-decoration: none;
	padding: 1rem;
}

#faq {
	display: none;
}

#faq div{

}

#dialog-confirm {
	display: none;
}

#dialog-message {
	display: none;
}

.cookie {
	position: fixed;
	bottom: 0;
	background: #f2f2f2;
	color: #666;
	width: 100%;
	padding: 10px;
	text-align: left;
	z-index: 125;
	font-size: 11px;
	display: none;	
	border-top: 1px solid #578C9C;
}

.cookie a {
	padding-left: 4px;
	padding-right: 1px;
	color: #578C9C;
}

.btnCokie {
	max-width: 200px; 
	min-width:100px;
	margin-left: 12px;
	background: #2c5f3e;
	color: white;
	border: none;
}

.warning--active {
	display: flex;
}

.blockTerritoryOrder a {
	color: #578C9C;
}

a.logo-main {
	color: #155e4b;
	text-decoration: none;
}

.submit-btn {
  background: #d17045;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.add-tourist-btn {
  background: #fff;
  border: 1px solid #578C9C;  
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  cursor: pointer;
  color: #001414;
}

.ui-dialog-titlebar.ui-widget-header {
  background: #53736c !important;
  color: #fff !important;
}

.ui-dialog-titlebar-close {
	display: none;
}

.ui-dialog-buttonset button {
  background: #2c5f3e;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.order-input {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #578C9C;
  border-radius: 5px;
}

.input-wrapper {
  position: relative;
  display: inline-block;
}

.date_order {
  width: 100%;
  padding: 10px;
  padding-right: 40px; /* место под иконку */
  border: 1px solid #578C9C;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}

.calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* чтобы не мешала клику по input */
  color: #6c9d7f; /* можно менять цвет SVG */
}

.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.custom-checkbox .checkbox-label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: inline-block;
  line-height: 24px;
}

.custom-checkbox .checkbox-label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #184731;
  border-radius: 3px;

  transition: all 0.3s;
}

.custom-checkbox .checkbox-label:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.3s;
}

.custom-checkbox .checkbox-label-error::before {
	border-color: red;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-label:before {
  opacity: 1;
    background-color: #184731;
}

.custom-checkbox input[type="checkbox"]:checked + .checkbox-label:after {
  opacity: 1;
}

.custom-checkbox input[type="checkbox"]:focus + .checkbox-label:before {
  box-shadow: 0 0 0 2px rgba(45, 91, 81, 0.3);
}

.custom-checkbox input[type="checkbox"]:disabled + .checkbox-label {
  cursor: not-allowed;
  opacity: 0.6;
}

.custom-checkbox input[type="checkbox"]:disabled + .checkbox-label:before {
  background-color: #e0e0e0;
  border-color: #cccccc;
}

.notice_itog {
  background: #578C9C;
  padding: 10px;
  border-left: 5px solid #295c4d;
  margin: 20px 0;
  color: white;
}

.rules {
	color: #2b2a2a;
}

.select-typeticket {
	color: #001414;
	max-width: 100%;
    width: auto;
}

#territory_desc {
	
}

/* Навигация */
.navbar {
    
	padding: 10px 0;
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
}

.nav-link {
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover {
	font-weight: 600;
}

.nav-link.active {
    color: white;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .location {
    flex-direction: column;
    text-align: center;
	margin-bottom: 0rem;
  }
  
  .location img {
	max-width: 100%;
  }

  footer .container a {
	  display: block;
  }
  
  #header-order {
	  margin: 1rem;
  }
  
  main {
	  padding: 0rem 0;
  }
  
  .contaiter-main {
	  margin-top: 0;
  }
  
  .container-dates div.input-wrapper {
	  max-width: 45%;
  }
  
  div.col-subterritories {
	  font-size: 13px;
  }
  
  .add-tourist-btn {
	  margin-top: 1rem;
  }
  
  h1 {
	  font-size: calc(1.2rem + 1.4vw) !important;
  }
  
  p.result-desc {
	  font-size: 13px;
  }
  
  .result-additional {
	  display: none;
  }
  
  #territory_desc {
	  display: none;	
  }
  
  #territory_name {
	  padding-top: 0.5rem;
  }
  
  .description {
	  padding-bottom: 0.5rem;
  }
  
  table.result-table > :not(caption) > * > * {
	  padding: .2rem .2rem;
  }
  
  table.result-table tr {
	  font-size: 15px;
  }

  .cabinet-btn {
    float: none;
    margin-top: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .description button {
	align-self: auto;
  }
  
  .container-wrapper {
	  background-image: none !important;
  }
  
  .navbar-nav {
	background-color: #184731 !important; /* Темно-зеленый */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
	border-radius: 4px;
  }
  
  #navbarNav {
	z-index: 10004;  
	margin-top: 50px;
  }

  .nav-link {
	padding: 8px 0;
	margin-left: 8px;	
	color:white !important;
  }
  
  .nav-link:hover {
	font-weight: 500;
  }
  
}

/* Фикс для бургер-меню */
.navbar-toggler {
    position: absolute;
    right: 15px;
	top: 0px;
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        padding-left: 50px; /* Чтобы компенсировать абсолютное позиционирование бургера */
    }
    
    .navbar-collapse {
        background-color: #184731;
        padding: 15px;
        margin-top: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.main-title__chip {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 3px 10px 4px;
    border-radius: 999px;
    background: rgba(12, 126, 54, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(12, 126, 54, 0.2);
	display: block;
	margin-top: 8px; /* Добавляем отступ сверху */
	width: fit-content; /* Чтобы ширина соответствовала содержимому */
}

.main-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 6px;
    font-size: 13px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6b767d;
}

.meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(12, 126, 54);
}