/* ==========================================
   Maintenance Page Styles
   ========================================== */

:root {
  --primary-blue: #003d99;
  --primary-blue-dark: #002b6b;
  --accent-green: #2d8659;
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-white: #ffffff;
  --bg-light: #f0f4f8;
  --border-color: #e0e6ed;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition-base: 250ms ease-in-out;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  line-height: 1.7;
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, #1a5276 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   Container
   ========================================== */
.maintenance-container {
  width: 100%;
  max-width: 680px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.maintenance-content {
  background: var(--text-white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

/* ==========================================
   Icon
   ========================================== */
.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 61, 153, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

.maintenance-icon {
  width: 40px;
  height: 40px;
  fill: var(--text-white);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(0, 61, 153, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 28px rgba(0, 61, 153, 0.5);
    transform: scale(1.05);
  }
}

/* ==========================================
   Title
   ========================================== */
.maintenance-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

/* ==========================================
   Message
   ========================================== */
.maintenance-message {
  margin-bottom: 2rem;
}

.main-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-align: justify;
}

.sub-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
}

/* ==========================================
   Info Section
   ========================================== */
.maintenance-info {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-white);
  background: var(--primary-blue);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.6;
}

.info-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.7;
  text-align: justify;
}

/* ==========================================
   Progress Bar
   ========================================== */
.progress-wrapper {
  margin-top: 0.5rem;
}

.progress-bar {
  background: var(--border-color);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 0.625rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  border-radius: 999px;
  transition: width 1s ease-in-out;
  animation: progress-animate 3s ease-in-out forwards;
}

@keyframes progress-animate {
  0% { width: 0%; }
  100% { width: 65%; }
}

.progress-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ==========================================
   Footer
   ========================================== */
.maintenance-footer {
  text-align: center;
  padding: 1.25rem 0 0;
}

.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 480px) {
  .maintenance-content {
    padding: 2rem 1.5rem 1.75rem;
  }

  .maintenance-title {
    font-size: 1.6rem;
  }

  .icon-wrapper {
    width: 68px;
    height: 68px;
  }

  .maintenance-icon {
    width: 32px;
    height: 32px;
  }

  .info-item {
    flex-direction: column;
    gap: 0.4rem;
  }
}
