/* ============================================================
   card.css - the main glass panel
   ============================================================ */

/* ?? Glass card ?? */
.card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0  rgba(255,255,255,0.08) inset,
    0 24px 64px rgba(0,0,0,0.58),
    0 4px  16px rgba(0,0,0,0.44);
}

.upload-view,
.complete-view {
  width: 100%;
  min-width: 0;
  height: 100%;
}

.upload-view {
  display: flex;
  flex-direction: column;
}

.complete-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.28s var(--ease-out);
}

.upload-view.hidden,
.complete-view.hidden {
  display: none !important;
}

/* ?? Footer ?? */
.footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  opacity: 0.75;
  text-align: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.footer-dot { opacity: 0.45; }

.learn-more-btn {
  border: none;
  background: transparent;
  color: #c4b5fd;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  outline: none;
}

.learn-more-btn:hover,
.learn-more-btn:focus-visible {
  color: var(--text-primary);
  text-decoration: underline;
}

.learn-more-btn:focus-visible {
  box-shadow: var(--button-focus);
}

@media (max-width: 480px) {
  .card {
    height: 600px;
    padding: 24px 18px 20px;
    border-radius: 16px;
  }
}
