.navbar {
  height: 64px !important;
}

/* Reserve space for async-loaded navbar to prevent layout shift */
#app-navbar {
  min-height: 64px; /* matches .navbar height */
  display: block;
}

/* Optional: generic skeleton block class (shared with JS) */
.skeleton-block {
  background: #e9ecef;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.skeleton-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  animation: skeleton-shimmer 1.1s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.navbar-brand {
  font-weight: bold;
  color: #6f42c1 !important;
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 100px 0;
}

.feature-card {
  transition: transform 0.3s;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.btn-primary-custom {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
}

.btn-primary-custom:hover {
  background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

.price-card {
  border: 2px solid #e9ecef;
  transition: all 0.3s;
}

.price-card.featured {
  border-color: #667eea;
  transform: scale(1.05);
}

.modal-header {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 단계별 회원가입 스타일 */
.signup-step-modal .modal-dialog {
  max-width: 500px;
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.step-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  font-weight: bold;
  margin: 0 20px;
}

.step-item.active {
  background: #0d47a1;
  color: white;
}

.step-item.completed {
  background: #28a745;
  color: white;
}

.step-item:not(:last-child):after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  width: 20px;
  height: 2px;
  background: #e9ecef;
  transform: translateY(-50%);
}

.step-item.completed:not(:last-child):after {
  background: #28a745;
}

.step-content {
  display: none;
  padding: 16px;
}

.step-content.active {
  display: block;
}

.btn-navy {
  background: #0d47a1;
  border-color: #0d47a1;
  color: white;
  font-weight: bold;
  padding: 12px 30px;
}

.btn-navy:hover {
  background: #1565c0;
  border-color: #1565c0;
  color: white;
}

.btn-prev {
  background: #6c757d;
  border-color: #0be808;
  color: white;
  font-weight: bold;
  padding: 12px 30px;
}

.btn-prev:hover {
  background: #306703;
  border-color: #1565c0;
  color: white;
}

.email-verification {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  color: #856404;
}

.warning-text {
  color: #dc3545;
  font-size: 14px;
  margin-top: 10px;
}

.success-text {
  color: #28a745;
  font-size: 14px;
  margin-top: 10px;
}

.agreement-section {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  background: #f8f9fa;
}

.agreement-content {
  max-height: 150px;
  overflow-y: auto;
  background: white;
  padding: 15px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.4;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #0d47a1;
  margin-bottom: 20px;
  text-align: center;
}

.input-group-text {
  background: #f8f9fa;
  border-right: none;
}

.phone-input {
  border-left: 1px solid #ced4da !important;
}

.is-valid {
  border-color: #198754 !important;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Global loading overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2000;
  /* above modals backdrop */
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: all;
}

.loading-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}
