/* ==========================================================================
   Independence Day Greeting Generator — Style System
   Institution: Shree Venkateshwara Group of Institutions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Cinzel+Decorative:wght@700;900&family=Montserrat:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #060a17;
  --bg-secondary: #0b1329;
  --bg-card: rgba(13, 22, 48, 0.78);
  --bg-card-hover: rgba(18, 30, 66, 0.88);
  --glass-border: rgba(212, 175, 55, 0.35);
  --glass-border-hover: rgba(254, 243, 199, 0.65);
  
  /* Metallic Gold Palette */
  --gold-100: #fffbeb;
  --gold-200: #fef3c7;
  --gold-300: #fde68a;
  --gold-400: #facc15;
  --gold-500: #d4af37;
  --gold-600: #ca8a04;
  --gold-700: #a16207;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #fff3be 35%, #c59b27 70%, #e6a817 100%);
  --gold-gradient-hover: linear-gradient(135deg, #e5be42 0%, #ffffff 35%, #d4af37 70%, #f5b722 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(254, 243, 199, 0.08));

  /* Indian Tricolor Accents */
  --saffron: #ff9933;
  --saffron-glow: rgba(255, 153, 51, 0.35);
  --white: #ffffff;
  --green: #138808;
  --green-glow: rgba(19, 136, 8, 0.35);
  --navy-dark: #050811;

  /* Typography */
  --font-serif: 'Cinzel', serif;
  --font-serif-dec: 'Cinzel Decorative', serif;
  --font-sans: 'Outfit', sans-serif;
  --font-accent: 'Montserrat', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.35), 0 0 50px rgba(212, 175, 55, 0.15);
  --shadow-poster: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.2);

  /* Dimensions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: #e2e8f0;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(255, 153, 51, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(19, 136, 8, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #050813 0%, #0a1124 50%, #060a17 100%);
  background-attachment: fixed;
}

/* Background Ambient Glow & Star Particles */
.bg-ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-ambient-beam {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.12) 0%, rgba(255, 153, 51, 0.05) 40%, transparent 70%);
  filter: blur(60px);
}

.bg-tricolor-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff9933 0%, #ff9933 33.33%, #ffffff 33.33%, #ffffff 66.66%, #138808 66.66%, #138808 100%);
  box-shadow: 0 0 15px rgba(255, 153, 51, 0.5);
  z-index: 100;
}

/* ==========================================================================
   Header & Branding
   ========================================================================== */

.app-header {
  position: relative;
  z-index: 10;
  padding: 24px 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.institution-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(8px);
  color: var(--gold-200);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.badge-emblem-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
}

.institution-name {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.institution-sub {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #94a3b8;
  text-transform: uppercase;
}

/* ==========================================================================
   Main Layout & Card Container
   ========================================================================== */

.main-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.creator-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow-md), 0 0 35px rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.creator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.card-header {
  text-align: center;
  margin-bottom: 28px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-title span.highlight-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.5;
}

/* ==========================================================================
   Photo Upload Dropzone
   ========================================================================== */

.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
}

.photo-uploader-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  background: radial-gradient(circle, rgba(16, 28, 60, 0.9) 0%, rgba(8, 14, 30, 0.95) 100%);
  border: 2px dashed rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.photo-uploader-circle:hover,
.photo-uploader-circle.drag-over {
  border-color: var(--gold-300);
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold), inset 0 0 20px rgba(212, 175, 55, 0.2);
}

.photo-uploader-circle.has-photo {
  border-style: solid;
  border-color: var(--gold-400);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* Placeholder Content inside upload circle */
.upload-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  padding: 16px;
  text-align: center;
  pointer-events: none;
  transition: var(--transition-fast);
}

.upload-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.4rem;
  transition: var(--transition-fast);
}

.photo-uploader-circle:hover .upload-icon-ring {
  transform: scale(1.08);
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--gold-300);
}

.upload-text-title {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-200);
}

.upload-text-hint {
  font-size: 0.72rem;
  color: #64748b;
}

/* Photo Preview Element */
.photo-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
  transition: transform var(--transition-fast);
}

.photo-preview-image.visible {
  display: block;
}

.photo-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 18, 0.65);
  backdrop-filter: blur(3px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  color: var(--gold-200);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.photo-uploader-circle.has-photo:hover .photo-preview-overlay {
  opacity: 1;
}

/* Upload Controls Below Circle */
.upload-controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-change-photo {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-300);
  font-family: var(--font-accent);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  display: none;
}

.btn-change-photo.visible {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-change-photo:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-300);
  color: #ffffff;
}

/* Zoom/Pan Adjuster Widget */
.photo-adjuster {
  width: 100%;
  max-width: 240px;
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  background: rgba(9, 16, 36, 0.6);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.photo-adjuster.visible {
  display: flex;
}

.adjuster-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94a3b8;
  font-family: var(--font-accent);
  font-weight: 600;
}

.adjuster-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(212, 175, 55, 0.25);
  border-radius: 2px;
  outline: none;
}

.adjuster-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-400);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  transition: transform var(--transition-fast);
}

.adjuster-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Hidden File Input */
#photoInput {
  display: none;
}

/* ==========================================================================
   Form Fields & Input
   ========================================================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  font-family: var(--font-accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gold-200);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--gold-500);
  font-size: 1.1rem;
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(8, 14, 30, 0.7);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: #475569;
  font-weight: 400;
}

.form-input:focus {
  border-color: var(--gold-400);
  background: rgba(12, 20, 44, 0.9);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--gold-300);
}

/* Validation Alerts */
.validation-message {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 18px;
  animation: fadeIn 0.25s ease-out;
}

.validation-message.visible {
  display: flex;
}

.validation-message.warning {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn-primary-process {
  width: 100%;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(254, 243, 199, 0.4);
  background: var(--gold-gradient);
  color: var(--navy-dark);
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: var(--transition-smooth);
}

.btn-primary-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}

.btn-primary-process:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5), 0 0 15px rgba(254, 243, 199, 0.4);
}

.btn-primary-process:hover::before {
  left: 150%;
}

.btn-primary-process:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary-process:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-arrow-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.btn-primary-process:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   PAGE 2 — Personalized Banner Display & Poster View
   ========================================================================== */

.greeting-view-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 40px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.greeting-top-bar {
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(13, 22, 48, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-200);
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-back-link:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-300);
  color: #ffffff;
  transform: translateX(-2px);
}

.status-badge {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 1.8s infinite;
}

/* Poster Card Wrapper */
.poster-showcase-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.poster-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 576 / 1024;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-poster);
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: #000;
  transform: translateZ(0);
  animation: posterEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The Native Banner Image (Hero Background) */
.poster-base-banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

/* Circular User Photo Overlay on the Banner */
/* Exact banner dimensions: 576 x 1024 */
/* Circle center: X = 49.3% (284px), Y = 72.66% (744px) */
/* Circle diameter: 39.58% (228px) */
.banner-photo-circle-overlay {
  position: absolute;
  left: 49.3%;
  top: 72.66%;
  width: 39.58%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(212, 175, 55, 0.5);
  border: 1.5px solid rgba(254, 243, 199, 0.6);
  background: #ffffff;
}

.banner-photo-circle-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* User Name Overlay on the Banner */
/* Positioned right below the circular photo frame */
.banner-name-badge-overlay {
  position: absolute;
  left: 49.3%;
  top: 84.9%;
  transform: translateX(-50%);
  z-index: 3;
  width: 74%;
  text-align: center;
  pointer-events: none;
}

.banner-name-text {
  display: inline-block;
  max-width: 100%;
  padding: 3px 14px;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(212, 175, 55, 0.2);
  
  font-family: var(--font-accent);
  font-size: clamp(0.62rem, 2.05vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-name-text span.gold-dot {
  color: var(--gold-400);
  margin: 0 4px;
}

/* Poster Action Buttons Bar */
.poster-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 500px;
}

.btn-action {
  flex: 1;
  min-width: 160px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-download-hd {
  background: var(--gold-gradient);
  border: 1px solid rgba(254, 243, 199, 0.5);
  color: var(--navy-dark);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-download-hd:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.btn-download-hd:active {
  transform: translateY(1px);
}

.btn-share {
  background: rgba(13, 22, 48, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-200);
  backdrop-filter: blur(10px);
}

.btn-share:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-300);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-share:active {
  transform: translateY(1px);
}

/* Confetti Canvas for Celebration */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
}

/* Hidden Export Canvas */
#exportCanvas {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.app-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 16px 20px 24px;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-quote {
  font-family: var(--font-serif);
  color: var(--gold-300);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.footer-credits {
  font-family: var(--font-accent);
  color: #64748b;
  letter-spacing: 1px;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes posterEntrance {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pulseGreen {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 600px) {
  .app-header {
    padding: 16px 14px 8px;
  }

  .institution-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .creator-card {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .photo-uploader-circle {
    width: 145px;
    height: 145px;
  }

  .poster-frame {
    max-width: 340px;
  }

  .poster-actions-bar {
    flex-direction: column;
    width: 100%;
  }

  .btn-action {
    width: 100%;
  }
}

@media (max-height: 750px) and (min-width: 601px) {
  .poster-frame {
    max-width: 360px;
  }
}
