﻿/* start country list section*/
.continent-directory {
  margin-left: 4px;
}

.continent-item {
  display: flex;
  align-items: center;
  height: 24px;
  min-height: 24px;
  font-weight: 500;
  font-size: 12px;
  gap: 5px;
  margin-bottom: 5px;
}

.continent-toggle-btn {
  width: 24px;
  height: 24px;
  line-height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none;
}

.continent-checkbox-container {
  margin-right: 6px;
}

/* Custom checkbox styles */
.continent-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 1px solid #404040;
  border-radius: 3px;
  background-color: var(--web-white);
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}

/* Checked state */
.continent-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Checkmark symbol */
.continent-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Indeterminate state */
.continent-checkbox:not(.continent-radio):indeterminate {
  background-color: var(--primary);
  border-color: var(--primary);
}

.continent-checkbox:indeterminate::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 6px;
  height: 2px;
  background-color: var(--web-white);
}

/* Focus state */
.continent-checkbox:focus {
  outline: 2px solid rgba(0, 102, 204, 0.2);
  outline-offset: 1px;
}

/* Hover state */
.continent-checkbox:hover {
  border-color: var(--primary);
}

.continent-parent {
  font-weight: 700;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.dropdown-icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.dropdown-icon.expanded {
  transform: rotate(180deg);
}

.continent-show-more {
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
}

/* Search input styles */
#continentSearch {
  border-radius: 12px;
  border: 2px solid #c8c9ca;
  width: 100%;
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  color: #404040;
  padding: 2px 10px;
  margin: 15px auto;
}

#continentSearch:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}
/* end country list section*/

.input-container {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: var(--primary-black);
  align-items: center;
}
