/* Minimalist Waiting Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #fef5f5 0%, #fff8f8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}

body.fade-out {
  opacity: 0;
}

.container {
  width: 100%;
  max-width: 600px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  text-align: center;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

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

.logo-wrapper {
  margin-bottom: 40px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff3f3 0%, #ffeded 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
}

.logo-icon {
  width: 60px;
  height: 60px;
  color: white;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.125rem;
  color: #7f8c8d;
  margin-bottom: 40px;
  font-weight: 400;
}

.loader {
  width: 100%;
  max-width: 300px;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin: 0 auto 40px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%);
  border-radius: 10px;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0%;
    margin-left: 0%;
  }
  50% {
    width: 75%;
    margin-left: 0%;
  }
  100% {
    width: 0%;
    margin-left: 100%;
  }
}

.manual-link {
  margin-top: 32px;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.link {
  color: #dc2626;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
}

.link:hover {
  color: #991b1b;
  background-color: rgba(220, 38, 38, 0.05);
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 640px) {
  .title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .logo-circle {
    width: 100px;
    height: 100px;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
  }
}