/* Error Container */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation: slide-in 0.5s ease-out;
}

/* Error Message */
.error-message {
  color: #ef4444;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  padding: 12px 16px;
  background: #fef2f2;
  border-radius: 8px;
  border: 1px solid #fee2e2;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Retry Button */
.retry-button {
  background: linear-gradient(90deg, #10b981, #34d399);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.retry-button:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  background: linear-gradient(90deg, #059669, #10b981);
}

.retry-button:disabled {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.retry-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.retry-button:hover::after {
  width: 240px;
  height: 240px;
}

/* Navigation */
.navigation {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  animation: slide-in 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .error-container {
    margin: 20px;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  }

  .navigation {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .error-message {
    font-size: 14px;
    padding: 10px 12px;
  }

  .retry-button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .navigation {
    margin-top: 16px;
    padding: 10px;
  }
}