.cc_modal-error {
  font-size: 16px;
  font-weight: 500;
  color: #555555;
  line-height: 16px;
  letter-spacing: -0.05em;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.cc_modal-error {
  display: none !important;
}

.cc__modal-error--show .cc_modal-error {
  display: flex !important;
}

.cc__modal-error--show .cc_modal-filter,
.cc__modal-error--show .cc_modal-list,
.cc__modal-error--show .cc__modal-footer {
  display: none !important;
}

.cc__modal-error--show .cc__modal-container,
.cc__modal--loading .cc__modal-container {
  padding-bottom: 0 !important;
}

.cc__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s all;
}

.cc__modal:not(.cc__modal--show) {
  opacity: 0;
  pointer-events: none;
}

.cc__modal-container {
  background: #fff;
  max-width: 564px;
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 8px;
  position: relative;
  padding: 32px;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
  padding-bottom: 89px;
}

.cc__modal-overlay {
  position: absolute !important;
  inset: 0;
  background: #00000066;
  display: block !important;
  z-index: -1;
}

.cc__modal-close-top {
  background: transparent;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  padding-top: 3px;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}

.cc__modal-head {
  font-size: 24px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 32px;
  color: #000;
}

.cc_modal-list {
  list-style: none;
  padding: 0;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 0;
  margin-right: -6px;
  padding-right: 6px;
}

.cc_modal-location {
  font-size: 14px;
  color: #9c9c9c;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  line-height: 14px;
}

.cc_modal-badge {
  background: #70c028;
  color: #fff;
  border-radius: 4px;
  padding: 4px 12px;
}

.cc_modal-item {
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 15px 19px;
  position: relative;
  margin-bottom: 16px;
  cursor: pointer;
  transition: 0.25s all;
}

.cc_modal-item.active,
.cc_modal-item:hover {
  border-color: #006da4;
}

.cc__modal-h3 {
  color: #006da4;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  margin: 10px 0 16px;
}

.cc_modal-item p {
  margin: 0;
  margin-top: 8px;
}

.cc_modal-item p.with-icon {
  padding-left: 1.5em;
  position: relative;
}

.cc_modal-item p.with-icon svg {
  width: 1em;
  height: 1em;
  position: absolute;
  left: 0;
  top: 2px;
}

.cc_modal-item a {
  font-family: Montserrat;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 24px;
  color: #006da4;
  text-decoration: underline;
}

.cc__modal-checked {
  position: absolute;
  bottom: 4px;
  right: 19px;
  display: none;
}

.cc__modal.cc__modal--2025 .cc__modal-checked {
  bottom: 9px !important;
}

.cc_modal-item.active .cc__modal-checked {
  display: block;
}

.cc__modal:not(.cc__modal--loading) .cc__skeleton-loader {
  display: none;
}

.cc__modal.cc__modal--loading .cc_modal-filter,
.cc__modal.cc__modal--loading .cc_modal-list,
.cc__modal--loading .cc__modal-footer {
  display: none;
}

.cc_modal-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 23px;
}

.cc_modal-filter select {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: #434343;
  border: 1px solid #b2b2b2;
  border-radius: 4px;
  padding: 19px 11px;
  outline: none !important;
  box-shadow: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.cc__modal .cc__skeleton-loader {
  height: 50vh;
}

.cc_modal-city {
  background: transparent;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4IDE3LjVMMTQuMzc1IDEzLjg3NU0xNi4zMzMzIDkuMTY2NjdDMTYuMzMzMyAxMi44NDg2IDEzLjM0ODYgMTUuODMzMyA5LjY2NjY3IDE1LjgzMzNDNS45ODQ3NyAxNS44MzMzIDMgMTIuODQ4NiAzIDkuMTY2NjdDMyA1LjQ4NDc3IDUuOTg0NzcgMi41IDkuNjY2NjcgMi41QzEzLjM0ODYgMi41IDE2LjMzMzMgNS40ODQ3NyAxNi4zMzMzIDkuMTY2NjdaIiBzdHJva2U9IiMxRTFFMUUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
  background-repeat: no-repeat;
  background-position-x: 96%;
  background-position-y: 17px;
}

.cc_modal-district,
.cc_modal-district--style {
  background: transparent !important;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkw4IDEwTDEyIDYiIHN0cm9rZT0iIzQzNDM0MyIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K') !important;
  background-repeat: no-repeat !important;
  background-position-x: 95% !important;
  background-position-y: 19px !important;
}

.cc__modal .cc__skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 10px;
  color: transparent;
  display: block !important;
  height: 144px;
  border-radius: 8px;
}

.cc__skeleton--filter {
  height: 55px !important;
}

.cc__modal-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px 32px;
  background: white;
  gap: 16px;
  border-top: 1px solid #CCCCCC;
}

.cc__modal-footer button {
  border: 1.5px solid transparent !important;
  border-radius: 4px !important;
  background: transparent !important;
  padding: 10px 12px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  flex: 1 1 0% !important;
  cursor: pointer !important;
  height: auto !important;
  box-shadow: none !important;
  transition: 0.25s all, text-indent 0s !important;
  outline: 0.5px solid transparent !important;
  overflow: hidden !important;
  width: 100%;
  line-height: 21px;
  font-family: var(--typeBasePrimary), var(--typeBaseFallback);
  text-transform: capitalize;
}

.cc__modal-footer button:hover {
  outline-color: #006da4 !important;
}

.cc__modal-footer button.cc__btn-secondary {
  color: #1E1E1E !important;
  border-color: #1E1E1E !important;
}

.cc__modal-footer button.cc__btn-primary {
  color: #fff !important;
  background: #006da4 !important;
}

.cc__modal-footer button.cc__btn-primary:disabled {
  border-color: #797979 !important;
  background-color: #797979 !important;
  cursor: no-drop !important;
  opacity: 0.3;
}

.cc__modal--2025 .cc_modal-badge {
  border-radius: 5px;
  background: #EAFFD6;
  color: #528317;
}

.cc__modal--2025 .cc_modal-badge.cc_modal-badge--only {
  background: #FFF5E1;
  color: #C03B49;
}

.cc__modal--2025 .cc__modal-un-checked {
  position: absolute;
  bottom: 9px;
  right: 18px;
}

.cc_modal-item.active .cc__modal-un-checked {
  display: none;
}

.cc__modal--2025 .cc__modal-footer button.cc__btn-primary {
  background: #70C028 !important;
  color: #000000 !important;
  border-radius: 50px !important;
  border: none !important;
}

.cc__modal--2025 .cc__modal-footer button.cc__btn-secondary {
  border-radius: 50px !important;
  border-color: #CCCCCC !important;
  color: #000000 !important;
}

body:has(.cc__modal--2025.cc__modal--show) {
  overflow: hidden;
}

@media (max-width: 564px) {
  .cc_modal-filter {
    grid-template-columns: none;
    gap: 12px;
    margin-bottom: 16px;
  }

  .cc__modal-h3,
  .cc_modal-item p {
    font-size: 14px;
  }

  .cc_modal-location {
    align-items: center;
    flex-wrap: wrap;
  }

  .cc_modal-item {
    padding: 15px 12px;
  }

  .cc__modal-container {
    padding: 16px;
    /* margin: 17px; */
    padding-bottom: 85px;
  }

  .cc__modal.cc__modal--2025 .cc__modal-container {
    height: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .cc__modal-head {
    font-size: 22px;
    padding-bottom: 17px;
    margin-bottom: 17px;
  }

  .cc__modal-footer {
    padding: 16px 17px;
    gap: 8px;
  }

  .cc__modal-footer button {
    font-size: 14px !important;
    padding: 12px 12px !important;
  }

  .cc__modal-close-top {
    width: 30px;
    height: 30px;
  }

  .cc_modal-filter select {
    padding: 12px;
  }

  .cc_modal-city {
    background-position-y: 10px;
  }

  .cc_modal-district,
  .cc_modal-district--style {
    background-position-y: 12px !important;
  }

  .cc_modal-list {
    max-height: 34vh;
  }

  .cc__modal.cc__modal--2025 .cc_modal-list {
    max-height: calc(100% - 160px) !important;
  }

  .cc_modal-badge {
    padding: 4px;
  }

  .cc__modal.cc__modal--2025.cc__modal--show {
    padding-top: 100px;
  }
}


@media(min-width: 768px) {
  .cc__modal-footer button {
    padding: 16px 25px !important;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}