.error-message {
  color: red;
  font-size: 14px;
  display: none;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 1px solid #ccc; /* Border styling */
  border-radius: 4px; /* Rounded corners */
  padding: 10px; /* Padding inside the input */
  width: 100%; /* Full width */
  transition: border-color 0.2s; /* Transition for border color */
  background-color: white; /* White background for dropdown */
}

.form-control:focus,
.form-select:focus {
  outline: none; /* Remove default outline */
}

.label {
  position: absolute; /* Positioning for the label */
  left: 12px; /* Default left position */
  top: 12px; /* Default top position */
  transition: all 0.2s; /* Transition for smooth movement */
  color: #aaa; /* Default label color */
  pointer-events: none; /* Prevent interaction with label */
}

.form-control:not(:placeholder-shown) + .label,
.form-control:focus + .label {
  top: -16px; /* Move label up */
  left: 8px; /* Move label to the left */
  font-size: 12px; /* Change label font size */
  color: #007bff; /* Change label color on focus */
}

.form-control:focus {
  border-color: #007bff; /* Change border color on focus */
}

/* Styles for when the input is invalid */
.form-control:focus:invalid + .label,
.form-control:invalid + .label {
  top: 12px; /* Keep label in place if no value */
  left: 12px; /* Keep label in place if no value */
  font-size: 14px; /* Default font size */
  color: #aaa; /* Default label color */
}

.gender-icons {
  display: flex;
  flex-direction: row; 
  justify-content: center; 
  align-items: center; 
  margin-bottom: 10px;
  gap: 10px; 
}
.gender-icon {
  cursor: pointer; 
  margin: 10px;
  text-align: center;
}
.gender-icon input {
  display: none;
}
.gender-icon img {
  width: 100px; 
  height: 100px; 
}

/* .gender-icon.selected {
    border: 10px solid rgb(214, 67, 67);
    border-radius: 10px; 
} */

label img {
  width: 100px;
  height: 100px;
  transition: all 0.3s ease; /* Smooth transition for changes */
}

.selected img {
  width: 120px; /* Slightly increase the size of the selected image */
  height: 120px;
}

.blurred img {
  filter: blur(3px); /* Apply blur effect */
  opacity: 0.6; /* Reduce opacity to make it look blurred */
}

.dropdown .dropbtn {
  display: block;               
  width: 100%;                  
  padding: 12px;               
  border: 1px solid #ccc;       
  background-color: white;      
  cursor: pointer;              
  text-align: left;            
  padding-left: 16px;           
  }

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 100%; 
  border: 1px solid #ccc;
  z-index: 1;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.scroll-container {
display: flex;
overflow-x: auto;
white-space: nowrap;
padding: 10px 0;
/* position: fixed;  */
}

.scroll-item {
  display: inline-block;
  padding: 13px 8px;
  border-radius: 5px;
  margin-right: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.scroll-container1 {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 5px 0;
}

.scroll-item1 {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  margin-right: 2px;
  font-size: 0.9rem;
  cursor: pointer;
}

.scroll-item:hover {
  background-color: #d0d0d0;
}

.scroll-item1:hover {
  background-color: #ffffff;
}

.king-arrow-container {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  padding:1px 4px;
  /* color: white; */
  background-color: transparent;
  border-radius: 50%;
  font-size: 14px;
  z-index: 10;
  cursor: pointer;
}


.premium-text {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%; /* Position below the icon */
  /* left: 50%; */
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.5rem;
  white-space: nowrap;
}

.king-arrow-container:hover .premium-text, /* For desktop */
.king-arrow-container:active .premium-text { /* For mobile tap */
  display: block; /* Show the text */
}
