/* Fullscreen overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none; /* Initially hidden */
}

/* Centering the content */
.loading-content {
    position: absolute; /* Ensures it centers properly */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Moves it back by half its own width & height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 300px; /* Adjust width as needed */
    padding: 20px;
}

/* Smooth spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Smooth fade-in text */
.loading-content p {
    font-size: 18px;
    margin-top: 10px;
    animation: fadeText 1.5s infinite alternate;
}

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

/* Keyframes for text fading */
@keyframes fadeText {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}



/*THEME DARK LIGHT*/

.theme-panel-wrapper {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.toggle-container {
  display: flex;
  border-radius: 30px;
  overflow: hidden;
  background: #888;
  cursor: pointer;
  margin: 0 auto; 
}

.toggle-option {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  transition: background 0.5s;
  color: black;
}

.toggle-option.active {
  background: #fff;
}

.toggle-option i {
  margin-right: 8px;
}


/*upload*/
/*.upload-box {
  border: 1px solid #e0e7ff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #f9f9ff;
  position: relative;
}

.upload-info {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 8px;
}

.upload-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: green;
  font-weight: bold;
}

.upload-status i {
  color: green;
}


input[type="file"] {
  margin-top: 10px;
}*/