/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg-color: #0d0a0d;                 /* Warm Obsidian Charcoal */
  --panel-bg: rgba(26, 20, 24, 0.8);    /* Deep Mahogany */
  --panel-border: rgba(197, 160, 89, 0.12); /* Brushed Bronze Outline */
  
  --text-main: #f4efe6;                 /* Warm Cream/Ivory */
  --text-muted: #9c9186;                /* Muted Sandstone */
  
  --primary: #c5a059;                   /* Champagne Gold / Brass */
  --primary-glow: rgba(197, 160, 89, 0.25);
  --secondary: #722f37;                 /* Velvet Burgundy */
  --secondary-glow: rgba(114, 47, 55, 0.35);
  
  --accent-gold: #e2c185;
  --success: #859b72;                   /* Sage Green */
  --success-glow: rgba(133, 155, 114, 0.15);
  --warning: #cc8b52;                   /* Warm Amber */
  --error: #b85d56;                     /* Crimson Copper */
  --error-glow: rgba(184, 93, 86, 0.15);
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  --transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img, video, iframe {
  max-width: 100%;
}

body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(114, 47, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(197, 160, 89, 0.04) 0%, transparent 35%);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.6;
}

/* Typography styles */
h1, h2, h3, h4, h5, th, .logo-text, .form-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

/* Glass Panel / Continental Boardroom styling */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-radius: 8px; /* Sharper, more executive look */
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
  transition: var(--transition);
  max-width: 100%;
}

.glass-panel:hover {
  border-color: rgba(197, 160, 89, 0.25);
  box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.7), 0 0 15px rgba(197, 160, 89, 0.05);
}

/* Layout utilities */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  width: 100%;
}

.app-header, header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 0.75rem;
  flex-wrap: nowrap;
  gap: 0.5rem;
}


.logo-text {
  font-size: clamp(1.15rem, 4.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: linear-gradient(135deg, var(--accent-gold) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
}

/* Navigation Links */
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(197, 160, 89, 0.08);
}

/* Form Controls */
.input-field {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  background: rgba(0, 0, 0, 0.6);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a37f3a 100%);
  color: #1a1418;
  font-weight: 600;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--panel-border);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(197, 160, 89, 0.05);
}

/* Search Engine Grid Layout */
.search-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-gap: 2.5rem;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
}

/* Models Roster Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  width: 100%;
}

/* Tags & Filters */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--panel-border);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.tag-badge:hover {
  background: var(--primary);
  color: #1a1418;
  border-color: var(--primary);
}

.tag-badge.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Animations */
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

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

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Spinner animation for progress loader */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spinner-dots {
  display: inline-block;
  animation: spin 1.5s linear infinite;
}

/* Responsive Search Grid & Sidebar Layout */
.search-layout-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
  width: 100%;
}

.search-sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  width: 100%;
}

.filter-sidebar-panel {
  padding: 1.15rem 1.15rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  box-sizing: border-box;
  overflow: hidden;
}

.filter-categories-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 0.35rem;
  min-height: 150px;
}

/* Custom scrollbar for category list */
.filter-categories-scroll::-webkit-scrollbar {
  width: 4px;
}
.filter-categories-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.filter-categories-scroll::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.25);
  border-radius: 4px;
}
.filter-categories-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 160, 89, 0.5);
}

/* Gold Luxury Range Sliders */
.gold-range-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  outline: none;
  transition: all 0.2s ease;
}
.gold-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #1a1418;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(197, 160, 89, 0.6);
  -webkit-transition: transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gold-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.9);
}
.gold-range-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #1a1418;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(197, 160, 89, 0.6);
}

@media (max-width: 1024px) {
  .search-layout-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hide-on-mobile-layout {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .show-on-mobile-layout {
    display: none !important;
  }
}


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

.shimmer-bg {
  background: linear-gradient(
    90deg,
    rgba(114, 47, 55, 0.1) 25%,
    rgba(197, 160, 89, 0.2) 37%,
    rgba(114, 47, 55, 0.1) 63%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite linear;
}

.refresh-button:hover {
  background: rgba(197, 160, 89, 0.25) !important;
  color: #ffffff !important;
  transform: scale(1.08);
}

.refresh-button:active {
  transform: scale(0.92);
}

@keyframes borderGlow {
  0% {
    outline-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
  }
  50% {
    outline-color: rgba(197, 160, 89, 1);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.8);
  }
  100% {
    outline-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
  }
}

.highres-loading-border {
  outline: 3px solid rgba(197, 160, 89, 0.6);
  outline-offset: -3px;
  animation: borderGlow 1.5s infinite ease-in-out;
  border-radius: 4px;
}

/* Creator Page Responsive Utilities */
.creator-section-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.creator-card-padding {
  padding: 2.5rem;
}

@media (max-width: 600px) {
  .hide-on-mobile {
    display: none !important;
  }
  .show-on-mobile {
    display: inline !important;
  }
}

@media (min-width: 601px) {
  .show-on-mobile {
    display: none !important;
  }
  .hide-on-mobile {
    display: inline !important;
  }
}

/* Narrow & Ultra-Narrow Mobile Viewport Optimization (down to 360px) */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem !important;
  }
  header {
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.75rem !important;
  }
  .logo-text {
    font-size: 1.5rem !important;
  }
  .search-layout-grid {
    gap: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
  .creator-section-container {
    gap: 1.25rem !important;
  }
  .creator-card-padding {
    padding: 1.25rem 0.75rem !important;
  }
  .creator-hero-title {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0.75rem 0.35rem !important;
  }
  .logo-text {
    font-size: 1.3rem !important;
  }
  .models-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .creator-section-container {
    gap: 1rem !important;
  }
  .creator-card-padding {
    padding: 1rem 0.6rem !important;
  }
  .creator-hero-title {
    font-size: 1.35rem !important;
  }
}

/* Admin Scraper Dashboard Executive Grid & Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.stat-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.stat-lbl {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

.stat-card-split {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-bottom: 1.25rem;
  text-align: center;
}

.stat-card-divider {
  width: 1px;
  height: 38px;
  background: var(--panel-border);
}

.stat-lbl-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.stat-val-sub {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1;
  color: var(--text-main);
}

.stat-card-footer {
  font-size: 0.82rem;
  text-align: center;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--panel-border);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.stat-footer-divider {
  width: 1px;
  height: 12px;
  background: var(--panel-border);
}

.form-section {
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.input-text {
  flex: 1 1;
  min-width: 200px;
  padding: 0.8rem 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.input-text:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  background: rgba(0, 0, 0, 0.6);
}

/* Admin Data Tables & Badge Status Pills */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--panel-border);
  background: rgba(13, 10, 13, 0.4);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  font-family: var(--font-sans);
}

.data-table th {
  background: rgba(197, 160, 89, 0.08);
  color: var(--primary);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--panel-border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.08);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(197, 160, 89, 0.04);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Badge Status Indicators */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.completed, .badge.success {
  background: rgba(133, 155, 114, 0.15);
  color: var(--success);
  border: 1px solid rgba(133, 155, 114, 0.3);
}

.badge.failed, .badge.error {
  background: rgba(184, 93, 86, 0.15);
  color: var(--error);
  border: 1px solid rgba(184, 93, 86, 0.3);
}

.badge.running, .badge.processing, .badge.queued {
  background: rgba(197, 160, 89, 0.15);
  color: var(--primary);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.queue-cancel-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.queue-cancel-btn:hover {
  color: var(--error);
}

@keyframes spin-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-icon {
  display: inline-block;
  animation: spin-rotate 0.8s linear infinite;
}

.header-login-btn {
  background: #c5a059;
  border: none;
  color: #050508;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
  .container {
    padding: 0.4rem 0.65rem !important;
  }
  .app-header, header {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.35rem !important;
  }
  .search-layout-grid {
    gap: 0.25rem !important;
    margin-bottom: 0.5rem !important;
  }
  .header-login-btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.725rem !important;
    letter-spacing: 0.5px !important;
  }
}




@media (min-width: 641px) {
  .show-on-mobile {
    display: none !important;
  }
}

.floating-feedback-btn {
  position: fixed;
  bottom: 1.25rem;
  z-index: 900;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  white-space: nowrap !important;
  background: #0d0e15;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: #c5a059;
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  line-height: 1;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease, border-color 0.2s ease;
}

.floating-feedback-btn:hover {
  transform: translateY(-2px);
  border-color: #c5a059;
}

.floating-feedback-btn svg {
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.floating-feedback-btn span {
  display: inline-block !important;
  line-height: 1 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.notifications-popover {
  position: absolute;
  top: 115%;
  right: 0;
  z-index: 999;
  background: #0d0e15;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 8px;
  width: 320px;
  max-width: calc(100vw - 1.5rem);
  max-height: 450px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (max-width: 640px) {
  .notifications-popover {
    position: fixed !important;
    top: 54px !important;
    left: 0.75rem !important;
    right: 0.75rem !important;
    width: auto !important;
    max-width: none !important;
  }
}





