
/**
 * Vue 頁面骨架屏共用樣式
 * 用於 vue_page_skeleton() helper 輸出的靜態骨架
 */
.vue-page-placeholder {
  /* background: #f8f9fa;
  padding: 50px 0; */
}

.vue-skeleton.vue-skeleton-form-card .vue-skeleton-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.vue-skeleton .vue-skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: vue-skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}

.vue-skeleton .vue-skeleton-title {
  height: 28px;
  width: 40%;
  margin-bottom: 30px;
}

.vue-skeleton .vue-skeleton-btn {
  height: 44px;
  margin-bottom: 20px;
}

.vue-skeleton .vue-skeleton-divider {
  height: 20px;
  width: 60px;
  margin: 20px auto;
}

.vue-skeleton .vue-skeleton-input {
  height: 40px;
  margin-bottom: 20px;
}

.vue-skeleton .vue-skeleton-options {
  height: 24px;
  width: 70%;
  margin-bottom: 20px;
}

.vue-skeleton .vue-skeleton-submit {
  height: 44px;
  margin-bottom: 30px;
}

.vue-skeleton .vue-skeleton-footer {
  height: 20px;
  width: 50%;
  margin: 0 auto;
}

@keyframes vue-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* checkout 專用骨架：與 Checkout.vue 一致 */
.vue-skeleton.vue-skeleton-checkout .vue-skeleton-card-checkout {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.vue-skeleton-checkout .vue-skeleton-title-checkout {
  height: 28px;
  width: 30%;
  margin-bottom: 24px;
}

.vue-skeleton-checkout .vue-skeleton-steps {
  height: 32px;
  width: 80%;
  margin-bottom: 24px;
}

.vue-skeleton-checkout .vue-skeleton-checkout-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.vue-skeleton-checkout .vue-skeleton-checkout-col-main {
  flex: 1;
}

.vue-skeleton-checkout .vue-skeleton-checkout-col-side {
  width: 320px;
  flex-shrink: 0;
}

.vue-skeleton-checkout .vue-skeleton-product {
  height: 80px;
  margin-bottom: 1rem;
}

.vue-skeleton-checkout .vue-skeleton-summary {
  height: 24px;
  margin-bottom: 1rem;
}

.vue-skeleton.vue-skeleton-contact .vue-skeleton-card-contact {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.vue-skeleton-contact .vue-skeleton-title-contact {
  height: 24px;
  width: 50%;
  margin-bottom: 24px;
}

.vue-skeleton-contact .vue-skeleton-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.vue-skeleton-contact .vue-skeleton-col-6 {
  flex: 0 0 calc(50% - 8px);
}

.vue-skeleton-contact .vue-skeleton-col-12 {
  flex: 0 0 100%;
}

.vue-skeleton-contact .vue-skeleton-input {
  height: 40px;
  margin-bottom: 16px;
}

.vue-skeleton-contact .vue-skeleton-textarea {
  height: 120px;
  margin-bottom: 16px;
}

.vue-skeleton-contact .vue-skeleton-verify-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.vue-skeleton-contact .vue-skeleton-verify-input {
  flex: 1;
  height: 40px;
}

.vue-skeleton-contact .vue-skeleton-verify-image {
  width: 120px;
  height: 40px;
  border-radius: 4px;
}

.vue-skeleton-contact .vue-skeleton-submit {
  height: 44px;
  width: 180px;
  margin: 24px auto 0;
}

@media (max-width: 767.98px) {
  .vue-skeleton-checkout .vue-skeleton-checkout-row {
    flex-direction: column;
  }

  .vue-skeleton-checkout .vue-skeleton-checkout-col-side {
    width: 100%;
  }

  .vue-skeleton-contact .vue-skeleton-card-contact {
    padding: 20px 16px 28px;
  }

  .vue-skeleton-contact .vue-skeleton-col-6 {
    flex: 0 0 100%;
  }
}
