/* Full-screen loader styles */
.loading-screen {
  --bg: #e3e7e8;
  --fg: #0e06ffa3;
  --primary: #255ff4;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(241, 241, 241, 0.75); /* Blue background with some transparency */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Ensures it's above other content */
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

/* Text animations */
.loading-text {
  opacity: 0; /* Hide text initially */
  animation: fadeInText 1s ease-out forwards;
}

.line-text {
  /*opacity: 0;
  animation: fadeInLine 1s ease-out forwards;*/
  color:#015ad9;
  font-weight: bold
}

.line-text:nth-child(1) {
  animation-delay: 0.5s;
}

.line-text:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInLine {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.hourglass {
  width: 60px;
  height: 40px;
  position: relative;
  display: inline-block;
  --base-color: #007bff; /* Blue color */
}

.hourglass::before {
  content: '';  
  left: 0;
  top: 0;
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FFF; /* White background */
  background-image: radial-gradient(circle 8px at 18px 18px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 18px 0px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 0px 18px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 36px 18px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 18px 36px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 30px 5px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 30px 5px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 30px 30px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 5px 30px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 4px at 5px 5px, var(--base-color) 100%, transparent 0);
  background-repeat: no-repeat;
  box-sizing: border-box;
  animation: rotationBack 3s linear infinite;
}

.hourglass::after {
  content: '';  
  left: 35px;
  top: 15px;
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #FFF; /* White background */
  background-image: radial-gradient(circle 5px at 12px 12px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 12px 0px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 0px 12px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 24px 12px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 12px 24px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 20px 3px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 20px 3px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 20px 20px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 3px 20px, var(--base-color) 100%, transparent 0),
                    radial-gradient(circle 2.5px at 3px 3px, var(--base-color) 100%, transparent 0);
  background-repeat: no-repeat;
  box-sizing: border-box;
  animation: rotationBack 4s linear infinite reverse;
}

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







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

@keyframes split {
  0%, 25% {
    width: 64px;
  }
  100% {
    width: 148px;
  }
}

/* Spinner for the hourglass
.hourglass {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-top: 20px;
} */

/* Keyframes for spinning animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* Optional: If you want to change the color or look of the background overlay */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 255, 0.23); Blue background with transparency */
  background-color: #FFF; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}


/* country list with image dropdown start ------------------------ */
.country-image-dropdown-container {
  position: relative;
  /* width: 200px; */
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.country-image-selected-country {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ddd;
}

.country-image-country-flag {
  width: 100%;
  height: auto;
}

.country-image-dropdown-list {
  position: absolute;
  top: 50px;
  width: max-content;
  min-height: 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* max-height: 300px; */
  overflow-y: auto;
  display: none;
  z-index: 100;
}

.country-image-dropdown-list input {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.country-image-dropdown-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100% !important;
}

.country-image-dropdown-list li {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.country-image-dropdown-list li:hover {
  background-color: #f0f0f0;
}

.country-image-dropdown-list li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
}
/* country list with image dropdown end ------------------------ */
