/* Compact & Perfectly Centered DB Status Check Page Style */
:root {
  --bg-dark: #0a0d14;
  --bg-card: rgba(20, 26, 40, 0.85);
  --border-card: rgba(255, 255, 255, 0.1);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

/* Background Center Glow Effect */
body::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--accent-indigo);
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.main-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Card: Width compact & Centered */
.glass-card {
  width: 90%;
  max-width: 400px; /* 폭을 콘텐츠 크기에 맞게 컴팩트하게 축소 */
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
}

/* Status Icon Wrapper */
.icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.3s ease;
}

.icon-wrapper.checking {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-indigo);
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.icon-wrapper.success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.icon-wrapper.error {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 2px solid rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.3);
}

.status-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.status-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
}

/* Info Grid */
.info-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.info-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.info-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.info-val {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Error Box */
.error-box {
  width: 100%;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  color: var(--accent-rose);
  word-break: break-all;
  text-align: center;
}

/* Actions */
.actions {
  width: 100%;
  margin-top: 4px;
}

.btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}
