body {
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  background: #111111;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Top header overlay - removed conflicting styles to use styles.css fixed positioning */
/* The top-header-overlay is now styled in styles.css with position: fixed */

.user-feedback-back {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-family: "Nunito Sans", sans-serif;
  transition: opacity 0.3s ease;
  padding: 0.5rem 1rem;
}

.user-feedback-back:hover {
  opacity: 0.7;
}

.top-header-overlay h1 {
  margin: 0;
  flex: 1;
  text-align: center;
}

.top-header-overlay h1 img {
  height: 2.5rem;
  width: auto;
}

/* Main upload container */
.upload-container {
  margin: 0;
  padding: 1rem;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* Upload area - 4:5 aspect ratio that scales with viewport */
.upload-area {
  width: min(90vw, 800px) !important;
  height: min(112.5vw, 1000px) !important;
  aspect-ratio: 4/5 !important;
  border: 3px dashed rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 4rem 3rem !important;
  background: rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.upload-area:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.upload-area.dragover {
  border-color: #dfa400;
  background: rgba(223, 164, 0, 0.1);
}

.upload-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.upload-text {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.upload-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.file-input {
  display: none;
}

.upload-btn {
  background: linear-gradient(135deg, #dfa400, #ffc107);
  color: #000000;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Nunito Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(223, 164, 0, 0.4);
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 164, 0, 0.6);
}

.upload-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Exercise selection buttons - styled like training.html */
.exercise-selection-container {
  display: block;
  margin-bottom: 3rem;
}

.exercise-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Exercise selection buttons - transparent with white text, no borders */
.exercise-selection-btn {
  background: transparent !important;
  border: none !important;
  color: white !important;
  backdrop-filter: none !important;
  transition: all 0.3s ease;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

/* Exercise icon styling */
.exercise-selection-btn .exercise-icon {
  opacity: 0.8;
  transition: all 0.3s ease;
  margin-bottom: 0.25rem;
}

.exercise-selection-btn:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.exercise-selection-btn:hover .exercise-icon {
  opacity: 1;
  transform: scale(1.1);
}

.exercise-selection-btn:disabled {
  background: transparent !important;
  color: rgba(128, 128, 128, 0.7) !important;
  cursor: not-allowed;
}

/* Action buttons row */
.action-buttons-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.analyze-btn {
  background: linear-gradient(
    135deg,
    #8b4513 0%,
    #daa520 30%,
    #ffd700 70%,
    #ffed4e 100%
  ) !important;
  color: black !important;
  border: none !important;
  outline: none !important;
  font-weight: bold !important;
  border-radius: 50px !important;
  padding: 1.2rem 2.5rem !important;
  box-shadow:
    0 15px 45px rgba(218, 165, 32, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-family: "Nunito Sans", sans-serif !important;
  height: auto !important;
  line-height: normal !important;
  font-size: 1.8rem !important;
  box-sizing: border-box;
  min-width: 300px !important;
  min-height: 100px !important;
  cursor: pointer;
  animation: pulse-glow 2s infinite ease-in-out;
  transform: scale(1.05);
}

.analyze-btn:hover {
  background: linear-gradient(
    135deg,
    #a0522d 0%,
    #f4c430 35%,
    #ffed4e 75%,
    #fff8dc 100%
  ) !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(30px) !important;
}

.analyze-btn:active {
  transform: translateY(0) scale(1.05);
}

.analyze-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

.analyze-btn:disabled:hover {
  transform: none;
  box-shadow:
    0 15px 45px rgba(218, 165, 32, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Video preview container - needs position relative for loading overlay */
.video-preview-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Loading overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 12px;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.loading-bar {
  width: 300px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loading-fill {
  height: 100%;
  background: linear-gradient(90deg, #dfa400, #ffd700);
  width: 0%;
  transition: width 0.3s ease;
}

.loading-percentage {
  font-size: 1.2rem;
  font-weight: 600;
}

@keyframes fadeInOut {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

.video-preview {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: block;
  position: relative;
  min-height: 300px; /* Maintain minimum height while loading */
  background: rgba(0, 0, 0, 0.3); /* Subtle background while loading */
}

.change-video-btn {
  background: transparent;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Nunito Sans", sans-serif;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.change-video-btn:hover {
  opacity: 0.7;
  text-decoration: none;
}

.change-video-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Error message */
.error-message {
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #ff6b6b;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1rem;
  display: none;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow:
      0 15px 45px rgba(218, 165, 32, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 20px 60px rgba(218, 165, 32, 0.8),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow:
      0 15px 45px rgba(218, 165, 32, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

/* Progress container */
.progress-container {
  display: none;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.progress-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #dfa400, #ffc107);
  width: 0%;
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 700;
  font-size: 0.9rem;
}

.progress-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.progress-details {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Results container - empty in Phase 1 */
.results-container {
  display: none;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.results-title {
  font-size: 2rem;
  color: white;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Confetti Animation */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff6b35;
  animation: confetti-fall 3s linear infinite;
}

.confetti-piece:nth-child(2n) {
  background: #4ade80;
  animation-delay: 0.1s;
}

.confetti-piece:nth-child(3n) {
  background: #fbbf24;
  animation-delay: 0.2s;
}

.confetti-piece:nth-child(4n) {
  background: #8b5cf6;
  animation-delay: 0.3s;
}

.confetti-piece:nth-child(5n) {
  background: #06b6d4;
  animation-delay: 0.4s;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Beta notification styling */
.upload-beta-notification {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.5s ease-out;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  max-width: 600px;
  width: calc(100% - 40px);
}

.upload-beta-notification.show {
  opacity: 1;
  visibility: visible;
}

.upload-beta-notification-icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: gentle-bounce 3s ease-in-out infinite;
}

.upload-beta-notification-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.4rem;
  font-weight: 600;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.4;
  flex: 1;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Coming Soon badge styling (from spartan-legend) */
.coming-soon-badge {
  display: inline-block;
  background: #2196f3;
  color: #ffffff;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badge-pulse 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
  margin-left: 0.5rem;
}

@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .upload-beta-notification {
    top: 70px;
    padding: 1.2rem 1.5rem;
    width: calc(100% - 20px);
  }

  .upload-beta-notification-icon {
    font-size: 1.8rem;
  }

  .upload-beta-notification-text {
    font-size: 1.2rem;
  }
}

/* Example Videos Gallery */
.example-videos-section {
  margin-bottom: 3rem;
  text-align: center;
}

.example-videos-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.example-videos-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.example-video-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 140px;
  text-align: center;
}

.example-video-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.example-video-thumbnail {
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 0.8rem;
  position: relative;
  overflow: hidden;
}

.example-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.example-video-thumbnail .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.example-video-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.example-video-card.loading {
  position: relative;
  pointer-events: none;
}

.example-video-card.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.example-video-card.loading .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #dfa400;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.example-video-name {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .example-videos-grid {
    gap: 1rem;
    padding: 0 1rem;
  }

  .example-video-card {
    width: 120px;
    padding: 0.8rem;
  }

  .example-video-thumbnail {
    height: 80px;
    font-size: 1.5rem;
  }

  .example-video-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .example-videos-grid {
    gap: 0.8rem;
  }

  .example-video-card {
    width: 100px;
    padding: 0.6rem;
  }

  .example-video-thumbnail {
    height: 70px;
    font-size: 1.2rem;
  }

  .example-video-name {
    font-size: 0.8rem;
  }
}

/* Analysis Summary Styles - Dark design matching Your Session modal */
.analysis-summary {
  margin-top: 2rem;
}

.summary-card {
  padding: 0;
  text-align: center;
}

.summary-card h4 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.summary-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Rep Video Container Styles */
.rep-video-container {
  margin: 1.5rem 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1rem;
  position: relative;
}

/* Rep items in upload results - match training.html modal styling */
.rep-item {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.2s ease !important;
  padding: 1.5rem 1.5rem !important;
  border-radius: 16px !important;
  margin-bottom: 1rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.rep-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.rep-item:active {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(0.98);
}

.rep-thumbnail-with-play {
  position: relative !important;
  width: 100px !important;
  height: 100px !important;
  flex-shrink: 0 !important;
  margin-right: 1rem !important;
}

.rep-thumbnail-container {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.rep-thumbnail-placeholder {
  width: 100% !important;
  height: 100% !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 3rem !important;
}

.rep-play-button-overlay {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 48px !important;
  height: 48px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  transition: all 0.2s ease !important;
}

.rep-item:hover .rep-play-button-overlay {
  background: rgba(0, 0, 0, 0.8) !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
}

.rep-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
}

.rep-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
}

.rep-exercise {
  color: #ffffff !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.rep-time {
  color: #ffffff !important;
  font-size: 1.8rem !important;
  font-weight: 500 !important;
  text-align: right !important;
}

.rep-stats {
  display: flex !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
}

.rep-item .stat-positive {
  color: #4ade80 !important;
  font-size: 1.8rem !important;
  font-weight: 500 !important;
}

.rep-item .stat-improvement {
  color: #fbbf24 !important;
  font-size: 1.8rem !important;
  font-weight: 500 !important;
}

.reps-list {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-top: 2rem !important;
}

.no-reps-checklist {
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  margin: 1rem 0;
  padding-left: 1rem;
}

.no-reps-checklist li {
  margin: 0.5rem 0;
  line-height: 1.4;
}

.summary-insight {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.view-details-btn {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: #ffffff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.view-details-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .top-header-overlay {
    padding: 1rem 0.5rem;
  }

  .user-feedback-back {
    font-size: 1.4rem;
    padding: 0.25rem 0.5rem;
  }

  .top-header-overlay h1 img {
    height: 2rem;
  }

  .upload-container {
    padding: 0 0.25rem 1rem 0.25rem;
    margin: 0;
  }

  .upload-area {
    width: min(95vw, 800px) !important;
    height: min(118.75vw, 1000px) !important;
    aspect-ratio: 4/5 !important;
    padding: 3rem 2rem !important;
    margin: 0 auto !important;
  }

  .upload-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }

  .upload-text {
    font-size: 1.4rem;
  }

  .upload-subtext {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .upload-btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .analyze-btn {
    padding: 1rem 2rem !important;
    font-size: 1.6rem !important;
    min-width: 250px !important;
    min-height: 80px !important;
  }

  .video-preview-container {
    padding: 1.5rem;
  }

  .progress-container {
    padding: 1.5rem;
  }

  .progress-title {
    font-size: 1.3rem;
  }

  .progress-bar {
    height: 25px;
  }
}

@media (max-width: 430px) {
  .upload-area {
    width: min(95vw, 800px) !important;
    height: min(118.75vw, 1000px) !important;
    aspect-ratio: 4/5 !important;
    padding: 2.5rem 1.5rem !important;
  }

  .upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .upload-text {
    font-size: 1.2rem;
  }

  .upload-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

