.registration-section {
  width: 90%;
  padding-left: 5%;
  padding-right: 5%;
  max-width: 800px;
  margin: 0 auto;
}

.needs-validation {
  width: 100%;
}
.register__link {
  text-decoration: underline;
}
.phone-selector {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  position: relative;
}

.phone-selector .phone-selector_select {
  height: 100%;
  width: 85px;
  border-radius: 5px;
}
.phone-selector .text-input {
  flex: 1;
}

/* Country Search Styles */
.country-search-wrapper {
  width: 85px;
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.country-dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  transition: background-color 0.2s;
}

.country-dropdown-item:last-child {
  border-bottom: none;
}

.country-dropdown-item:hover {
  background-color: #f8f9fa;
}

.country-search-input{
  width: 100%;
}

.country-dropdown-item.no-results {
  color: #999;
  cursor: default;
  font-style: italic;
}

.country-dropdown-item.no-results:hover {
  background-color: transparent;
}

/* Scrollbar styling for dropdown */
.country-dropdown::-webkit-scrollbar {
  width: 8px;
}

.country-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.country-dropdown::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.country-dropdown::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.form-group.col {
  display: grid;
}

.py-2{
  height: 42px!important;
}

.register-full-container{
  max-width: 550px!important;
}

/* Terms checkbox container - desktop and mobile */
.terms-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.terms-checkbox-container input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.terms-checkbox-container label {
  flex: 1;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .card {
    padding: 0px;
  }
}

@media (max-width: 550px) {
  .registration-section {
    width: 100%;
    padding: 0;
  }
}
