/* Web Loading Screen Styles */
:root {
  --primary-color: #FF6B35;
  --bg-color: #ffffff;
  --text-color: #333333;
  --shimmer-bg: #f6f7f8;
  --shimmer-gradient: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
}

#loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s;
}

#loading-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
  padding: 20px;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

.loading-logo {
  height: 150px;
  margin-bottom: 20px;
}

.search-placeholder {
  width: 100%;
  height: 50px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.search-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shimmer-gradient);
  background-size: 800px 100%;
  animation: shimmer 2s infinite linear;
}

.search-icon-placeholder {
  width: 24px;
  height: 24px;
  background: #eee;
  border-radius: 50%;
  margin-right: 15px;
}

.search-text-placeholder {
  flex: 1;
  height: 18px;
  background: #eee;
  border-radius: 4px;
}

.activities-placeholders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.activity-placeholder {
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activity-icon-circle {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 50%;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.activity-icon-circle::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--shimmer-gradient);
  background-size: 800px 100%;
  animation: shimmer 2.5s infinite linear;
}

.activity-text-line {
  width: 60px;
  height: 10px;
  background: #f0f0f0;
  border-radius: 2px;
}

@keyframes shimmer {
  0% { background-position: -800px 0; }
  100% { background-position: 800px 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .loading-logo {
    height: 100px;
  }
  .search-placeholder {
    width: 90%;
  }
}
