/* 
#############################
Loader css starts here
#############################
 */


#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* background: #f9f9f9; */
  background: #e1f9ff;
  z-index: 9999;
}

/* Spinner */
.spinner {
  width: 70px;
  height: 70px;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

/* Loading Text */
.loading-text {
  font-size: 28px;
  font-family: Arial, sans-serif;
  color: #333;
  letter-spacing: 2px;
  min-width: 150px;
  text-align: left;
}

/* Animation for loading text */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* css for error fetching api */
.error-box {
  text-align: center;
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.error-icon {
  font-size: 50px;
  margin-bottom: 10px;
}

.error-title {
  font-size: 24px;
  font-weight: bold;
  color: #e74c3c;
  margin-bottom: 10px;
}

.error-message {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.retry-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  background: #3498db;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.retry-btn:hover {
  background: #2980b9;
}

/* 
#############################
Loader css ends here
#############################
 */


