/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Tolipov
Author URI: tolipov.uz
Description: Astra uchun child tema
Template: astra
Version: 1.0.0
*/

/* Sizning o‘zingizning CSS kodlaringiz shu yerda bo‘ladi */
:root {
  --primary: #1677ff;
  --second: #e6e6f2;
  --text: #4d535c;
}

body {
  font-family: "Montserrat", sans-serif !important;
}

p {
  padding: 0 !important;
  margin: 0 !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
.elementor-counter-title {
  font-family: "Montserrat", sans-serif !important;
}

.ast-main-header-wrap .ast-builder-menu-1,
.ast-main-header-wrap .ast-main-header-bar-alignment,
.ast-main-header-wrap .site-navigation,
.ast-main-header-wrap .main-navigation,
.ast-main-header-wrap .main-header-menu {
  width: 100% !important;
}

.main-header-menu {
  justify-content: space-between !important;
}

.ast-header-html-1 a {
  padding: 12px 20px;
  border: 1px solid #4d535c;
  border-radius: 0px;
  background: #4d535c;
  font-weight: 800;
}

.ast-header-html-1 a:hover {
  color: var(--primary);
}

.iconwrapper .elementor-icon-box-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.iconwrapper .elementor-icon-box-title {
  width: 256px;
  text-align: left;
}

.iconwrapper .elementor-icon-box-content .elementor-icon-box-description {
  width: calc(100% - 256px);
}

.ast-header-html .ast-builder-html-element ul {
  margin: 0 !important;
  line-height: 0 !important;
}

.ast-header-html .ast-builder-html-element ul li::marker {
  color: #00d374;
}

.cstformwrapper {
  backdrop-filter: blur(16px);
}

.csticonborder .elementor-icon {
  border: 1px solid #e6e6f2 !important;
}

.survey-container {
  background: white;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 1024px;
  width: 100%;
  padding: 40px;
  margin: 20px auto;
}

.survey-progress-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  margin-bottom: 30px;
  overflow: hidden;
}

.survey-progress-fill {
  height: 100%;
  background: #d52b1e;
  transition: width 0.3s ease;
}

.survey-step-info {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.survey-container h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
}

.survey-form-group {
  margin-bottom: 25px;
}

.survey-question-box {
  border: 1px solid transparent;
  padding: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}

.survey-radio-group,
.survey-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.survey-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  flex-direction: row;
}

.survey-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  flex-direction: row;
}

.survey-checkbox-group .survey-checkbox-option {
  width: calc(50% - 8px);
  background: #f3f4f8;
  height: 72px;
}

.survey-radio-group .survey-radio-option {
  width: calc(50% - 8px);
  background: #f3f4f8;
  height: 72px;
}

.survey-radio-option,
.survey-checkbox-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 16px;
  border-radius: 0;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, sans-serif;
}

.survey-radio-option:hover,
.survey-checkbox-option:hover {
  background: #f5f5f5;
}

.survey-radio-option input[type="radio"],
.survey-checkbox-option input[type="checkbox"] {
  margin-right: 12px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.survey-option-label {
  font-size: 16px;
  color: #555;
  cursor: pointer;
  flex: 1;
}

.survey-container input[type="range"] {
  width: 100%;
  height: 2px;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.survey-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d52b1e;
  cursor: pointer;
  border: none;
}

.survey-container input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d52b1e;
  cursor: pointer;
  border: none;
}

.survey-container input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
}

.survey-age-display {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #d52b1e;
  margin-top: 10px;
}

.cstoption {
  padding: 0 !important;
}

.survey-container input[type="tel"],
.survey-container input[type="text"] {
  width: 100% !important;
  padding: 12px !important;
  border: 2px solid #f3f4f8 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  transition: border-color 0.2s !important;
  display: block !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  height: 48px !important;
  background-color: #f3f4f8 !important;
}

.survey-container input[type="tel"]:focus,
.survey-container input[type="text"]:focus {
  outline: none !important;
  border-color: #d52b1e !important;
}

.survey-input-label {
  display: block;
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
}

.survey-buttons {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  width: 100%;
  justify-content: flex-end;
}

.survey-buttons button {
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  font-family: inherit;
  font-family: inherit;
  max-width: 200px;
  height: 53px;
}

.survey-btn-prev {
  border: 1px solid #e0e0e0 !important;
  color: #333;
  max-width: 56px !important;
  background: #fff;
  padding: 12px !important;
}

.survey-btn-prev:hover {
  background: #d0d0d0;
}

.survey-btn-next {
  background: #d52b1e;
  color: white;
}

.survey-btn-next:hover {
  background: #be190d;
  box-shadow: 0 4px 12px rgba(234, 117, 102, 0.4);
}

.survey-btn-next:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.survey-success-message {
  text-align: center;
  padding: 40px 20px;
}

.survey-success-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.survey-success-message h2 {
  color: #d52b1e;
  margin-bottom: 15px;
}

.survey-success-message p {
  color: #666;
  font-size: 16px;
}

.survey-hidden {
  display: none;
}

.survey-loading {
  text-align: center;
  padding: 20px;
}

.icon_number .elementor-icon {
  background-color: #000;
  padding: 16px 10px;
}

.cstaccardion .e-n-accordion-item-title-icon {
  border: 1px solid #fff;
  padding: 8px 12px;
}

.survey-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #d52b1e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: survey-spin 1s linear infinite;
  margin: 0 auto;
}

.menu-footer-1-container .menu-link {
  color: #fff;
  font-size: 18px;
  line-height: 28px;
}

.menu-footer-1-container .menu-link:hover {
  text-decoration: underline;
}

.menu-footer-2-container .menu-link {
  color: #fff;
  font-size: 18px;
  line-height: 40px;
}

.menu-footer-2-container .menu-link:hover {
  text-decoration: underline;
}

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

.cstfooter a,
.cstfooter p {
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}

.cstfooter span {
  color: #ddd;
  margin-top: 16px;
  font-size: 14px;
}

@keyframes survey-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .iconwrapper .elementor-icon-box-content {
    flex-direction: column;
    gap: 12px;
  }
  .iconwrapper .elementor-icon-box-title {
    text-align: center;
  }
  .iconwrapper .elementor-icon-box-content .elementor-icon-box-description {
    width: 100%;
  }
  .survey-container {
    max-width: 100%;
    padding: 16px;
  }
  .survey-container h2 {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .survey-checkbox-group,
  .survey-radio-group {
    flex-direction: column;
  }
  .survey-checkbox-group .survey-checkbox-option,
  .survey-radio-group .survey-radio-option {
    width: 100%;
  }
  .ast-main-header-nav-open .main-header-bar-wrap {
    background-color: #10171c !important;
  }
  .ast-main-header-nav-open .ast-builder-button-wrap {
    width: 100%;
    text-align: center;
  }
  .ast-header-html-1 a {
    display: block;
    text-align: center;
  }
  .site-header-focus-item .ast-header-html {
    width: 100%;
  }

  .menu-footer-1-container .menu-link {
    color: #fff;
    font-size: 16px;
    line-height: 26px;
  }

  .menu-footer-2-container .menu-link {
    color: #fff;
    font-size: 16px;
    line-height: 36px;
  }

  .menu-footer-2-container .menu-link:hover {
    text-decoration: underline;
  }

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

  .cstfooter a,
  .cstfooter p {
    color: #fff;
    font-size: 16px;
    line-height: 24px;
  }

  .cstfooter span {
    color: #ddd;
    margin-top: 16px;
    font-size: 14px;
  }
}

/* Блок "Отборочные пункты в других городах" */
#regions.regions-block {
    margin: 40px auto 0;
    width: 100%;
}

#regions .regions-title {
    font-weight: 700;
    padding: 25px;
    text-align: center;
    font-size: 18pt;
}

#regions .regions-list {
    text-align: center;
    color: #ffffff;
    background-color: #4D535C;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 20px;
}

#regions .regions-item {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 0;
}

#regions .regions-item:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #regions .regions-list {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки вместо 4 */
        gap: 8px 10px;                        /* компактные отступы */
        padding: 20px 15px;
    }

    #regions .regions-item {
        text-align: center; /* центрируем текст в ссылках */
		padding: 0px 0px;
    }
}