/* 에러 페이지 스타일 */
.error-section {
  padding: 4rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center; /* 가로 가운데 정렬 추가 */
  width: 100%; /* 전체 너비 사용 */
}

.error-container {
  max-width: 600px;
  width: 100%; /* 전체 너비 사용 */
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem; /* 좌우 여백 추가 */
}

.error-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
}

.error-icon {
  margin-bottom: 2rem;
}

.error-icon i {
  font-size: 4rem;
  color: #dc3545;
}

.error-title {
  font-size: 4rem;
  font-weight: 700;
  color: #dc3545;
  margin: 0 0 1rem 0;
  line-height: 1;
}

.error-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
}

.error-description {
  font-size: 1.1rem;
  color: #666;
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.error-description code {
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #e83e8c;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.error-actions .btn {
  min-width: 160px;
}

.error-help {
  text-align: left;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.error-help h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 1rem 0;
}

.error-help ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-help li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.error-help li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
}

/* 버튼 스타일 */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: #007bff;
  color: #fff;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
}

.btn-secondary:hover {
  background: #545b62;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .error-section {
    padding: 2rem 0;
  }
  
  .error-content {
    padding: 2rem 1.5rem;
  }
  
  .error-title {
    font-size: 3rem;
  }
  
  .error-subtitle {
    font-size: 1.25rem;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .error-content {
    padding: 1.5rem 1rem;
  }
  
  .error-title {
    font-size: 2.5rem;
  }
  
  .error-subtitle {
    font-size: 1.1rem;
  }
  
  .error-description {
    font-size: 1rem;
  }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
  .error-content {
    background: #2d3748;
    color: #e2e8f0;
  }
  
  .error-subtitle {
    color: #e2e8f0;
  }
  
  .error-description {
    color: #a0aec0;
  }
  
  .error-description code {
    background: #4a5568;
    color: #fbb6ce;
  }
  
  .error-help {
    background: #4a5568;
  }
  
  .error-help h3 {
    color: #e2e8f0;
  }
  
  .error-help li {
    color: #a0aec0;
  }
}

/* 어두운 배경의 텍스트를 흰색으로 명시적 설정 */
.error-content {
  color: var(--text-white);
}

.error-subtitle {
  color: var(--text-white);
}

.error-description {
  color: var(--text-white);
}

.error-help h3 {
  color: var(--text-white);
}

.error-help li {
  color: var(--text-white);
} 