/* Muted Premium Sapphire & Navy CSS Styling for The National Photographic Art Society of Sri Lanka */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-base: #2a3254; /* Brighter Slate-Navy Base Background */
  --bg-card: #37416a; /* Brighter elevated slate card background */
  --bg-card-hover: #424e7e; /* Brighter slate card hover backgrounds */
  --bg-inset: #1e243d; /* Lighter indented elements */
  --primary: #4f80e2; /* Lighter Sophisticated Sapphire Blue */
  --primary-hover: #7ba2f5; /* Bright steel-blue accent */
  --primary-glow: rgba(79, 128, 226, 0.2);
  --primary-glass: rgba(79, 128, 226, 0.08);
  --text-main: #ffffff; /* Pure white text for superb contrast */
  --text-muted: #cbd5e1; /* High-contrast soft blue-gray for readability */
  --text-inverse: #0f172a; /* Slate 900 for dark text on buttons */
  --border-glass: rgba(255, 255, 255, 0.14); /* Defined white glass borders */
  --border-glass-active: rgba(123, 162, 245, 0.5);
  --success: #10b981; /* Soft green */
  --error: #ef4444; /* Coral red */
  --warning: #f59e0b; /* Soft gold warning */
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 35px rgba(79, 128, 226, 0.15);
}

/* Base resets & typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Beautiful Slate scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

a {
  color: var(--primary-hover);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.serif-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Radial background gradient overlay matching logo blue subtly */
.decor-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(circle at 12% 10%, rgba(27, 59, 111, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 88% 90%, rgba(16, 185, 129, 0.01) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Page Layout & Container */
.app-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem 1.5rem;
}

/* Sleek Frosted Art Gallery Header with modern horizontal flex layout - Premium Theme */
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1.8rem;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 60%), 
    radial-gradient(ellipse at 70% 50%, rgba(43, 92, 191, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(43, 92, 191, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%),
    rgba(10, 12, 26, 0.85);
  backdrop-filter: blur(16px);
  border-radius: 0 0 16px 16px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.35), transparent);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(43, 92, 191, 0.25));
}

.logo-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
}

.society-title {
  font-size: 0.68rem;
  color: var(--primary-hover);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(77, 139, 240, 0.15);
}

.exhibition-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.05rem;
  background: linear-gradient(135deg, #ffffff 40%, #a4c9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.exhibition-year {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin-top: 0.02rem;
}

/* Auth Navigation switches on header */
.view-switch {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  padding: 4px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  margin-top: 0;
}

.btn-switch {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-switch.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(27, 59, 111, 0.35);
}

.btn-switch:hover:not(.active) {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

/* Banner for Demo mode notification */
.demo-banner {
  background: linear-gradient(90deg, rgba(27, 59, 111, 0.05) 0%, rgba(27, 59, 111, 0.01) 100%);
  border: 1px solid var(--border-glass-active);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  backdrop-filter: blur(8px);
}

.demo-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-dismiss {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

/* Glassmorphism Card Core */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.panel:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(59, 130, 246, 0.1);
}

.panel-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 10px;
}

.panel-title i {
  color: var(--primary-hover);
}

/* Portal Login/Signup visual panel */
.auth-panel-wrapper {
  max-width: 480px;
  margin: 1rem auto 3rem auto;
}

.auth-panel-wrapper .panel {
  background: 
    radial-gradient(ellipse at 30% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 60%), 
    radial-gradient(ellipse at 70% 100%, rgba(43, 92, 191, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(43, 92, 191, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%),
    var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-panel-wrapper .panel::before {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
  height: 3px;
}

.auth-panel-wrapper .panel:hover {
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.08);
}

.auth-toggle-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-toggle-link span {
  color: var(--primary-hover);
  cursor: pointer;
  font-weight: 600;
}

.auth-toggle-link span:hover {
  text-decoration: underline;
}

.user-profile-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 60%), 
    radial-gradient(ellipse at 80% 50%, rgba(43, 92, 191, 0.06) 0%, transparent 60%),
    linear-gradient(135deg, rgba(43, 92, 191, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%),
    rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--border-radius-md);
  padding: 10px 18px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.user-profile-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-profile-info i {
  color: var(--primary-hover);
}

.btn-signout {
  background: transparent;
  border: none;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.btn-signout:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Submissions closed alert screen */
.portal-closed-alert {
  background: rgba(239, 68, 68, 0.06);
  border: 1.5px dashed rgba(239, 68, 68, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 700px;
  margin: 3rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.portal-closed-icon {
  font-size: 3.5rem;
  color: var(--error);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

/* Step Progress Indicator (Entrant Portal) */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.steps-line {
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-glass);
  z-index: 1;
}

.steps-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 20%;
  cursor: pointer;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-inset);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.step-label {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

/* Step active/completed states */
.step-node.completed .step-circle {
  border-color: var(--success);
  background: var(--success);
  color: var(--bg-base);
}

.step-node.completed .step-label {
  color: var(--success);
}

.step-node.active .step-circle {
  border-color: var(--primary);
  background: var(--bg-card);
  color: var(--primary-hover);
  box-shadow: 0 0 15px rgba(29, 78, 216, 0.4);
}

.step-node.active .step-label {
  color: var(--primary-hover);
}

/* Forms controls & validation visual feedback */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

input, textarea, select {
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  color: var(--text-main);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-hover);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.error-msg {
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
  font-weight: 500;
}

.form-group.invalid input,
.form-group.invalid select {
  border-color: var(--error);
}

.form-group.invalid .error-msg {
  display: block;
}

/* Custom visual selector for categories */
.category-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.cat-option {
  border: 2px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition-smooth);
}

.cat-option:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.cat-option.selected {
  border-color: var(--primary);
  background: rgba(29, 78, 216, 0.03);
  box-shadow: var(--shadow-glow);
}

.cat-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-glass);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.cat-option.selected .cat-radio {
  border-color: var(--primary-hover);
}

.cat-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-hover);
  transform: scale(0);
  transition: var(--transition-smooth);
}

.cat-option.selected .cat-radio::after {
  transform: scale(1);
}

.cat-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cat-option.selected .cat-title {
  color: var(--primary-hover);
}

.cat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Category Sections Lock Warning Banner */
.lock-warning {
  background: rgba(239, 68, 68, 0.05);
  border: 1px dashed var(--error);
  color: #ff8080; /* High contrast red on dark background */
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  animation: fadeIn 0.4s ease-out;
}

/* Rules list inside Rules step */
.rules-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rule-item {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.01);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
}

.rule-number {
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-card {
  background: rgba(29, 78, 216, 0.01);
  border: 1px solid var(--border-glass-active);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  height: fit-content;
}

.contact-card-title {
  font-family: var(--font-sans);
  color: var(--primary-hover);
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--primary-hover);
  width: 16px;
  text-align: center;
}

/* Image Upload Section Layout */
.section-upload-card {
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.005);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  position: relative;
}

/* Faded/Disabled state for mutually exclusive sections */
.section-upload-card.locked {
  opacity: 0.2;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.02);
}

.section-upload-card.locked::after {
  content: 'Category Locked';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed var(--border-glass);
  padding-bottom: 8px;
}

.sec-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-hover);
}

.sec-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* Drag & Drop Area container */
.dropzone {
  border: 2px dashed var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 20px 10px;
  text-align: center;
  background: rgba(27, 59, 111, 0.02);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 195px;
}

.dropzone:hover {
  border-color: var(--primary-hover);
  background: rgba(27, 59, 111, 0.05);
}

.dropzone-icon {
  font-size: 1.8rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.dropzone:hover .dropzone-icon {
  color: var(--primary-hover);
  transform: translateY(-4px);
}

.dropzone-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.dropzone-limits {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Uploaded Image Card Preview */
.upload-card {
  position: relative;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  background: var(--bg-inset);
  display: flex;
  flex-direction: column;
  min-height: 195px;
  animation: scaleIn 0.3s ease-out;
}

.upload-thumb-container {
  height: 110px;
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.upload-card:hover .upload-thumb {
  transform: scale(1.08);
}

.upload-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.btn-action {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.78rem;
  backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

.btn-action-delete:hover {
  background: var(--error);
  color: white;
}

/* Upload Progress Overlay */
.upload-progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  z-index: 5;
}

.progress-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(29, 78, 216, 0.2);
  border-top-color: var(--primary-hover);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 10px;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-hover);
  transition: width 0.1s ease;
}

.progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-hover);
}

/* Image Title input block */
.upload-title-block {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.title-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-glass);
  border-radius: 0;
  padding: 4px 0;
  font-size: 0.8rem;
  color: var(--text-main);
  text-align: center;
  font-weight: 600;
}

.title-input:focus {
  border-color: var(--primary-hover);
  box-shadow: none;
}

.title-char-count {
  font-size: 0.65rem;
  align-self: flex-end;
  color: var(--text-muted);
}

.title-char-count.warning {
  color: var(--warning);
}

/* Verification and Proof uploads */
.proof-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.proof-card {
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.proof-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.proof-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.proof-dropzone {
  border: 2px dashed var(--border-glass);
  padding: 25px;
  border-radius: var(--border-radius-md);
  text-align: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.proof-dropzone:hover {
  border-color: var(--primary-hover);
  background: rgba(29, 78, 216, 0.01);
}

.proof-preview-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass-active);
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  animation: fadeIn 0.4s ease-out;
}

.proof-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.proof-file-info i {
  color: var(--primary-hover);
  font-size: 1.3rem;
}

.proof-file-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-file-size {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Dynamic Fee calculation section */
.fee-summary-box {
  background: rgba(29, 78, 216, 0.02);
  border: 1px solid var(--border-glass-active);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.fee-row.total {
  border-top: 1px solid var(--border-glass);
  padding-top: 12px;
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-hover);
}

/* Declaration and declaration acknowledgement */
.decl-container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.decl-checkbox {
  width: 20px;
  height: 20px;
  background: var(--bg-inset);
  border: 2px solid var(--border-glass);
  border-radius: 4px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.decl-container:hover .decl-checkbox {
  border-color: var(--primary-hover);
}

.decl-container.checked .decl-checkbox {
  border-color: var(--success);
  background: var(--success);
}

.decl-checkbox::after {
  content: '✔';
  color: var(--bg-base);
  font-size: 0.8rem;
  font-weight: 700;
  transform: scale(0);
  transition: var(--transition-smooth);
}

.decl-container.checked .decl-checkbox::after {
  transform: scale(1);
}

.decl-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.45;
}

/* Navigation button actions */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  gap: 1rem;
}

.btn {
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border-glass);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(27, 59, 111, 0.04);
  border-color: var(--primary-hover);
}

/* Form Submission Success Screen */
.success-screen {
  text-align: center;
  max-width: 650px;
  margin: 3rem auto;
  animation: scaleIn 0.5s ease-out;
}

.success-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 3px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.8rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.ref-box {
  background: var(--bg-inset);
  border: 1px solid var(--border-glass-active);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ref-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.ref-code {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-hover);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.success-details {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}

.success-summary-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--primary-hover);
}

.success-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.success-summary-list li {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.success-summary-list li span {
  color: var(--text-main);
  font-weight: 600;
}

/* ----------------------------------------------------
   Admin Dashboard Layout
   ---------------------------------------------------- */
.admin-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeIn 0.4s ease-out;
}

/* Key statistics numbers cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid var(--border-glass-active);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Dashboard 2-column main view */
.admin-content-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

/* Left: Entrants search filter lists */
.admin-list-pane {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.search-filters {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
}

.search-box {
  flex-grow: 1;
  position: relative;
}

.search-box i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding-left: 40px;
}

.filter-select {
  width: 160px;
}

/* Bulk action toolbar buttons */
.admin-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  align-items: center;
  justify-content: space-between;
}

.admin-actions-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-actions-buttons {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.75rem;
  border-radius: var(--border-radius-md);
}

.entrants-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 550px;
  overflow-y: auto;
  padding-right: 4px;
}

.entrant-row-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.entrant-row-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.entrant-row-card.selected {
  border-color: var(--primary-hover);
  background: rgba(29, 78, 216, 0.02);
}

.ent-list-primary {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.entrant-row-card.selected .ent-list-primary {
  color: var(--primary-hover);
}

.ent-list-secondary {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ent-list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24; /* High contrast amber on dark background */
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-badge.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399; /* High contrast emerald on dark background */
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171; /* High contrast red on dark background */
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Right: Submission details pane */
.admin-details-pane {
  position: sticky;
  top: 1rem;
}

.admin-details-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 500px;
}

.admin-details-placeholder i {
  font-size: 3rem;
  color: var(--border-glass);
}

.detail-card {
  animation: fadeIn 0.4s ease-out;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.detail-entrant-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.detail-category-tag {
  background: var(--primary-glow);
  border: 1px solid var(--border-glass-active);
  color: var(--primary-hover);
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
  display: inline-block;
}

.detail-status-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.detail-status-buttons {
  display: flex;
  gap: 8px;
}

.btn-approve {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid var(--success);
  color: #a7f3d0;
}

.btn-approve:hover {
  background: var(--success);
  color: var(--bg-base);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-reject {
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid var(--error);
  color: #fca5a5;
}

.btn-reject:hover {
  background: var(--error);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid var(--error);
  color: #fca5a5;
  transition: var(--transition-spring);
}

.btn-delete:hover {
  background: var(--error);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
}

/* Detail sub-cards info grids */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  background: var(--bg-inset);
  padding: 1.2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.detail-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-all;
}

/* Section images gallery inside admin view */
.detail-sections-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-hover);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-gallery-row {
  margin-bottom: 1.8rem;
}

.detail-sec-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.detail-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-thumb-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: black;
  cursor: pointer;
}

.detail-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.detail-thumb-card:hover .detail-thumb-img {
  transform: scale(1.1);
}

.detail-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.detail-thumb-card:hover .detail-thumb-overlay {
  opacity: 1;
}

.detail-thumb-overlay i {
  color: var(--primary-hover);
  font-size: 1.2rem;
}

/* Attachments/Proofs section in Admin detail */
.detail-attachments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.attachment-row-item {
  border: 1px solid var(--border-glass);
  background: var(--bg-inset);
  padding: 10px 14px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.attachment-row-item:hover {
  border-color: var(--primary-hover);
  background: rgba(29, 78, 216, 0.01);
}

.attachment-row-info {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.attachment-row-info i {
  color: var(--primary-hover);
}

.attachment-name {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Close/Deadline Switch button in Admin Dashboard */
.deadline-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.04);
  border: 1.5px dashed rgba(239, 68, 68, 0.2);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
}

.switch-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-inset);
  border: 1px solid var(--border-glass);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--error);
  border-color: rgba(239, 68, 68, 0.3);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: white;
}

/* ----------------------------------------------------
   LightBox Image / Attachment Document Viewer Modal
   ---------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 3, 8, 0.97);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-content-wrapper {
  max-width: 90%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-caption {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
}

.modal-subcaption {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: -8px;
}

/* ----------------------------------------------------
   Animations
   ---------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

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

/* ----------------------------------------------------
   Responsive Layout Media Queries
   ---------------------------------------------------- */
@media (max-width: 1100px) {
  .admin-content-layout {
    grid-template-columns: 1fr;
  }
  .admin-details-pane {
    position: static;
  }
}

@media (max-width: 990px) {
  .app-container {
    padding: 0 1rem 2rem 1rem;
  }
  .view-switch {
    width: 100%;
    justify-content: center;
  }
  .rules-container {
    grid-template-columns: 1fr;
  }
  .contact-card {
    width: 100%;
  }
  .upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-upload-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .exhibition-title {
    font-size: 1.8rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .category-selector {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container {
    margin-bottom: 2rem;
  }
  .step-label {
    display: none; /* Hide step labels on mobile */
  }
  .step-circle {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .steps-line {
    top: 19px;
  }
}

@media (max-width: 480px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .admin-actions-buttons {
    justify-content: flex-end;
  }
}

/* Administrator profile bar special styling overrides */
.admin-profile-bar {
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 60%), 
    radial-gradient(ellipse at 80% 50%, rgba(43, 92, 191, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, rgba(43, 92, 191, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%),
    rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-profile-bar .user-profile-info i {
  color: var(--warning);
}

/* Horizontal Header Responsive Adaptations */
@media (max-width: 900px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .header-brand {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .logo-divider {
    width: 60px;
    height: 1px;
  }
  .brand-text {
    align-items: center;
  }
}

/* Section-wise stats grid and pill cards */
.section-stats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

.sec-stat-pill {
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.sec-stat-pill:hover {
  border-color: var(--border-glass-active);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.sec-stat-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sec-stat-title i {
  color: var(--primary-hover);
}

.sec-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

@media (max-width: 1200px) {
  .section-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .section-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .section-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   PHASE 2 - ONLINE JUDGING & AWARDING SYSTEM STYLES
   ==================================================== */

/* 1. Admin Tab Switcher */
.admin-tabs-bar {
  display: flex;
  flex-wrap: wrap; /* Wrap cleanly to fit screen */
  gap: 6px;        /* Compact spacing */
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
}
.admin-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem; /* Sleek, highly readable size */
  font-weight: 700;
  padding: 8px 12px;  /* Premium compact padding */
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.admin-tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}
.admin-tab-btn.active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.admin-tab-pane {
  display: none;
  animation: fadeInTab 0.35s ease;
}
.admin-tab-pane.active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2. Judge Dashboard Grid */
.judge-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}
.judge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.judge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: var(--shadow-glow);
}
.judge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--warning));
  opacity: 0.65;
}
.judge-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.judge-card-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.judge-card-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.judge-card-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  border-radius: 3px;
  transition: width 0.4s ease;
}
.judge-card.completed::before {
  background: linear-gradient(90deg, var(--success), #10b981);
}
.judge-card.completed .judge-card-progress-bar {
  background: linear-gradient(90deg, var(--success), #10b981);
}

/* 3. Thumbnail Preview Mode */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 1.5rem;
}
.thumbnail-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.thumbnail-item:hover {
  border-color: var(--primary-hover);
  transform: scale(1.03);
}
.thumbnail-img-wrapper {
  width: 100%;
  height: 140px;
  border-radius: 6px;
  overflow: hidden;
  background: #090b14;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 8px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* 4. Immersive Dark Gallery & Scoring overlay */
.dark-gallery-view {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #090b15;
  z-index: 1000;
  display: flex;
  color: var(--text-main);
}
.dark-gallery-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  position: relative;
  background: #06070a;
}
.dark-gallery-img-wrapper {
  max-width: 98%;
  max-height: 96vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-gallery-img {
  max-width: 100%;
  max-height: 96vh;
  object-fit: contain;
  animation: fadeInImage 0.3s ease;
}

@keyframes fadeInImage {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dark-gallery-header {
  position: absolute;
  top: 10px; left: 15px; right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}
.dark-gallery-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.05em;
  color: #fff;
}
.dark-gallery-sidebar {
  width: 220px;
  background: #111424;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  justify-content: space-between;
  box-sizing: border-box;
  transition: all 0.25s ease;
}
.dark-gallery-sidebar.loading-image {
  pointer-events: none;
  opacity: 0.35;
  filter: blur(1.5px);
}
.grading-panel-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warning);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
  margin-bottom: 0.75rem;
}
.scorepad-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 0.75rem;
}
.btn-score-pad {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-score-pad:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--warning);
  color: var(--warning);
}
.btn-score-pad.active {
  background: var(--warning);
  color: #000;
  border-color: var(--warning);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
.fav-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}
.fav-toggle-btn.is-fav {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}
.fav-toggle-btn i {
  font-size: 0.95rem;
}
.grading-navigation {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jump-to-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.jump-input {
  width: 35px;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  text-align: center;
  outline: none;
  font-size: 0.78rem;
}

/* Keyboard Shortcut Tip Overlay */
.keyboard-shortcuts-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  bottom: 10px;
  left: 15px;
  pointer-events: none;
}

/* 5. Awarding Round Interface elements */
.awarding-maximized {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
  background: #090b14 !important; /* Premium dark background */
  padding: 2rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}
.awarding-card.dragging {
  opacity: 0.4 !important;
  border: 2px dashed var(--warning) !important;
  transform: scale(0.95) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}
.awarding-card.drag-over {
  border: 2px solid var(--warning) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4) !important;
  transform: scale(1.02) !important;
}
.grid-dragging .awarding-card * {
  pointer-events: none !important;
}
.awarding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}
.awarding-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.2s ease;
}
.awarding-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.2);
}
.awarding-img-frame {
  width: 100%;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  background: #090b14;
  position: relative;
}
.awarding-badge-holder {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 5;
}
.award-pill-badge {
  background: #111424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.award-pill-badge.gold { border-color: #ffd700; color: #ffd700; background: rgba(255, 215, 0, 0.08); }
.award-pill-badge.silver { border-color: #c0c0c0; color: #c0c0c0; background: rgba(192, 192, 192, 0.08); }
.award-pill-badge.bronze { border-color: #cd7f32; color: #cd7f32; background: rgba(205, 127, 50, 0.08); }
.award-pill-badge.merit { border-color: #60a5fa; color: #60a5fa; background: rgba(96, 165, 250, 0.08); }

.award-assign-select {
  background: #121528;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.8rem;
  padding: 8px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  width: 100%;
}

/* Side-by-Side Comparison Modal styles */
.comparison-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 8, 15, 0.95);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.comparison-grid-layout {
  flex: 1;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.comparison-slot-card {
  flex: 1;
  height: 80vh;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #090b14;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  justify-content: space-between;
  align-items: center;
}
.comparison-slot-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
}

/* 6. Email Queue Logs Styles */
.email-log-row {
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.email-log-to {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
}
.email-log-subj {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.email-log-status-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}
.email-log-status-badge.sent { background: rgba(16, 185, 129, 0.08); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.email-log-status-badge.failed { background: rgba(239, 68, 68, 0.08); color: var(--error); border: 1px solid rgba(239, 68, 68, 0.2); }
.email-log-status-badge.pending { background: rgba(245, 158, 11, 0.08); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }

/* 7. Printable / PDF Report Card Styles */
.report-card-print-area {
  background: #ffffff;
  color: #1e293b;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.report-card-heading {
  border-bottom: 2px solid #1e293b;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.report-card-grid-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.report-card-grid-table th {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px;
  text-align: left;
}
.report-card-grid-table td {
  border: 1px solid #cbd5e1;
  padding: 10px;
  font-size: 0.82rem;
  color: #334155;
  vertical-align: middle;
}

/* 8. Public Exhibition / Results styles */
.public-gallery-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.results-card-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
}

/* ========================================== */
/* PHASE 2 REFINEMENTS STYLING                */
/* ========================================== */

/* 1. Stages Stepper Styling */
.stages-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.5rem 0;
  gap: 8px;
}
.stage-step {
  flex: 1;
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: var(--transition-smooth);
}
.stage-step.active {
  border-color: var(--warning);
  background: rgba(245, 158, 11, 0.04);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}
.stage-step.completed {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.04);
}
.stage-step.locked {
  opacity: 0.5;
}
.stage-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}
.stage-step.active .stage-icon {
  background: var(--warning);
  color: #000;
}
.stage-step.completed .stage-icon {
  background: var(--success);
  color: #000;
}
.stage-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
}
.stage-status-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}
.stage-step.active .stage-status-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.stage-step.completed .stage-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.stage-arrow {
  color: var(--border-glass);
  font-size: 1.2rem;
}

/* 2. Special Awards slide drawer styling */
.special-awards-drawer {
  position: fixed;
  top: 0;
  right: -480px; /* Hidden by default */
  width: 450px;
  height: 100vh;
  background: #181e36;
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  padding: 1.8rem;
  z-index: 1002;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.special-awards-drawer.open {
  right: 0;
}
.special-awards-drawer .drawer-header h3 {
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Lightbox Navigation Arrow Overlays */
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 12, 26, 0.65) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #a0aec0 !important;
  border-radius: 50% !important;
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.lightbox-arrow:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: var(--warning) !important;
  color: var(--warning) !important;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.lightbox-arrow.prev {
  left: 30px;
}

.lightbox-arrow.next {
  right: 30px;
}

/* Make special award close button look beautiful */
.award-pill-badge.special i {
  transition: color 0.2s ease, transform 0.2s ease;
}
.award-pill-badge.special i:hover {
  color: #ef4444 !important;
  transform: scale(1.15);
}

/* 3. Threshold Analytics Grid styling */
.threshold-analytics-table tbody tr {
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}
.threshold-analytics-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.threshold-analytics-table td {
  padding: 12px 8px;
  vertical-align: middle;
}
.threshold-analytics-table .points-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary-hover);
}
.threshold-analytics-table .badge-active {
  background: var(--success);
  color: #000;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  border: none;
  cursor: default;
}


/* ================================================================ */
/* RESULTS HERO BANNER — Login Page Prominent Gallery CTA           */
/* ================================================================ */

@keyframes heroGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.15), 0 8px 32px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.3), 0 12px 40px rgba(0,0,0,0.5); }
}

@keyframes shimmerSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes trophyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

#results-published-hero {
  opacity: 0;
  transition: opacity 0.4s ease;
  width: 100%;
  max-width: 480px;
}
#results-published-hero.hero-visible {
  opacity: 1;
  animation: heroEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.results-hero-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2744 0%, #2d1a05 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  animation: heroGlow 3s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s;
  width: 100%;
  box-sizing: border-box;
}

.results-hero-banner:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.65);
}

.results-hero-banner:active {
  transform: translateY(0) scale(0.99);
}

.results-hero-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.07) 50%, transparent 70%);
  animation: shimmerSlide 3.5s ease-in-out infinite;
  pointer-events: none;
}

.results-hero-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.results-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--warning);
  flex-shrink: 0;
  animation: trophyPulse 2.5s ease-in-out infinite;
}

.results-hero-text {
  flex: 1;
  text-align: left;
}

.results-hero-eyebrow {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--warning);
  margin-bottom: 3px;
}

.results-hero-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}

.results-hero-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}

.results-hero-arrow {
  color: var(--warning);
  font-size: 1.1rem;
  flex-shrink: 0;
  animation: arrowBounce 1.8s ease-in-out infinite;
}

/* ================================================================ */
/* PUBLIC GALLERY — Section-Based Exhibition Display                 */
/* ================================================================ */

.public-gallery-section {
  margin-bottom: 3.5rem;
}

.public-gallery-section-header {
  margin-bottom: 1.25rem;
}

.public-section-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}

.public-section-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.public-section-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.awarded-pill {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.accepted-pill {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Award Image Cards Grid */
.public-awarded-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .public-awarded-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.public-award-card {
  background: #141828;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s, border-color 0.25s;
}

.public-award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.public-award-card.tier-gold {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 2px 18px rgba(255, 215, 0, 0.08);
}
.public-award-card.tier-gold:hover {
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.2);
}
.public-award-card.tier-silver {
  border-color: rgba(192, 192, 192, 0.3);
}
.public-award-card.tier-silver:hover {
  border-color: rgba(192, 192, 192, 0.55);
  box-shadow: 0 8px 22px rgba(192, 192, 192, 0.12);
}
.public-award-card.tier-bronze {
  border-color: rgba(205, 127, 50, 0.3);
}
.public-award-card.tier-bronze:hover {
  border-color: rgba(205, 127, 50, 0.55);
  box-shadow: 0 8px 22px rgba(205, 127, 50, 0.12);
}
.public-award-card.tier-merit {
  border-color: rgba(77, 139, 240, 0.3);
}
.public-award-card.tier-special {
  border-color: rgba(245, 158, 11, 0.3);
}

.pub-card-img-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0a0c18;
  overflow: hidden;
  cursor: pointer;
}

.pub-card-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}

.pub-card-img-frame:hover img {
  transform: scale(1.06);
}

.pub-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s;
}

.pub-card-img-frame:hover .pub-card-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.3);
}

.pub-card-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pub-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.pub-award-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pub-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}
.pub-silver {
  background: rgba(192, 192, 192, 0.1);
  color: #d0d0d0;
  border: 1px solid rgba(192, 192, 192, 0.3);
}
.pub-bronze {
  background: rgba(205, 127, 50, 0.12);
  color: #cd7f32;
  border: 1px solid rgba(205, 127, 50, 0.3);
}
.pub-merit {
  background: rgba(77, 139, 240, 0.1);
  color: var(--primary-hover);
  border: 1px solid rgba(77, 139, 240, 0.25);
}
.pub-special {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pub-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.pub-card-author {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Accepted Works List */
.public-accepted-section {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  overflow: hidden;
}

.public-accepted-header {
  padding: 9px 16px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(16, 185, 129, 0.05);
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.public-accepted-list {
  display: flex;
  flex-direction: column;
}

.pub-accepted-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
  transition: background 0.15s;
}

.pub-accepted-row:last-child {
  border-bottom: none;
}

.pub-accepted-row:hover {
  background: rgba(255,255,255,0.03);
}

.pub-accepted-rank {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.pub-accepted-title {
  font-weight: 600;
  color: #e2e8f0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pub-accepted-author {
  color: var(--text-muted);
  font-size: 0.73rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.pub-accepted-score {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-hover);
  white-space: nowrap;
  background: rgba(77, 139, 240, 0.08);
  border: 1px solid rgba(77, 139, 240, 0.18);
  padding: 2px 8px;
  border-radius: 10px;
}

@media (max-width: 500px) {
  .pub-accepted-row {
    grid-template-columns: 24px 1fr auto;
  }
  .pub-accepted-author {
    display: none;
  }
}

/* ==========================================================================
   SOOTHING CYBER-TWILIGHT GLASSMORPHIC VISUAL SYSTEM
   Designed for the 46th Salon Edition 2026 - Maximum Performance
   ========================================================================= */

:root {
  /* Soothing Cyber-Twilight Palette Override (Calm yet futuristic) - Lightened Slate-Navy */
  --bg-base: #1e243e;       /* Lightened Slate-Navy Base Background */
  --bg-card: rgba(38, 48, 88, 0.85); /* Lightened premium slate card background */
  --bg-card-hover: rgba(50, 62, 112, 0.95); /* Lightened slate card hover backgrounds */
  --bg-inset: rgba(14, 18, 36, 0.9);   /* Soft indented base background */
  --primary: #7b7df2;       /* Lightened Periwinkle Indigo */
  --primary-hover: #9ea5fc; /* Brighter accent */
  --primary-glow: rgba(155, 165, 252, 0.18);
  --primary-glass: rgba(155, 165, 252, 0.05);
  --border-glass: rgba(255, 255, 255, 0.15); /* More visible borders */
  --border-glass-active: rgba(158, 165, 252, 0.45);
  
  /* Calm, Soft Cyber Highlights (Easy on the eyes) */
  --neon-cyan: #9ea5fc;     /* Soothing Periwinkle Indigo */
  --neon-blue: #b9c1fc;     /* Pastel Twilight Blue */
  --neon-purple: #c895fc;   /* Muted Amethyst Lavender */
  --neon-gold: #fbbf24;     /* Warm Champagne Gold (matches logo) */
  --neon-crimson: #fda4af;  /* Soothing Pastel Rose */
  --neon-green: #34d399;    /* Calm Mint Green */
  --neon-teal: #2dd4bf;     /* Soft Sage Teal */
  
  /* High-Tech Elastic Springs */
  --transition-spring: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.2);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(158, 165, 252, 0.2);
}

/* --- Ambient Space-dust Nebula aura backdrop --- */
.decor-grid {
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(192, 132, 252, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 55%),
    #171c35 !important; /* Lightened ambient backdrop */
  background-size: 200% 200% !important;
  animation: cosmic-aurora 25s ease infinite alternate !important;
}

@keyframes cosmic-aurora {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 100%; }
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 248, 0.15) !important;
  border: 1px solid rgba(129, 140, 248, 0.05) !important;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan) !important;
  box-shadow: 0 0 8px var(--neon-cyan) !important;
}

/* --- Reflective Premium Glassmorphism (Entrant Panel only) --- */
.panel, .glass-panel, .entrant-card, .success-screen, .fee-summary-box, .proof-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: var(--shadow-lg), inset 0 1px 1px rgba(255, 255, 255, 0.04) !important;
  transition: var(--transition-spring) !important;
}

.panel:hover, .glass-panel:hover, .entrant-card:hover, .proof-card:hover {
  border-color: rgba(129, 140, 248, 0.25) !important;
  box-shadow: var(--shadow-lg), var(--shadow-glow) !important;
}

.panel::before {
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent) !important;
  height: 2px !important;
  opacity: 0.6 !important;
}

/* --- Premium Glass Reflection Shine Effect --- */
.panel, .cat-option, .upload-card {
  position: relative !important;
  overflow: hidden !important;
}

.panel::after, .cat-option::after, .upload-card::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent) !important;
  transform: translateX(-100%) skewX(-25deg) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.panel:hover::after, .cat-option:hover::after, .upload-card:hover::after {
  transform: translateX(100%) skewX(-25deg) !important;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* --- Zero-Gravity Floating Hover Effects (Makes entrant panel feel alive) --- */
@keyframes float-lift {
  0% { transform: translateY(-3px) scale(1.015); }
  50% { transform: translateY(-7px) scale(1.015); }
  100% { transform: translateY(-3px) scale(1.015); }
}

.panel:hover, .cat-option.selected, .upload-card:hover, .proof-card:hover {
  animation: float-lift 6s ease-in-out infinite alternate !important;
}

/* --- Elastic Hover Micro-Interactions --- */
.btn, .btn-switch, .admin-tab-btn, .cat-option, .rule-item, .upload-card, .auth-panel-wrapper .panel {
  transition: var(--transition-spring) !important;
}

.btn:hover:not(:disabled), .btn-switch:hover:not(.active), .admin-tab-btn:hover:not(.active) {
  transform: translateY(-2px) scale(1.025) !important;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15) !important;
}

/* --- Soothing Site Header --- */
.header {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%), rgba(32, 38, 69, 0.9) !important;
  border-bottom: 1px solid rgba(158, 165, 252, 0.35) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes header-divider-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header::after {
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-gold), transparent) !important;
  background-size: 200% auto !important;
  animation: header-divider-flow 8s linear infinite !important;
  height: 1px !important;
  opacity: 0.8 !important;
}

@keyframes logo-soft-pulse {
  0% { filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.2)); }
  50% { filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.4)); }
  100% { filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.2)); }
}

.logo-img {
  animation: logo-soft-pulse 4s ease-in-out infinite !important;
}

.society-title {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px rgba(129, 140, 248, 0.25) !important;
}

.exhibition-title {
  background: linear-gradient(135deg, #ffffff 40%, var(--neon-blue) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* --- Soothing Buttons --- */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--neon-cyan) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  border: 1px solid rgba(129, 140, 248, 0.3) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2) !important;
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #ffffff 100%) !important;
  color: #0c102b !important;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35) !important;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}
.btn-secondary:hover {
  border-color: var(--neon-cyan) !important;
  background: rgba(129, 140, 248, 0.05) !important;
  color: var(--neon-cyan) !important;
}

/* --- Glowing Tab Underline highlights --- */
.admin-tab-btn, .btn-switch {
  position: relative !important;
  overflow: hidden !important;
}
.admin-tab-btn.active, .btn-switch.active {
  background: rgba(129, 140, 248, 0.08) !important;
  border: 1px solid rgba(129, 140, 248, 0.25) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 4px 15px rgba(129, 140, 248, 0.12) !important;
}
.admin-tab-btn.active::after, .btn-switch.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 10% !important;
  width: 80% !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 6px var(--neon-cyan) !important;
  border-radius: 2px 2px 0 0 !important;
}

/* --- High-tech Category Selector --- */
.cat-option {
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.cat-option:hover {
  background: rgba(129, 140, 248, 0.02) !important;
  border-color: rgba(129, 140, 248, 0.2) !important;
}
.cat-option.selected {
  background: rgba(129, 140, 248, 0.05) !important;
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.1), inset 0 0 10px rgba(129, 140, 248, 0.03) !important;
}
.cat-option.selected .cat-title {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 6px rgba(129, 140, 248, 0.2) !important;
}

/* --- Image Upload Dropzones & Soothing Scanline --- */
.dropzone, .proof-dropzone {
  position: relative !important;
  overflow: hidden !important;
  background: rgba(5, 8, 22, 0.5) !important;
  border: 2px dashed rgba(255, 255, 255, 0.1) !important;
}
.dropzone::before, .proof-dropzone::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.03) 0%, transparent 100%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s !important;
  pointer-events: none !important;
}
.dropzone:hover::before, .proof-dropzone:hover::before {
  opacity: 1 !important;
}
.dropzone::after, .proof-dropzone::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent) !important;
  box-shadow: 0 0 8px var(--neon-cyan) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.dropzone:hover::after, .proof-dropzone:hover::after {
  opacity: 0.6 !important;
  animation: cyber-scan 4.5s ease-in-out infinite !important;
}
.dropzone:hover, .proof-dropzone:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 8px 25px rgba(129, 140, 248, 0.12) !important;
}
.dropzone:hover .dropzone-icon {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px rgba(129, 140, 248, 0.3) !important;
  transform: translateY(-4px) scale(1.08) !important;
}

@keyframes cyber-scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* --- Uploaded Image Preview Card --- */
.upload-card {
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(10, 15, 36, 0.65) !important;
}
.upload-card:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 10px 25px rgba(129, 140, 248, 0.1) !important;
}
.upload-thumb-container {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.btn-action-delete:hover {
  background: var(--neon-crimson) !important;
  box-shadow: 0 0 8px var(--neon-crimson) !important;
}

/* --- Alerts & Warning terminals --- */
.alert, .contact-card {
  border-left: 4px solid var(--neon-cyan) !important;
  background: rgba(10, 15, 36, 0.55) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(129, 140, 248, 0.03) !important;
}
.contact-card-title {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 6px rgba(129, 140, 248, 0.15) !important;
}

.lock-warning {
  border-left: 4px solid var(--neon-crimson) !important;
  background: rgba(239, 68, 68, 0.06) !important;
  color: #ffb3bf !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(239, 68, 68, 0.03) !important;
}

/* --- Rules Guideline PDF Links --- */
a[href*="Guidelines"] {
  border-left-color: var(--neon-crimson) !important;
  background: rgba(255, 255, 255, 0.01) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-left-width: 4px !important;
}

a[href*="Guidelines"]:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: rgba(129, 140, 248, 0.03) !important;
  border-color: rgba(129, 140, 248, 0.2) !important;
  border-left-color: var(--neon-cyan) !important;
  box-shadow: 0 8px 25px rgba(129, 140, 248, 0.18) !important;
  color: var(--neon-cyan) !important;
}

/* --- Inputs --- */
input, textarea, select {
  background: rgba(22, 28, 54, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.2) !important;
  background: rgba(5, 8, 22, 0.75) !important;
}

/* --- Step Progress Nodes --- */
.step-node.active .step-circle {
  border-color: var(--neon-cyan) !important;
  background: rgba(129, 140, 248, 0.06) !important;
  color: var(--neon-cyan) !important;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.25) !important;
}
.step-node.active .step-label {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 6px rgba(129, 140, 248, 0.15) !important;
}
.step-node.completed .step-circle {
  border-color: var(--neon-green) !important;
  background: var(--neon-green) !important;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.15) !important;
}
.step-node.completed .step-label {
  color: var(--neon-green) !important;
}
.steps-line-fill {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green)) !important;
}

/* --- Live Banner --- */
.demo-banner {
  background: rgba(129, 140, 248, 0.02) !important;
  border: 1px solid rgba(129, 140, 248, 0.15) !important;
  color: var(--neon-cyan) !important;
}

/* --- Rules lists --- */
.rule-item:hover {
  background: rgba(129, 140, 248, 0.01) !important;
  border-color: rgba(129, 140, 248, 0.12) !important;
}

/* ==========================================================================
   JUDGING PANEL & CRITICAL PERFORMANCE SPEED GUARDS
   ========================================================================== */

/* Completely disable intensive backdrop-filters and heavy translations in the scoring/judging zone 
   to ensure instant, hardware-accelerated 120Hz scrolling and grading operations */
#view-judge-dashboard .panel,
#view-judge-dashboard .card, 
#view-judge-dashboard .judging-card,
#view-judge-dashboard .awarding-card,
.judging-card,
.awarding-card,
.submissions-grid .card,
.stat-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #252b4b !important; /* lightened solid color base for flawless frame rendering */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
  transform: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  animation: none !important; /* no layout-shifting hover animations */
}

.judging-card:hover, .awarding-card:hover, #view-judge-dashboard .card:hover, .stat-card:hover {
  transform: translateY(-2px) !important; /* simple micro-translation */
  border-color: var(--neon-gold) !important;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.15) !important;
  animation: none !important;
}

/* --- Exhibition Deadline Config Card & Datetime Picker --- */
.deadline-config-card {
  border-left: 4px solid var(--neon-gold) !important;
  transition: var(--transition-spring) !important;
}
.deadline-config-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  border-left-color: var(--neon-gold) !important;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(251, 191, 36, 0.12) !important;
}
input[type="datetime-local"] {
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  color-scheme: dark !important; /* Forces native browser calendar icon to style in light colors automatically */
}
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(1) !important; /* Make sure calendar icon is clean white */
  cursor: pointer !important;
}

/* ====================================================
   FUTURISTIC CYBERNETIC COUNTDOWN KEYFRAMES
   ==================================================== */
@keyframes scanline-flow {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes border-pulse {
  0% { 
    border-color: rgba(245, 158, 11, 0.25); 
    box-shadow: var(--shadow-lg), 0 0 10px rgba(245, 158, 11, 0.03); 
  }
  100% { 
    border-color: rgba(245, 158, 11, 0.6); 
    box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.12); 
  }
}

@keyframes cyber-blink {
  0% { opacity: 0.35; }
  100% { opacity: 1; }
}

@keyframes colon-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}


