/* =========================
   Variables
   ========================= */
:root {
  --color-bg: #F0F2F5;
  --color-card: #FFFFFF;
  --color-border: #D0D0D0;
  --color-text: #2D2D2D;
  --color-text-muted: #64748B;
  --color-label: #2D2D2D;
  --color-link: #1F4377;
  --color-btn-login: #214A70;
  --form-radius: 30px;
  --form-border: 1.33px;
}

/* =========================
   Global
   ========================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  min-height: 100vh;
}

/* =========================
   Login Page
   ========================= */
.login-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.login-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 3.5rem;
}

/* =========================
   Left Column - Welcome + Form
   ========================= */
.login-left {
  max-width: 430px;
}

.welcome-heading,
.register-heading {
  font-size: 47px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.register-heading {
  font-size: 40px;
}

.welcome-subheading,
.register-subheading {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0 0 1rem 0;
}

.register-subheading {
  font-size: 13px;
  margin-bottom: 0.5rem;
}

/* Form card: white, radius 36px, border 1.33px */
.form-card {
  background: var(--color-card);
  border: var(--form-border) solid var(--color-border);
  border-radius: var(--form-radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Intro text inside form card (e.g. forgot password) */
.form-card-intro {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem 0;
}

/* Forgot page: heading size */
.forgot-page .welcome-heading {
  font-size: 45px;
}

/* Reset page: heading size */
.reset-page .welcome-heading {
  font-size: 40px;
}

/* Reset page: no gap between form and illustration columns */
.reset-page .reset-page-row {
  --bs-gutter-x: 0;
}

/* Password requirements list (reset password form) */
.password-requirements {
  margin: 0.55rem 0 0 0;
  padding-left: 1.05rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  list-style: disc;
}

.password-requirements li {
  margin-bottom: 0.25rem;
}

.login-form .form-label {
  color: var(--color-label);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.login-form .form-control {
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.3rem 0.5rem;
  background: #FFFFFF;
}

.login-form .form-control:focus {
  border-color: var(--color-link);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Password field with eye icon */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-control {
  padding-right: 2.75rem;
}

.btn-toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.eye-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Remember me + Forget password */
.forget-link {
  color: var(--color-link);
  text-decoration: none;
  font-size: 0.9375rem;
}

.forget-link:hover {
  text-decoration: underline;
  color: var(--color-link);
}

.form-check-label {
  color: var(--color-label);
  font-size: 0.9375rem;
}

/* Login button */
.btn-login {
  background-color: var(--color-btn-login);
  color: #FFFFFF;
  border: none;
  border-radius: 0.375rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.btn-login:hover {
  background-color: #1a3d5c;
  color: #FFFFFF;
}

/* Or Sign in with divider */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.divider span {
  flex-shrink: 0;
}

/* Social buttons */
.btn-social {
  background-color: #D0D0D0;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  color: var(--color-label);
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
}

.btn-social:hover {
  background: #F8F9FA;
  border-color: var(--color-border);
  color: var(--color-label);
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Register link */
.register-text {
  font-size: 0.9375rem;
}

.register-text a {
  color: var(--color-link);
  text-decoration: none;
}

.register-text a:hover {
  text-decoration: underline;
  color: var(--color-link);
}

/* =========================
   Right Column - Illustration
   ========================= */
.illustration-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 700px;
}

.illustration-img {
  /* margin-top: 120px; */
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* =========================
   Responsive
   ========================= */
@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 auto;
    width: 46%;
  }
}

@media (max-width: 991.98px) {
  .login-page {
    padding: 2rem 0 3rem;
  }

  .login-left {
    max-width: 100%;
    margin: 0 auto;
  }

  .welcome-heading {
    font-size: 2rem;
    text-align: center;
  }

  .welcome-subheading {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .form-card {
    margin: 0 auto;
    padding: 2rem 1.5rem;
  }

  .illustration-wrap {
    max-height: 280px;
  }

  .illustration-img {
    max-height: 320px;
  }
}

@media (max-width: 575.98px) {
  .welcome-heading {
    font-size: 1.75rem;
  }

  .illustration-wrap {
    max-height: 280px;
  }

  .illustration-img {
    margin-top: 0px;
  }

  .form-card {
    padding: 1.5rem 1rem;
  }
}

/* =========================
   Register Page
   ========================= */
.register-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.register-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.register-left {
  max-width: 480px;
}


/* Register form uses same .form-card, .form-label, .form-control */
.register-form .form-label {
  color: var(--color-label);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.register-form .form-control {
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.3rem 0.5em;
  background: #FFFFFF;
}

.register-form .form-control:focus {
  border-color: var(--color-link);
  box-shadow: 0 0 0 0.2rem rgba(31, 67, 119, 0.15);
}

/* Terms checkbox label with inline links */
.terms-label {
  color: var(--color-label);
  font-size: 0.9375rem;
  font-weight: 400;
}

.terms-label a {
  color: var(--color-link);
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
  color: var(--color-link);
}

/* Create Account button */
.btn-register {
  background-color: var(--color-btn-login);
  color: #FFFFFF;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.btn-register:hover {
  background-color: #1a3d5c;
  color: #FFFFFF;
}

/* Already have account? Login */
.login-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.login-text a {
  color: var(--color-link);
  text-decoration: none;
}

.login-text a:hover {
  text-decoration: underline;
  color: var(--color-link);
}

/* Register page responsive */
@media (max-width: 991.98px) {
  .register-page {
    padding: 2rem 0 3rem;
  }

  .register-left {
    max-width: 100%;
    margin: 0 auto;
  }

  .register-heading {
    font-size: 2rem;
    text-align: center;
  }

  .register-subheading {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .register-page .form-card {
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .register-heading {
    font-size: 1.75rem;
  }

  .register-page .form-card {
    padding: 1.5rem 1rem;
  }

  .register-container,
  .login-container {
    padding: 0 1rem;
  }
}

/* =========================
   Terms of Service Page
   ========================= */
.terms-page {
  background: #FFFFFF;
}

.terms-header {
  border-bottom: 1px solid #E5E7EB;
  padding: 1rem 2rem;
}

.terms-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.terms-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: #2D2D2D;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}

.terms-logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-logo-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6B7280;
}

.terms-logo-icon {
  display: inline-flex;
  color: #2D2D2D;
}

.terms-logo-icon svg {
  display: block;
}

.terms-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.terms-nav>a {
  color: #4B5563;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.terms-nav>a:hover {
  color: #2D2D2D;
}

.terms-pill {
  display: inline-flex;
  align-items: center;
  background: #214A70;
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  gap: 0.25rem;
}

.terms-pill a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.terms-pill a:hover {
  color: #FFFFFF;
}

.terms-pill a.active {
  background: rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}


.terms-title {
  font-size: 70px;
  font-weight: 700;
  color: #2D2D2D;
  text-align: center;
  margin: 0 0 0.5rem 0;
}

.terms-subtitle {
  font-size: 30px;
  color: #6A7282;
  text-align: center;
  margin: 0 0 2.5rem 0;
  font-weight: 500;
  width: 1000px;
  height: 70px;
}

.terms-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.terms-sidebar {
  flex: 0 0 350px;
  background: #E8EDF4;
  border-radius: 30px;
  padding: 1.5rem 0rem;
}

.terms-sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: #1F4377;
  margin: 0 0 1.8rem 0;
  margin-left: 60px;
}

.terms-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.terms-sidebar-nav a {
  color: #64748B;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 15px 0rem;
  padding-left: 60px;
}

.terms-sidebar-nav a:hover {
  background: #E8EDF4;
}

.terms-sidebar-nav a.active {
  background: #1F4377;
  color: #FFFFFF;
  margin-left: 5px;
}

.terms-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.terms-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 34px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-left: 1rem;
  margin-right: 4rem;
}



.terms-card-title {
  font-size: 28px;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0 0 0.75rem 1rem;
}

.terms-card p,
.terms-card ul {
  font-size: 17px;
  color: #6A7282;
  line-height: 44px;
  margin: 0 0 0.75rem 0;
}

.terms-card ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.terms-card ul li {
  margin-bottom: 0.35rem;
}

.terms-card ul li:last-child {
  margin-bottom: 0;
}

.terms-card p:last-child {
  margin-bottom: 0;
}

.terms-card a {
  color: var(--color-link);
  text-decoration: none;
}

.terms-card a:hover {
  text-decoration: underline;
}

.terms-warning-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: #FCE3C9;
  border: 1px solid #FCD34D;
  border-radius: 25px;
}

.terms-warning-icon {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  background: url("./images/icons/warning.png") center/contain no-repeat;
  background-color: #FDEEDF;
  border-radius: 50%;
  padding: 15px;
}

.terms-warning-box p {
  font-size: 13px;
  color: #92400E;
  margin: 0;
}

/* Policy pages: list with green checkmarks */
.terms-list-check {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0 0;
}

.terms-list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.terms-list-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 22px;
  height: 22px;
  background: url("./images/icons/tick.png") center/contain no-repeat;
}

/* Policy pages: numbered list */
.terms-list-numbered {
  padding-left: 1.25rem;
  margin: 0.75rem 0 0 0;
}

.terms-list-numbered li {
  margin-bottom: 1rem;
}

/* Policy pages: contact / DMCA box */
.terms-contact-box {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #F1F5F9;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.terms-contact-box p {
  margin: 0.25rem 0;
  font-size: 17px;
  color: #6A7282;
  line-height: 1.5;
}

.terms-contact-box p:first-child {
  margin-top: 0;
}

.terms-contact-box a {
  color: var(--color-link);
}

/* Policy pages: plain list (no bullets style) */
.terms-list-plain {
  list-style: none;
  padding-left: 0;
}

.terms-list-plain li {
  margin-bottom: 0.75rem;
}

/* Cookie preferences: toggle rows */
.terms-prefs {
  margin-top: 1rem;
}

.terms-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.terms-pref-row:last-of-type {
  border-bottom: none;
}

.terms-pref-row>div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.terms-pref-desc {
  font-size: 0.9rem;
  color: #6A7282;
  font-weight: 400;
}

/* Toggle switch */
.terms-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.terms-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.terms-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  border-radius: 26px;
  transition: 0.3s;
}

.terms-toggle-slider::before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.terms-toggle input:checked+.terms-toggle-slider {
  background-color: #1F4377;
}

.terms-toggle input:checked+.terms-toggle-slider::before {
  transform: translateX(22px);
}

.terms-toggle input:disabled+.terms-toggle-slider {
  opacity: 0.8;
  cursor: not-allowed;
}

.terms-toggle input:focus+.terms-toggle-slider {
  box-shadow: 0 0 0 2px rgba(31, 67, 119, 0.3);
}

/* Save Preferences button */
.terms-prefs-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}

.btn-terms-primary {
  background-color: #1F4377;
  color: #FFFFFF;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.btn-terms-primary:hover {
  background-color: #16335c;
  color: #FFFFFF;
}

/* Privacy: transparency / info box */
.terms-info-box {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: #E8EDF4;
  border-radius: 16px;
  border: 1px solid #D1DAE8;
}

.terms-info-box p {
  margin: 0;
  font-size: 17px;
  color: #C7D2FE;
  line-height: 1.6;
}

/* Privacy: two-column info blocks */
.terms-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.terms-info-block {
  padding: 1.25rem 1.5rem;
  background: #F3F4F6;
  border-radius: 16px;
  border: 1px solid #D1DAE8;
}

.terms-info-block strong {
  display: block;
  font-size: 1rem;
  color: #2D2D2D;
  margin-bottom: 0.5rem;
}

.terms-info-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6A7282;
  line-height: 1.5;
}

/* =========================
   Policy pages responsive
   (Terms, Copyright, Privacy, Cookie)
   ========================= */
@media (max-width: 991.98px) {
  .terms-header {
    padding: 0.75rem 1rem;
  }

  .terms-header-inner {
    gap: 0.75rem;
  }

  .terms-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .terms-subtitle {
    font-size: 1.25rem;
    width: 100%;
    max-width: 90%;
    height: auto;
    margin: 0 auto 2rem;
    padding: 0 1rem;
  }

  .terms-page main>div:first-of-type {
    margin: 2.5rem 0 !important;
    padding: 0 1rem;
  }

  .terms-layout {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem 2rem;
  }

  .terms-sidebar {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.25rem;
  }

  .terms-sidebar-title {
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .terms-sidebar-nav a {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .terms-content {
    margin-top: 0;
    width: 100%;
  }

  .terms-card {
    margin-left: 0;
    margin-right: 0;
  }

  .terms-card-title {
    font-size: 1.5rem;
    margin-left: 0;
  }

  .terms-card p,
  .terms-card ul {
    font-size: 1rem;
    line-height: 1.6;
  }

  .terms-card:not(.terms-card-first) {
    height: auto;
    min-height: 0;
  }

  .terms-info-grid {
    grid-template-columns: 1fr;
  }

  .terms-pref-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .terms-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .terms-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .terms-pill {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .terms-title {
    font-size: 2rem;
  }

  .terms-subtitle {
    font-size: 1.125rem;
    max-width: 100%;
  }

  .terms-page main>div:first-of-type {
    margin: 1.5rem 0 !important;
  }

  .terms-layout {
    padding: 0 0.75rem 1.5rem;
  }

  .terms-sidebar-title {
    font-size: 0.875rem;
  }

  .terms-sidebar-nav a {
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
  }

  .terms-card-title {
    font-size: 1.25rem;
  }

  .terms-card {
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }

  .terms-contact-box,
  .terms-info-box,
  .terms-info-block {
    padding: 1rem 1.25rem;
  }

  .terms-info-block strong {
    font-size: 0.9375rem;
  }
}

@media (max-width: 575.98px) {
  .terms-header {
    padding: 0.5rem 0.75rem;
  }

  .terms-logo {
    font-size: 1rem;
  }

  .terms-logo-tagline {
    font-size: 0.6875rem;
  }

  .terms-nav>a {
    font-size: 0.8125rem;
  }

  .terms-pill a {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
  }

  .terms-title {
    font-size: 1.5rem;
  }

  .terms-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .terms-page main>div:first-of-type {
    margin: 1rem 0 !important;
  }

  .terms-layout {
    gap: 1rem;
    padding: 0 0.5rem 1rem;
  }

  .terms-sidebar {
    padding: 0.75rem 1rem;
    border-radius: 16px;
  }

  .terms-sidebar-title {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }

  .terms-sidebar-nav {
    gap: 0.25rem;
  }

  .terms-sidebar-nav a {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }

  .terms-card-title {
    font-size: 1.125rem;
  }

  .terms-card {
    padding: 1rem 0.75rem;
    border-radius: 16px;
  }

  .terms-card p,
  .terms-card ul {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .terms-warning-box {
    padding: 0.75rem 1rem;
    border-radius: 12px;
  }

  .terms-warning-box p {
    font-size: 0.8125rem;
  }

  .terms-contact-box,
  .terms-info-box {
    padding: 0.75rem 1rem;
  }

  .terms-info-block {
    padding: 0.75rem 1rem;
  }

  .terms-info-block p {
    font-size: 0.875rem;
  }

  .terms-pref-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .terms-prefs-actions {
    margin-top: 1rem;
    width: 100%;
    justify-content: stretch;
  }

  .btn-terms-primary {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* =========================
   Jury Dashboard
   ========================= */
.jury-dashboard-page {
  background-color: #F5F5F7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top app header */
.jury-top-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.jury-top-header-inner {
  max-width: 1600px;
  margin-left: 0.5rem;
  padding: 0.5rem 0 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.jury-sidebar-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #1F4377;
}

.jury-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #1F4377;
  font-weight: 700;
  font-size: 1.125rem;
}

.jury-logo {
  height: 54px;
  object-fit: contain;
}

.jury-brand-text {
  white-space: nowrap;
}

.jury-top-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jury-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #1F4377;
}

.jury-header-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.jury-user-menu {
  position: relative;
}

.jury-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.6rem;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.jury-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.jury-user-name {
  font-weight: 500;
  color: #1F4377;
}

.jury-chevron {
  width: 14px;
  height: 14px;
}

/* App layout: sidebar + main */
.jury-app-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  min-width: 0;
}

.jury-app-layout>main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Sidebar */
.jury-sidebar {
  width: 300px;
  height: 900px;
  flex-shrink: 0;
  background-color: #FFFFFF;
  border-right: 1px solid var(--color-border);
  padding: 0.5rem 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.jury-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.jury-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  color: #92929D;
  font-size: 0.9375rem;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'Poppins';

  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
  margin: 0 1rem;
}

.jury-nav-item:hover {
  background-color: #F0F4F9;
  color: #1F4377;
}

.jury-nav-item-active {
  color: #fff;
  background-color: #1F4377;
  margin: 0 1rem;
  border-radius: 13px;
}

.jury-nav-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.jury-sidebar-footer {
  margin-top: 12rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.jury-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.jury-sidebar-overlay.jury-sidebar-overlay-visible {
  display: block;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .jury-sidebar-overlay.jury-sidebar-overlay-visible {
    display: block;
  }

  .jury-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .jury-sidebar.jury-sidebar-open {
    transform: translateX(0);
  }

  .jury-app-layout {
    padding-left: 0;
  }
}

.jury-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
}

/* Primary dark text #1A2B42 per design; buttons #1F4377 */
.jury-title,
.jury-section-title,
.jury-assignment-title,
.jury-activity-title,
.jury-notification-title {
  color: #1A2B42;
}

.jury-stat-value,
.jury-progress-value {
  color: #1A2B42;
}

.jury-header {
  padding: 2.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background-color: #fff;
  border-bottom: 2px solid #E8E8E8;
}

.jury-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 45%;
}

.jury-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.jury-subtitle {
  color: #64748B;
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0;
}

.jury-header-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.jury-date-wrap {
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
  width: 20%;
  white-space: nowrap;
}

.jury-date-icon {
  position: relative;
  top: -2px;
  left: 10px;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.jury-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Buttons: bg #1F4377, text white */
.btn-jury-primary {
  background-color: #1F4377 !important;
  color: #FFFFFF !important;
  border: none;
  padding: 1rem 1rem;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.jury-assignment-footer .btn-jury-primary {
  padding: 0.5rem 1rem;
  border-radius: 15px;
  width: 170px;
}

.btn-jury-primary:hover {
  background-color: #1a3863 !important;
  color: #FFFFFF !important;
}

.btn-arrow-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* Stat cards – circular icon on top, then value, then label */
.jury-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

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

.jury-stat-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 150px;
}

.jury-stat-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 20%;
  background-color: #1F437715;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.jury-stat-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.jury-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.jury-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.jury-welcome {
  border-radius: 20px;
  padding: 2.25rem 3.5rem;
  margin-bottom: 2.5rem;
  background: #DEE2F2;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.jury-welcome-left {
  width: 45%;
  min-width: 0;
}

.jury-welcome-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A2B42;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.jury-welcome-subhead {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

.jury-welcome-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.jury-welcome-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.jury-welcome-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1F4377;
  display: block;
  line-height: 1.2;
}

.jury-welcome-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0;
  line-height: 1.3;
}

.jury-content-block {
  width: 100%;
}

.jury-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.jury-assignments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 767.98px) {
  .jury-assignments {
    grid-template-columns: 1fr;
  }
}

.jury-assignment-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 350px;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.jury-assignment-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  justify-content: space-evenly;
  padding: 1.25rem;
}

.jury-assignment-card .jury-assignment-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A2B42;
  line-height: 1.3;
  width: 80%;
}

.jury-assignment-card .jury-tags {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.jury-tag {
  background: #E8EDF4;
  color: #1A2B42;
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
  width: fit-content;
}

.jury-assignment-card .jury-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.jury-assignment-divider {
  border: 1px solid var(--color-border);
  margin: 1rem 0;
}

.jury-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.jury-meta-img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
}

.jury-assignment-card .jury-progress-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.jury-progress-label-text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.jury-progress-wrap {
  margin-bottom: 0;
}

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

.jury-progress {
  height: 8px;
  border-radius: 15px;
  background: #E8EEF4;
}

.jury-progress .progress-bar {
  background-color: #1F4377;
  border-radius: 15px;
}

.jury-progress-bar-37 {
  width: 37.5%;
}

.jury-progress-bar-33 {
  width: 33.33%;
}

.jury-progress-bar-73 {
  width: 72.9%;
}

.jury-progress-bar-63 {
  width: 63%;
}

.jury-assignment-card .jury-progress-fraction {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A2B42;
}

.jury-remaining {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.jury-progress-lg {
  height: 10px;
}

.jury-progress-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jury-progress-card-body {
  padding: 1.5rem;
}

.jury-progress-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
  .jury-progress-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jury-progress-metric {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.jury-progress-card .jury-progress-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #1F4377;
  margin-bottom: 0.25rem;
}

.jury-progress-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.jury-progress-card .jury-progress-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
  width: 50%;
}

.jury-progress-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.jury-overall-progress-block {
  width: 100%;
  margin-bottom: 1.5rem;
}

.jury-overall-progress-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A2B42;
  margin-bottom: 0.5rem;
}

.jury-overall-progress-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jury-overall-progress-row .progress {
  flex: 1;
  height: 20px;
}

.jury-overall-progress-pct {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F4377;
  flex-shrink: 0;
}

.jury-progress-details {
  display: flex;
  flex-wrap: wrap;
  gap: 13rem;
  align-items: flex-start;
}

.jury-progress-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.7rem;
  margin-bottom: 1rem;
}

.jury-progress-detail-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.jury-progress-detail-value {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1F4377;
  margin-bottom: 0.15rem;
}

.jury-progress-detail-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Recent Activity: single card, two items */
.jury-activity-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jury-activity-card-body {
  padding: 0;
}

.jury-activity-item {
  padding: 1.25rem 1.5rem;
}

.jury-activity-item-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.jury-activity-score-squircle {
  width: 80px;
  height: 80px;
  min-width: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E8EDF4 8%, #1F4377 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jury-activity-score-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
}

.jury-activity-content {
  flex: 1;
  min-width: 0;
}

.jury-activity-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.jury-activity-title {
  font-weight: 600;
  color: #1A2B42;
  font-size: 0.9375rem;
}

.jury-activity-time {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.jury-activity-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.jury-activity-content .jury-score-btn {
  margin-top: 0.5rem;
  background-color: #1F4377;
  color: #FFFFFF;
  border: none;
  border-radius: 20px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.jury-activity-content .jury-score-btn:hover {
  background-color: #1a3863;
  color: #FFFFFF;
}

.jury-activity-comment {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #1A2B42;
  margin-top: 0.5rem;
}

.jury-comment-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.jury-activity-divider {
  height: 1px;
  background: var(--color-border);
}

/* Filter Tabs */
.jury-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.jury-filter-tab {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A2B42;
  background: #E8EDF4;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.jury-filter-tab:hover {
  background: #d0d8e8;
  color: #1A2B42;
}
.jury-filter-tab-active {
  background: #1F4377;
  color: #fff;
}
.jury-filter-tab-active:hover {
  background: #1a3863;
  color: #fff;
}

.jury-badge-new {
  background-color: #1F4377 !important;
  color: #FFFFFF !important;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

/* Notifications */
.jury-notifications-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jury-notifications-card-body {
  padding: 0;
}

.jury-notification {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  align-items: flex-start;
}

.jury-notification-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jury-notification-icon-assignment {
  background-color: #DBEAFE;
}

.jury-notification-icon-reminder {
  background-color: #FCE7F3;
}

.jury-notification-icon-system {
  background-color: #E5E7EB;
}

.jury-notification-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.jury-notification-content {
  flex: 1;
  min-width: 0;
}

.jury-notification-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.jury-notification-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1A2B42;
}

.jury-notification-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #1F4377;
  flex-shrink: 0;
}

.jury-notification-text {
  font-size: 0.8125rem;
  color: #1A2B42;
  margin: 0.2rem 0 0 0;
  line-height: 1.4;
}

.jury-notification-time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.jury-notification-divider {
  height: 1px;
  background: var(--color-border);
}

.jury-notification-link {
  display: block;
  padding: 1rem 1.25rem;
  color: #1F4377;
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
}

.jury-notification-link:hover {
  color: #1a3863;
}

.jury-dashboard {
  background-color: #F5F5F7;
  overflow-x: hidden;
}

.jury-dashboard-inner {
  flex: 1 1 auto;
  padding: 1.5rem 3rem;
}

.jury-header {
  flex-shrink: 0;
}

.jury-footer {
  flex-shrink: 0;
}

.jury-notifications-header {
  margin-bottom: 2rem;
}

/* =========================
   Jury Dashboard – Responsive
   ========================= */
@media (max-width: 1199.98px) {
  .jury-dashboard-inner {
    padding: 1.25rem 2rem;
  }

  .jury-assignments {
    justify-content: center;
  }

  .jury-assignment-card {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .jury-dashboard-inner {
    padding: 1.25rem 1.5rem;
  }

  .jury-header {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.50rem 1rem;
  }

  .jury-header-text {
    max-width: 100%;
  }

  .jury-title {
    font-size: 1.25rem;
  }

  .jury-subtitle {
    font-size: 0.875rem;
  }

  .jury-date-wrap {
    order: 3;
    width: 100%;
    padding-top: 0;
    justify-content: flex-start;
  }

  .jury-welcome {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }

  .jury-welcome-left {
    width: 100%;
  }

  .jury-welcome-headline {
    font-size: 1.125rem;
  }

  .jury-welcome-subhead {
    font-size: 0.8125rem;
  }

  .jury-welcome-stats {
    width: 100%;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .jury-welcome-stat {
    align-items: flex-start;
    text-align: left;
  }

  .jury-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .jury-stat-card {
    width: 100%;
    max-width: none;
    padding: 1.25rem 1rem;
  }

  .jury-content-block {
    margin-bottom: 0.5rem;
  }

  .jury-content-block .jury-section-title {
    margin-bottom: 1rem;
  }

  .jury-assignments {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 1.25rem;
  }

  .jury-assignment-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 300px;
  }

  .jury-section-title.mt-4 {
    margin-top: 1.75rem !important;
  }

  .jury-progress-details {
    flex-direction: column;
    gap: 0.75rem;
  }

  .jury-activity-item {
    padding: 1.125rem 1.25rem;
  }

  .jury-activity-item-inner {
    gap: 1rem;
  }

  .jury-activity-score-squircle {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .jury-activity-score-num {
    font-size: 1.35rem;
  }

  .jury-notification {
    padding: 1rem 1.25rem;
  }

  .jury-notifications-header {
    margin-bottom: 1.25rem;
  }

  .row.g-4.mt-2 {
    margin-top: 1.5rem !important;
  }

  .row.g-4.mt-2 .col-lg-5,
  .row.g-4.mt-2 .col-lg-7 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .jury-dashboard-inner {
    padding: 1.25rem 1.25rem;
  }

  .jury-header {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .jury-header-text {
    gap: 0.35rem;
  }

  .jury-header-meta {
    width: 100%;
  }

  .jury-header-meta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    min-height: 44px;
  }

  .jury-date-wrap {
    font-size: 0.875rem;
  }

  .jury-title {
    font-size: 1.5rem;
  }

  .jury-subtitle {
    font-size: 0.875rem;
  }

  .jury-welcome {
    padding: 1.25rem 1.25rem;
    margin-bottom: 1.5rem;
    gap: 1.25rem;
  }

  .jury-welcome-headline {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .jury-welcome-subhead {
    font-size: 0.8125rem;
  }

  .jury-welcome-num {
    font-size: 1.875rem;
  }

  .jury-welcome-label {
    font-size: 0.875rem;
  }

  .jury-section-title {
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
  }

  .jury-assignment-card .card-body {
    padding: 1.125rem;
  }

  .jury-assignment-card .jury-assignment-title {
    font-size: 0.9375rem;
    word-wrap: break-word;
  }

  .jury-assignment-footer .btn {
    min-height: 44px;
    padding: 0.6rem 1rem;
  }

  .jury-progress-card-body {
    padding: 1.25rem 1.25rem;
  }

  .jury-progress-card .jury-progress-value {
    font-size: 1.25rem;
  }

  .jury-progress-metrics {
    margin-bottom: 1.25rem;
    gap: 1rem;
  }

  .jury-overall-progress-block {
    margin-bottom: 1.25rem;
  }

  .jury-activity-item {
    padding: 1rem 1.25rem;
  }

  .jury-activity-title {
    font-size: 0.9375rem;
    word-wrap: break-word;
  }

  .jury-activity-time {
    font-size: 0.8125rem;
  }

  .jury-notification-link {
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .jury-dashboard-inner {
    padding: 1rem 1rem;
  }

  .jury-header {
    padding: 1.25rem 1rem;
  }

  .jury-title {
    font-size: 1.375rem;
  }

  .jury-subtitle {
    font-size: 0.8125rem;
  }

  .jury-welcome {
    padding: 1.125rem 1.125rem;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    gap: 1.25rem;
  }

  .jury-welcome-headline {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
  }

  .jury-welcome-subhead {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .jury-welcome-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
  }

  .jury-welcome-stat {
    min-width: 0;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
  }

  .jury-welcome-num {
    font-size: 1.5rem;
  }

  .jury-welcome-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* Keep stats as 2x2 grid on small for better balance */
  .jury-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .jury-stat-card {
    padding: 1rem 0.75rem;
    align-items: center;
    text-align: center;
  }

  .jury-stat-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .jury-stat-value {
    font-size: 1.375rem;
  }

  .jury-stat-label {
    font-size: 0.75rem;
    text-align: center;
  }

  .jury-section-title {
    font-size: 1rem;
  }

  .jury-assignments {
    gap: 1rem;
  }

  .jury-assignment-card {
    min-height: auto;
  }

  .jury-assignment-card .card-body {
    padding: 1rem;
  }

  .jury-assignment-footer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .jury-assignment-footer .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .jury-progress-card-body {
    padding: 1rem 1rem;
  }

  .jury-progress-metrics {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .jury-progress-details {
    gap: 1rem;
  }

  .jury-activity-item {
    padding: 1rem 1rem;
  }

  .jury-activity-item-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .jury-activity-score-squircle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
  }

  .jury-activity-score-num {
    font-size: 1.25rem;
  }

  .jury-activity-content .jury-score-btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
    min-height: 36px;
  }

  .jury-notification {
    padding: 0.875rem 1rem;
  }

  .jury-notification-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .jury-notification-title {
    font-size: 0.9375rem;
  }

  .jury-notification-text {
    font-size: 0.8125rem;
  }

  .jury-notification-divider,
  .jury-activity-divider {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .jury-notification-link {
    padding: 1rem;
    font-size: 0.875rem;
  }
}

/* =========================
   Scoring Page
   ========================= */
.jury-scoring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.jury-scoring-thumb-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.jury-scoring-thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  color: inherit;
}
.jury-scoring-scored {
  border-color: #1F4377;
}
.jury-scoring-thumb-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  overflow: hidden;
}
.jury-scoring-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jury-scoring-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92929D;
  font-size: 0.8125rem;
}
.jury-scoring-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}
.jury-scoring-badge-done {
  background: #1F4377;
  color: #fff;
}
.jury-scoring-badge-pending {
  background: #E8EDF4;
  color: #1A2B42;
}
.jury-scoring-thumb-info {
  padding: 0.75rem;
}
.jury-scoring-thumb-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A2B42;
}
.jury-scoring-thumb-meta {
  display: block;
  font-size: 0.75rem;
  color: #92929D;
  margin-top: 0.2rem;
}

/* Scoring Layout (photo + form side by side) */
.jury-scoring-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.jury-scoring-photo-panel {
  flex: 3;
  min-width: 0;
}
.jury-scoring-form-panel {
  flex: 2;
  min-width: 300px;
}
.jury-scoring-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 3/2;
}
.jury-scoring-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.jury-scoring-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92929D;
  font-size: 1rem;
}
.jury-scoring-exif {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}
.jury-scoring-exif-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A2B42;
  margin-bottom: 0.75rem;
}
.jury-scoring-exif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.jury-scoring-exif-item {
  display: flex;
  flex-direction: column;
}
.jury-scoring-exif-label {
  font-size: 0.7rem;
  color: #92929D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.jury-scoring-exif-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A2B42;
}
.jury-scoring-form-card {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.jury-scoring-form-header {
  margin-bottom: 1.25rem;
}
.jury-scoring-photographer {
  font-size: 0.8125rem;
  color: #92929D;
  margin: 0.25rem 0 0.5rem;
}
.jury-scoring-criteria-list {
  margin-bottom: 1.25rem;
}
.jury-scoring-criteria-row {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.jury-scoring-criteria-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.jury-scoring-criteria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.jury-scoring-criteria-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1A2B42;
  display: block;
  margin-bottom: 0.35rem;
}
.jury-scoring-criteria-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.jury-scoring-slider {
  flex: 1;
  accent-color: #1F4377;
  height: 6px;
}
.jury-scoring-number-input {
  width: 70px;
  text-align: center;
  border-radius: 8px;
  border: 1.5px solid #d0d5dd;
  padding: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.jury-scoring-score-display {
  font-size: 1rem;
  font-weight: 700;
  color: #1F4377;
  min-width: 30px;
  text-align: center;
}
.jury-scoring-score-max {
  font-size: 0.8125rem;
  color: #92929D;
}
.jury-scoring-textarea {
  border-radius: 10px;
  border: 1.5px solid #d0d5dd;
  font-size: 0.8125rem;
  resize: vertical;
}
.jury-scoring-textarea:focus {
  border-color: #1F4377;
  box-shadow: 0 0 0 3px rgba(31,67,119,0.12);
}
.jury-scoring-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.jury-scoring-btn-primary {
  flex: 1;
}
.jury-scoring-btn-secondary {
  background: #E8EDF4;
  color: #1A2B42;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}
.jury-scoring-btn-secondary:hover {
  background: #d0d8e8;
}
.jury-scoring-btn-flag {
  background: none;
  border: 1px solid #dc3545;
  color: #dc3545;
  border-radius: 25px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  width: 100%;
}
.jury-scoring-btn-flag:hover {
  background: #dc3545;
  color: #fff;
}
.jury-scoring-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jury-scoring-nav-btn {
  color: #1F4377;
  font-weight: 500;
  font-size: 0.8125rem;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s;
}
.jury-scoring-nav-btn:hover {
  background: #E8EDF4;
  color: #1F4377;
}
.jury-scoring-nav-disabled {
  color: #ccc;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .jury-scoring-layout {
    flex-direction: column;
  }
  .jury-scoring-form-panel {
    min-width: 100%;
  }
  .jury-scoring-exif-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .jury-scoring-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .jury-scoring-criteria-input-row {
    flex-wrap: wrap;
  }
}

/* =========================
   My Profile Page
   ========================= */
.jury-profile-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-width: 100%;
  background-color: #F8FAFC;
  padding: 2.5rem 3rem;
}

.profile-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  background-color: #FFFFFF;
  padding: 2rem 2.5rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.profile-header-title-wrap {
  flex-shrink: 0;
  min-width: 0;
}

.profile-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A2B42;
  margin: 0;
  overflow-wrap: break-word;
}

.profile-page-subtitle {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 600;
  margin: 0.25rem 0 0 0;
}

.profile-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.jury-sidebar-toggle {
  flex-shrink: 0;
}

.profile-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #E2E8F0;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 100%;
  box-sizing: border-box;
}

.profile-search-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-search-input {
  border: none;
  outline: none;
  font-size: 0.875rem;
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background-color: transparent;
}

.profile-header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.profile-header-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.profile-avatar-link {
  display: block;
}

.profile-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.profile-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 2rem;
}

.profile-summary-card {
  margin-bottom: 2rem;
  background-color: #DEE2F2;
  border-radius: 24px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 2rem 2.5rem;
  overflow: hidden;
  min-width: 0;
}

.profile-summary-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.profile-summary-left {
  display: flex;
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

.profile-summary-photo-wrap {
  width: 250px;
  height: 250px;
  min-width: 250px;
  flex-shrink: 0;
  border-radius: 28px;
  overflow: hidden;
  padding: 4px;
}

.profile-summary-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.profile-summary-info {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.profile-summary-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A2B42;
  margin: 0 0 0.8rem 0;
}

.profile-summary-title {
  font-size: 0.9375rem;
  color: #5A6B7D;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.profile-summary-location {
  font-size: 0.875rem;
  color: #5A6B7D;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.profile-summary-pin {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-summary-bio {
  font-size: 0.875rem;
  color: #1A2B42;
  line-height: 1.7;
  margin: 0 0 1.25rem 0;
  text-align: left;
  overflow-wrap: break-word;
}

.profile-social-icons {
  display: flex;
  gap: 0.75rem;
}

.profile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #C5CDD6;
}

.profile-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.profile-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
}

.profile-camera-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: #1F4377;
  border: 2px solid #FFFFFF;
  transition: background-color 0.2s ease;
}

.profile-camera-btn:hover {
  background-color: #1a3863;
}

.profile-camera-btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.profile-btn-primary {
  background-color: #1F4377;
  color: #FFFFFF;
  border: none;
  padding: 1rem 6rem;
  border-radius: 15px;
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease;
}

.profile-btn-primary:hover {
  background-color: #1a3863;
  color: #FFFFFF;
}

.profile-btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.profile-btn-outline {
  background-color: transparent;
  color: #1F4377;
  border: 2px solid #1F4377;
  border-radius: 15px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.profile-btn-outline:hover {
  background-color: #E8EEF4;
  color: #1F4377;
  border-color: #1F4377;
}

.profile-btn-sm {
  padding: 0.4rem 1.5rem;
  font-size: 0.875rem;
}

.profile-section {
  margin-bottom: 3rem;
}

.profile-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1A2B42;
  margin: 0 0 2rem 0;
}

.profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.profile-section-head .profile-section-title {
  margin-bottom: 0;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.profile-stat-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 180px;
  width: 300px;
}

.profile-stat-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #edf0f4;
  border: 1px solid rgba(31, 67, 119, 0.15);
  box-shadow: 0 1px 3px rgba(31, 67, 119, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.profile-stat-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.profile-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A2B42;
  margin-bottom: 0.35rem;
}

.profile-stat-label {
  font-size: 0.8125rem;
  color: #5A6B7D;
  line-height: 1.3;
  text-align: center;
}

.profile-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.profile-settings-card-full {
  grid-column: 1 / -1;
}

.profile-section-account .profile-card.profile-settings-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.75rem 2rem;
}

.profile-settings-card .profile-card-header {
  margin-bottom: 1.25rem;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.profile-card-header-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #DEE2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-card-header-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.profile-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1A2B42;
  margin: 0;
}

.profile-form-group {
  margin-bottom: 1.25rem;
}

.profile-form-group:last-of-type {
  margin-bottom: 1.5rem;
}

.profile-form-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5A6B7D;
  margin-bottom: 0.4rem;
}

.profile-form-label-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-form-input-wrap {
  position: relative;
  width: 100%;
}

.profile-form-input-wrap .profile-form-input {
  padding-right: 2.75rem;
}

.profile-form-input-eye {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-form-eye-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.profile-btn-block {
  width: 100%;
  text-align: center;
}

.profile-form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font-size: 0.9375rem;
  color: #5A6B7D;
  background: #FFFFFF;
}

.profile-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background-color: #f8fafc;
  border-radius: 12px;
}

.profile-toggle-label {
  font-size: 0.9375rem;
  color: #5A6B7D;
}

.profile-toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #f8fafc;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.profile-toggle-switch.profile-toggle-on {
  background: #1F4377;
}

.profile-toggle-switch.profile-toggle-on::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
}

.profile-toggle-switch:not(.profile-toggle-on)::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
}

.profile-subsection-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1A2B42;
  margin: 1rem 0 0.5rem 0;
}

.profile-linked-accounts {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.profile-linked-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: #1A2B42;
  text-decoration: none;
}

.profile-linked-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.profile-visibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #E8EDF4;
  border: 1px solid rgba(26, 43, 66, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A2B42;
}

.profile-visibility-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-public-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.profile-public-card {
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.profile-public-card .profile-card-header {
  margin-bottom: 1rem;
}

.profile-public-card .profile-card-header-mt {
  margin-bottom: 0.75rem;
}

.profile-achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.20rem 1.25rem;
  background: #f8fafc;
  border-radius: 12px;
}

.profile-achievement-year {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1F4377;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-achievement-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.profile-achievement-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1A2B42;
  width: 70%;
}

.profile-achievement-subtitle {
  font-size: 0.8125rem;
  color: #5A6B7D;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-tag {
  background: #E8EDF4;
  color: #1A2B42;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 1rem 1.25rem;
  padding-right: 3rem;
  border-radius: 999px;
}

.profile-philosophy-wrap {
  background: #E8EDF4;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.profile-philosophy-text {
  font-size: 0.875rem;
  color: #1A2B42;
  line-height: 1.6;
  margin: 0;
}

.profile-btn-portfolio {
  padding: 0.6rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9375rem;
}

.profile-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.profile-portfolio-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.profile-portfolio-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 20px 20px 0 0;
}

.profile-portfolio-caption {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.profile-portfolio-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1A2B42;
}

.profile-portfolio-category {
  font-size: 0.8125rem;
  color: #5A6B7D;
  font-weight: 400;
}

.profile-portfolio-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.4rem 1.25rem;
  background: #E8EDF4;
  color: #1e3a8a;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
}

/* =========================
   Profile Page – Responsive
   ========================= */
@media (max-width: 1199.98px) {
  .jury-profile-main {
    padding: 2rem 2rem;
  }

  .profile-page-header {
    padding: 1.75rem 2rem;
  }

  .profile-content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .profile-summary-card {
    padding: 1.75rem 2rem;
  }

  .profile-summary-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-summary-photo-wrap {
    width: 200px;
    height: 200px;
    min-width: 200px;
  }

  .profile-summary-actions {
    justify-content: center;
  }

  .profile-btn-summary.profile-btn-primary,
  .profile-btn-summary.profile-btn-outline {
    padding: 0.75rem 2rem;
    border-radius: 12px;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .profile-stat-card {
    min-height: 160px;
    padding: 1.5rem 1rem;
  }

  .profile-section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 991.98px) {
  .jury-profile-main {
    padding: 1.5rem 1.5rem;
  }

  .profile-page-header {
    padding: 1.5rem 1.5rem;
    gap: 0.875rem;
  }

  .profile-page-title {
    font-size: 1.5rem;
  }

  .profile-summary-card {
    padding: 1.5rem 1.5rem;
  }

  .profile-summary-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-summary-photo-wrap {
    width: 160px;
    height: 160px;
    min-width: 160px;
  }

  .profile-summary-actions {
    justify-content: center;
  }

  .profile-btn-summary.profile-btn-primary,
  .profile-btn-summary.profile-btn-outline {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
  }

  .profile-stat-card {
    min-height: 150px;
    padding: 1.25rem 0.875rem;
  }

  .profile-stat-value {
    font-size: 1.5rem;
  }

  .profile-stat-label {
    font-size: 0.75rem;
  }

  .profile-settings-grid,
  .profile-public-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .profile-section-account .profile-card.profile-settings-card {
    padding: 1.5rem 1.5rem;
  }

  .profile-public-card .profile-card-header-mt {
    margin-top: 1.25rem;
  }

  .profile-achievement-item {
    padding: 0.875rem 1rem;
  }

  .profile-achievement-year {
    width: 42px;
    height: 42px;
    font-size: 0.8125rem;
  }

  .profile-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .profile-section-head {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .profile-section-head .profile-section-title {
    margin-bottom: 0;
  }

  .profile-visibility-badge {
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .jury-profile-main {
    padding: 1.25rem 1rem;
  }

  .profile-page-header {
    padding: 1.25rem 1rem;
    gap: 0.75rem;
  }

  .profile-search-wrap {
    flex: 1 1 100%;
    min-width: 100%;
    order: 3;
  }

  .profile-page-header .profile-header-title-wrap {
    order: 1;
  }

  .profile-page-header .jury-sidebar-toggle {
    order: 2;
  }

  .profile-page-header .profile-header-actions {
    order: 2;
  }

  .profile-page-title {
    font-size: 1.375rem;
  }

  .profile-page-subtitle {
    font-size: 0.8125rem;
  }

  .profile-summary-card {
    padding: 1.5rem 1.25rem;
  }

  .profile-summary-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .profile-summary-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-summary-photo-wrap {
    width: 140px;
    height: 140px;
    min-width: 140px;
  }

  .profile-summary-name {
    font-size: 1.5rem;
  }

  .profile-summary-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .profile-btn-summary.profile-btn-primary,
  .profile-btn-summary.profile-btn-outline {
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
  }

  .profile-camera-btn {
    width: 40px;
    height: 40px;
  }

  .profile-camera-btn-icon {
    width: 20px;
    height: 20px;
  }

  .profile-social-icons {
    justify-content: center;
  }

  .profile-section {
    margin-bottom: 1.5rem;
  }

  .profile-section-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .profile-stat-card {
    min-height: 140px;
    padding: 1rem 0.75rem;
  }

  .profile-stat-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
  }

  .profile-stat-icon {
    width: 24px;
    height: 24px;
  }

  .profile-stat-value {
    font-size: 1.375rem;
  }

  .profile-settings-card .profile-card-header {
    margin-bottom: 0.875rem;
  }

  .profile-settings-card-full .d-flex.gap-4 {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .profile-settings-card-full .profile-toggle-item {
    padding: 0.4rem 0;
  }

  .profile-public-grid {
    gap: 1.25rem;
  }

  .profile-achievement-title {
    font-size: 0.875rem;
  }

  .profile-achievement-subtitle {
    font-size: 0.75rem;
  }

  .profile-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .profile-philosophy-wrap {
    padding: 1rem 1.25rem;
  }

  .profile-philosophy-text {
    font-size: 0.8125rem;
  }

  .profile-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-portfolio-caption {
    padding: 1rem 1.25rem;
  }

  .profile-portfolio-title {
    font-size: 0.9375rem;
  }

  .profile-btn-portfolio {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .jury-profile-main {
    padding: 1rem 0.75rem;
  }

  .profile-page-header {
    padding: 1rem 0.75rem;
    gap: 0.625rem;
  }

  .profile-page-title {
    font-size: 1.25rem;
  }

  .profile-search-wrap {
    padding: 0.4rem 0.75rem;
  }

  .profile-search-input {
    font-size: 0.8125rem;
  }

  .profile-header-actions {
    gap: 0.5rem;
  }

  .profile-header-icon-btn,
  .profile-header-icon {
    width: 36px;
    height: 36px;
  }

  .profile-avatar-img {
    width: 38px;
    height: 38px;
  }

  .profile-summary-card {
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }

  .profile-summary-photo-wrap {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }

  .profile-summary-name {
    font-size: 1.375rem;
  }

  .profile-summary-title,
  .profile-summary-location,
  .profile-summary-bio {
    font-size: 0.8125rem;
  }

  .profile-summary-actions {
    gap: 0.75rem;
  }

  .profile-btn-summary.profile-btn-primary,
  .profile-btn-summary.profile-btn-outline {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
  }

  .profile-camera-btn {
    width: 38px;
    height: 38px;
  }

  .profile-camera-btn-icon {
    width: 18px;
    height: 18px;
  }

  .profile-section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .profile-stat-card {
    min-height: 130px;
    padding: 0.875rem 0.75rem;
  }

  .profile-stat-value {
    font-size: 1.25rem;
  }

  .profile-stat-label {
    font-size: 0.6875rem;
  }

  .profile-section-account .profile-card.profile-settings-card {
    padding: 1.25rem 1rem;
  }

  .profile-card-title {
    font-size: 0.9375rem;
  }

  .profile-form-input {
    font-size: 0.875rem;
    padding: 0.55rem 0.75rem;
  }

  .profile-toggle-label {
    font-size: 0.875rem;
  }

  .profile-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .profile-visibility-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

  .profile-visibility-icon {
    width: 16px;
    height: 16px;
  }

  .profile-achievement-item {
    padding: 0.75rem 1rem;
    flex-direction: row;
    gap: 0.75rem;
  }

  .profile-achievement-year {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
  }

  .profile-achievement-title {
    font-size: 0.8125rem;
  }

  .profile-portfolio-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }
}

/* Extra small devices (small phones, portrait) */
@media (max-width: 399.98px) {
  .jury-profile-main {
    padding: 0.75rem 0.5rem;
  }

  .profile-page-header {
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
  }

  .profile-page-title {
    font-size: 1.125rem;
  }

  .profile-page-subtitle {
    font-size: 0.75rem;
  }

  .profile-search-wrap {
    padding: 0.35rem 0.65rem;
  }

  .profile-search-input {
    font-size: 0.75rem;
  }

  .profile-summary-card {
    padding: 1rem 0.75rem;
  }

  .profile-summary-photo-wrap {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }

  .profile-summary-name {
    font-size: 1.25rem;
  }

  .profile-summary-actions {
    gap: 0.5rem;
  }

  .profile-btn-summary.profile-btn-primary,
  .profile-btn-summary.profile-btn-outline {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }

  .profile-camera-btn {
    width: 36px;
    height: 36px;
  }

  .profile-section-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .profile-stat-card {
    padding: 0.75rem 0.5rem;
    min-height: 120px;
  }

  .profile-stat-value {
    font-size: 1.125rem;
  }

  .profile-stat-label {
    font-size: 0.625rem;
  }

  .profile-portfolio-caption {
    padding: 0.75rem 1rem;
  }

  .profile-portfolio-title {
    font-size: 0.875rem;
  }

  .profile-portfolio-badge {
    font-size: 0.6875rem;
    padding: 0.3rem 0.6rem;
  }
}

/* =========================
   Elite Photo Marketplace
   ========================= */
.marketplace-page {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #FFFFFF;
  color: #2D2D2D;
  margin: 0;
  min-height: 100vh;
}

/* Header */
.marketplace-header {
  background-color: #2D2D2D;
  color: #FFFFFF;
}

.marketplace-logo {
  color: #FFFFFF;
}

.marketplace-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.marketplace-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: #FFFFFF;
}

.marketplace-nav-link {
  color: #E5E7EB;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.marketplace-nav-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.marketplace-btn-signin {
  background-color: #C45A2A;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.marketplace-btn-signin:hover {
  background-color: #A84A22;
  color: #FFFFFF;
}

.marketplace-btn-join {
  background-color: rgb(31, 67, 119);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.marketplace-btn-join:hover {
  background-color: #1a3866;
  color: #FFFFFF;
}

/* Layout: sidebar + main */
.marketplace-layout {
  display: flex;
  min-height: calc(100vh - 60px);
  padding: 0 4rem;
}

/* Sidebar filters */
.marketplace-sidebar {
  flex: 0 0 280px;
  background-color: #FFFFFF;
  padding: 2rem 1.5rem;
  padding-left: 0;
  overflow-y: auto;
}

.marketplace-filter-group {
  margin-bottom: 1.5rem;
}

.marketplace-filter-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #363231;
  margin: 0 0 0.55rem 0;
}

.marketplace-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #D0D0D0;
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
  background: #FFFFFF;
}

.marketplace-search-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.marketplace-search-input {
  border: none;
  outline: none;
  font-size: 0.9375rem;
  flex: 1;
  min-width: 0;
  background: transparent;
}

.marketplace-search-input::placeholder {
  color: #9CA3AF;
}

.marketplace-search-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: color 0.2s;
}

.marketplace-search-btn:hover {
  color: #1e4474;
}

.marketplace-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.marketplace-empty-state i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
  display: block;
}

.marketplace-empty-state p {
  font-size: 1rem;
  margin: 0;
}

/* Focus indicators for accessibility */
.marketplace-card-action-btn:focus-visible,
.marketplace-filter-link:focus-visible,
.marketplace-sort-select:focus-visible,
.marketplace-search-input:focus-visible,
.marketplace-price-input:focus-visible,
.marketplace-price-apply-btn:focus-visible {
  outline: 2px solid rgb(31, 67, 119);
  outline-offset: 2px;
}

/* Toast notification */
.marketplace-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.marketplace-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.marketplace-toast-error {
  background: #991b1b;
}

.marketplace-sort-select {
  padding: 8px 12px;
  border: 1px solid #D0D0D0;
  border-radius: 5px;
  font-size: 0.8125rem;
  background: #fff;
  color: #333;
  cursor: pointer;
  outline: none;
}

.marketplace-price-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #D0D0D0;
  border-radius: 5px;
  font-size: 0.875rem;
  background: #fff;
  outline: none;
}

.marketplace-price-input:focus {
  border-color: rgb(31, 67, 119);
}

.marketplace-price-apply-btn {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 5px;
  background: rgb(31, 67, 119);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.marketplace-price-apply-btn:hover {
  background: #1a3866;
}

.marketplace-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #D0D0D0;
  border-radius: 25px;
  background: #fff;
  color: #333;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
}

.marketplace-filter-toggle.active {
  background: rgb(31, 67, 119);
  color: #fff;
  border-color: rgb(31, 67, 119);
}

.marketplace-filter-list {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0;
}

.marketplace-filter-list li {
  margin-bottom: 0.1rem;
}

.marketplace-filter-link {
  color: #363231;
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}

.marketplace-filter-link:hover,
.marketplace-filter-link.active {
  color: #363231;
  font-weight: 600;
}

.marketplace-filter-hint { font-size: 0.75rem; margin: 0 0 0.5rem 0; color: #6b7280; }
.marketplace-filter-checkbox-list { list-style: none; padding-left: 0; margin: 0; }
.marketplace-filter-checkbox-item { margin-bottom: 0.35rem; }
.marketplace-filter-checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.8125rem; font-weight: 500; color: #363231; margin: 0; }
.marketplace-filter-checkbox-label:hover { color: rgb(31, 67, 119); }
.marketplace-filter-checkbox { width: 16px; height: 16px; accent-color: rgb(31, 67, 119); flex-shrink: 0; }
.marketplace-filter-sublabel { font-size: 0.8125rem; opacity: 0.9; }
.marketplace-filter-sublist { list-style: none; padding-left: 0; margin: 0.25rem 0 0 0; }
.marketplace-filter-clear-link { color: #6b7280; text-decoration: none; }
.marketplace-filter-clear-link:hover { color: rgb(31, 67, 119); }

.marketplace-orientation-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 5px;
  border: 1px solid #D0D0D0;
  color: #363231;
  background-color: white;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.marketplace-orientation-btn.active {
  background-color: rgb(31, 67, 119);
  color: #FFFFFF;
  border-color: rgb(31, 67, 119);
}

.marketplace-price-range {
  flex-wrap: wrap;
  width: 100%;
}

.marketplace-color-swatches {
  align-items: center;
}

.marketplace-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.marketplace-color-swatch:nth-child(1) {
  background-color: #1F2937;
}

.marketplace-color-swatch:nth-child(2).marketplace-color-swatch-white,
.marketplace-color-swatch-white {
  background-color: #FFFFFF;
  border: 1px solid #333333;
}

.marketplace-color-swatch:nth-child(3) {
  background-color: rgb(31, 67, 119);
}

.marketplace-color-swatch:nth-child(4) {
  background-color: #3B82F6;
}

.marketplace-color-swatch:nth-child(5) {
  background-color: #22C55E;
}

.marketplace-color-swatch:nth-child(6) {
  background-color: #EF4444;
}

.marketplace-color-swatch.active {
  border-color: #2D2D2D;
  box-shadow: 0 0 0 2px #FFFFFF;
}

/* Main content */
.marketplace-main {
  flex: 1;
  min-width: 0;
  background-color: #FFFFFF;
  padding: 2rem 2.5rem;
  padding-right: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.marketplace-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.marketplace-hero {
  margin-top: 5rem;
  padding: 0 4rem;

}

.marketplace-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.marketplace-hero-title-dark {
  color: #2D2D2D;
}

.marketplace-hero-title-accent {
  color: rgb(31, 67, 119);
}

.marketplace-hero-subtitle {
  font-size: 0.9375rem;
  color: #4B5563;
  line-height: 1.5;
  max-width: 640px;
}

.marketplace-products-header {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #D0D0D0;
  margin-bottom: 1.25rem;
  gap:32rem;
}

.marketplace-products-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: #363231;
  opacity: 0.7;
}

.marketplace-edit-link {
  font-size: 0.875rem;
  color: #363231;
  font-weight: 700;
  text-decoration: none;
}

.marketplace-edit-link:hover {
  color: #2D2D2D;
  text-decoration: underline;
}

/* Product cards – overlay style (content on image) */
.marketplace-product-card {
  position: relative;
  border-radius: 12px 12px 16px 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4 / 5;
}

.marketplace-card-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.marketplace-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marketplace-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 45%, transparent 70%);
  z-index: 1;
}

.marketplace-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: #FF8C00;
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  z-index: 2;
}

.marketplace-card-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.marketplace-card-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.marketplace-card-action-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.marketplace-card-action-btn i {
  color: #fff;
  font-size: 14px;
}

.marketplace-card-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.marketplace-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1rem 1rem;
}

.marketplace-product-card .marketplace-card-category,
.marketplace-product-card .marketplace-card-desc,
.marketplace-product-card .marketplace-card-author {
  margin: 0;
}

.marketplace-card-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFB366;
  margin-bottom: 0.25rem;
}

.marketplace-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.marketplace-card-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marketplace-card-footer {
  margin-top: 0.25rem;
}

.marketplace-card-author {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.marketplace-card-avatar-initials {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #1F2937;
  font-size: 0.6875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marketplace-product-card .marketplace-btn-seemore {
  background-color: rgb(31, 67, 119);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}

.marketplace-product-card .marketplace-btn-seemore:hover {
  background-color: #1a3866;
  color: #FFFFFF;
}

/* Pagination */
.marketplace-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 4rem;
  margin-left: 5rem;
}

.marketplace-pagination-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #6B7280;
  flex-shrink: 0;
}

.marketplace-pagination-arrow img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.marketplace-pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 50%;
  color: #363231;
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid #D0D0D0;
  flex-shrink: 0;
}

.marketplace-pagination-num:hover {
  background-color: #F3F4F6;
  color: #2D2D2D;
}

.marketplace-pagination-num.active {
  background-color: rgb(31, 67, 119);
  color: #FFFFFF;
  opacity: 1;
  border-color: rgb(31, 67, 119);
}

.marketplace-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 36px;
  color: #6B7280;
  font-size: 0.9375rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

/* Footer */
.marketplace-footer {
  background-color: #2D2D2D;
  color: #FFFFFF;
  padding: 3rem 2rem 2rem;
}

.marketplace-footer-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: #FFFFFF;
}

.marketplace-footer-logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.marketplace-footer-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

.marketplace-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.marketplace-footer-social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.marketplace-footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0 0 0.75rem 0;
}

.marketplace-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.marketplace-footer-links li {
  margin-bottom: 0.4rem;
}

.marketplace-footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9375rem;
}

.marketplace-footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.marketplace-footer-newsletter-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0 0 0.75rem 0;
}

.marketplace-footer-newsletter {
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
}

.marketplace-footer-newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 1rem;
  border: none;
  font-size: 0.9375rem;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.marketplace-footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.marketplace-footer-newsletter-btn {
  width: 48px;
  height: 48px;
  background-color: rgb(31, 67, 119);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marketplace-footer-newsletter-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.marketplace-footer-contact {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.marketplace-footer-contact span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.marketplace-footer-contact-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.marketplace-footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* Marketplace responsive */
@media (max-width: 1199.98px) {
  .marketplace-hero {
    margin-top: 3.5rem;
    padding: 0 2.5rem;
  }

  .marketplace-hero-title {
    font-size: 2.25rem;
  }

  .marketplace-main {
    padding: 1.75rem 2rem;
  }

  .marketplace-content-inner {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .marketplace-header .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .marketplace-hero {
    margin-top: 3rem;
    padding: 0 1.5rem;
  }

  .marketplace-hero-title {
    font-size: 1.875rem;
  }

  .marketplace-hero-subtitle {
    font-size: 0.875rem;
    max-width: 100%;
  }

  .marketplace-layout {
    flex-direction: column;
  }

  .marketplace-sidebar {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
    padding: 1.5rem 1rem;
  }

  .marketplace-main {
    padding: 1.5rem 1rem;
  }

  .marketplace-products-header {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .marketplace-products-grid {
    margin-bottom: 0;
  }

  .marketplace-product-card {
    min-height: 0;
  }

  .marketplace-pagination {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .marketplace-footer .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .marketplace-footer-row {
    gap: 2rem;
  }
}

@media (max-width: 767.98px) {
  .marketplace-header .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .marketplace-header .d-flex {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .marketplace-filter-toggle {
    display: flex;
  }

  .marketplace-sidebar {
    display: none !important;
  }

  .marketplace-sidebar.active {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: #fff;
    overflow-y: auto;
    padding: 1.5rem;
    animation: slideIn 0.2s ease;
  }

  @keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  .marketplace-header .marketplace-nav {
    display: none;
  }

  .marketplace-btn-signin,
  .marketplace-btn-join {
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
  }

  .marketplace-logo-text {
    font-size: 1rem;
  }

  .marketplace-logo-icon {
    width: 28px;
    height: 28px;
  }

  .marketplace-hero {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .marketplace-hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
  }

  .marketplace-hero-subtitle {
    font-size: 0.8125rem;
    margin-bottom: 0;
  }

  .marketplace-main {
    padding: 1.25rem 1rem;
  }

  .marketplace-products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }

  .marketplace-products-count {
    font-size: 0.8125rem;
  }

  .marketplace-edit-link {
    font-size: 0.8125rem;
  }

  .marketplace-products-grid .col-lg-4,
  .marketplace-products-grid .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .marketplace-product-card {
    aspect-ratio: 4 / 5;
  }

  .marketplace-card-badge {
    top: 10px;
    left: 10px;
    font-size: 0.5625rem;
    padding: 0.3rem 0.6rem;
  }

  .marketplace-card-actions {
    top: 10px;
    right: 10px;
    gap: 6px;
  }

  .marketplace-card-action-btn {
    width: 32px;
    height: 32px;
  }

  .marketplace-card-icon {
    width: 16px;
    height: 16px;
  }

  .marketplace-card-content {
    padding: 1rem 0.75rem 0.75rem;
  }

  .marketplace-card-category {
    font-size: 0.625rem;
  }

  .marketplace-card-title {
    font-size: 0.9375rem;
  }

  .marketplace-card-desc {
    font-size: 0.6875rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .marketplace-card-author {
    font-size: 0.6875rem;
  }

  .marketplace-card-avatar-initials {
    width: 22px;
    height: 22px;
    font-size: 0.625rem;
  }

  .marketplace-product-card .marketplace-btn-seemore {
    padding: 0.4rem 0.85rem;
    font-size: 0.6875rem;
  }

  .marketplace-pagination {
    margin: 2rem 0 0 0;
    padding: 0 0.5rem;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .marketplace-pagination-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .marketplace-pagination-arrow img {
    width: 20px;
    height: 20px;
  }

  .marketplace-pagination-num {
    min-width: 34px;
    height: 34px;
    font-size: 0.875rem;
    padding: 0 0.4rem;
  }

  .marketplace-pagination-ellipsis {
    height: 34px;
    min-width: 24px;
    font-size: 0.875rem;
  }

  .marketplace-footer {
    padding: 2rem 1rem 1.5rem;
  }

  .marketplace-footer .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .marketplace-footer-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .marketplace-footer-desc {
    font-size: 0.875rem;
  }

  .marketplace-footer-newsletter {
    flex-direction: column;
    border-radius: 10px;
  }

  .marketplace-footer-newsletter-input {
    padding: 0.75rem 1rem;
  }

  .marketplace-footer-newsletter-btn {
    width: 100%;
    height: 44px;
  }

  .marketplace-footer-contact {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .marketplace-footer-contact .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .marketplace-footer-contact span {
    font-size: 0.875rem;
  }

  .marketplace-footer-copyright {
    font-size: 0.6875rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .marketplace-hero {
    margin-top: 1.5rem;
    padding: 0 0.75rem;
  }

  .marketplace-hero-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .marketplace-hero-subtitle {
    font-size: 0.75rem;
  }

  .marketplace-sidebar {
    padding: 1.25rem 0.75rem;
  }

  .marketplace-filter-group {
    margin-bottom: 1.25rem;
  }
  


  .marketplace-filter-title {
    font-size: 0.6875rem;
  }

  .marketplace-search-input {
    font-size: 0.875rem;
  }

  .marketplace-orientation-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.6875rem;
  }

  .marketplace-price-input {
    font-size: 0.8125rem;
  }

  .marketplace-color-swatch {
    width: 24px;
    height: 24px;
  }

  .marketplace-main {
    padding: 1rem 0.75rem;
  }

  .marketplace-products-grid.row.g-4 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
  }

  .marketplace-product-card {
    aspect-ratio: 3 / 4;
  }
    .marketplace-layout{
      padding: 0 1rem;
    }
  .marketplace-card-content {
    padding: 0.875rem 0.65rem 0.65rem;
  }

  .marketplace-card-title {
    font-size: 0.875rem;
  }

  .marketplace-pagination {
    margin: 1.5rem 0 0 0;
    gap: 0.3rem;
    padding: 0 0.25rem;
  }

  .marketplace-pagination-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .marketplace-pagination-arrow img {
    width: 20px;
    height: 20px;
  }

  .marketplace-pagination-num {
    min-width: 30px;
    height: 30px;
    font-size: 0.8125rem;
    padding: 0 0.35rem;
  }

  .marketplace-pagination-ellipsis {
    min-width: 20px;
    height: 30px;
    font-size: 0.8125rem;
  }

  .marketplace-footer-heading {
    font-size: 0.6875rem;
  }

  .marketplace-footer-links a {
    font-size: 0.875rem;
  }
}

@media (max-width: 399.98px) {
  .marketplace-header .d-flex {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .marketplace-btn-signin,
  .marketplace-btn-join {
    padding: 0.35rem 0.65rem;
    font-size: 0.6875rem;
  }

  .marketplace-hero-title {
    font-size: 1.125rem;
  }

  .marketplace-hero-subtitle {
    font-size: 0.6875rem;
  }

  .marketplace-products-count {
    font-size: 0.75rem;
  }

  .marketplace-card-badge {
    font-size: 0.5rem;
    padding: 0.25rem 0.5rem;
  }

  .marketplace-card-action-btn {
    width: 28px;
    height: 28px;
  }

  .marketplace-card-icon {
    width: 14px;
    height: 14px;
  }

  .marketplace-footer {
    padding: 1.5rem 0.75rem 1rem;
  }

  .marketplace-footer-copyright {
    font-size: 0.625rem;
  }

  .marketplace-pagination {
    margin: 1.25rem 0 0 0;
    gap: 0.25rem;
  }

  .marketplace-pagination-arrow {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .marketplace-pagination-arrow img {
    width: 16px;
    height: 16px;
  }

  .marketplace-pagination-num {
    min-width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .marketplace-pagination-ellipsis {
    min-width: 18px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* ===========================
   Shop Detail Page
   =========================== */
.shop-detail-section {
  padding: 2rem 0 5rem;
}
.shop-detail-breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-detail-breadcrumb a {
  color: rgb(31, 67, 119);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.shop-detail-breadcrumb a:hover {
  opacity: 0.8;
  color: rgb(31, 67, 119);
}
.shop-detail-breadcrumb span {
  color: #64748b;
}
.shop-detail-breadcrumb span:last-child {
  color: #0f172a;
  font-weight: 600;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-detail-back-top {
  margin-bottom: 1.5rem;
}
.shop-detail-back-link {
  color: rgb(31, 67, 119);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}
.shop-detail-back-link:hover {
  opacity: 0.8;
  color: rgb(31, 67, 119);
}
.shop-detail-image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}
.shop-detail-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
}
.shop-detail-preview-img,
.marketplace-card-image {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.shop-detail-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgb(31, 67, 119);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 4px;
}
.shop-detail-info {
  padding-left: 1rem;
}
.shop-detail-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgb(31, 67, 119);
  margin-bottom: 0.5rem;
}
.shop-detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.shop-detail-artist {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.shop-detail-artist-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(31, 67, 119);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.shop-detail-artist-name {
  display: block;
  color: #1e293b;
  font-weight: 700;
  font-size: 1rem;
}
.shop-detail-artist-label {
  display: block;
  color: #64748b;
  font-size: 0.8125rem;
}
.shop-detail-price-card {
  background: linear-gradient(145deg, #e8eef6 0%, #dbe4f0 45%, #cfdceb 100%);
  border: 2px solid rgba(31, 67, 119, 0.35);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(31, 67, 119, 0.12);
}
.shop-detail-price {
  font-size: 2.125rem;
  font-weight: 800;
  color: rgb(31, 67, 119);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.shop-detail-license {
  font-size: 0.8125rem;
  color: #78716c;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.shop-detail-buy-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: rgb(31, 67, 119);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.shop-detail-buy-btn:hover {
  background: #1a3866;
  color: #fff;
}
.shop-detail-buy-btn:focus-visible {
  outline: 2px solid rgb(31, 67, 119);
  outline-offset: 2px;
}
.shop-detail-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.shop-detail-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.shop-detail-meta-label {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}
.shop-detail-meta-value {
  font-size: 0.875rem;
  color: #0f172a;
  font-weight: 600;
}
.shop-detail-description {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.shop-detail-description p {
  color: #334155;
  line-height: 1.8;
  font-size: 1rem;
}
.shop-detail-description li {
  color: #334155;
  margin-bottom: 0.35rem;
}
.shop-detail-description li strong {
  color: #0f172a;
  margin-right: 0.35rem;
}
.shop-detail-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.shop-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}
.shop-detail-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}
.shop-detail-related {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.marketplace-product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.marketplace-product-card-link:hover {
  color: inherit;
}
.shop-detail-wishlist-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-top: 0.75rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.shop-detail-wishlist-btn:hover {
  border-color: #f87171;
  color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}
.shop-detail-wishlist-btn:focus-visible {
  outline: 2px solid rgb(31, 67, 119);
  outline-offset: 2px;
}
@media (max-width: 991px) {
  .shop-detail-info {
    padding-left: 0;
    margin-top: 1rem;
  }
}
@media (max-width: 768px) {
  .shop-detail-title {
    font-size: 1.375rem;
  }
  .shop-detail-section {
    padding: 1.5rem 0 3rem;
  }
}

/* ===========================
   Checkout Page
   =========================== */
.checkout-section {
  padding: 2rem 0 5rem;
}
.checkout-back-top {
  margin-bottom: 1.5rem;
}
.checkout-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
}
.checkout-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.checkout-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.checkout-item-image-wrap {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
}
.checkout-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-item-info {
  flex: 1;
}
.checkout-item-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgb(31, 67, 119);
}
.checkout-item-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0.25rem 0 0.375rem;
}
.checkout-item-artist {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0;
}
.checkout-item-license {
  font-size: 0.75rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.375rem;
}
.checkout-summary {
  margin-bottom: 1.5rem;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: #d1d5db;
}
.checkout-summary-row.checkout-total {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}
.checkout-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 1.25rem;
  cursor: pointer;
}
.checkout-terms-label input[type="checkbox"] {
  margin-top: 2px;
  accent-color: rgb(31, 67, 119);
}
.checkout-terms-label a {
  color: rgb(31, 67, 119);
  text-decoration: underline;
}
.checkout-error {
  color: #ef4444;
  font-size: 0.8125rem;
  margin: -0.75rem 0 1rem;
}
.checkout-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: rgb(31, 67, 119);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.checkout-pay-btn:hover {
  background: #1a3866;
}
.checkout-pay-btn:focus-visible {
  outline: 2px solid rgb(31, 67, 119);
  outline-offset: 2px;
}
.checkout-pay-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 576px) {
  .checkout-card {
    padding: 1.25rem;
  }
  .checkout-item {
    flex-direction: column;
  }
  .checkout-item-image-wrap {
    width: 100%;
    height: 160px;
  }
}

/* ===========================
   Checkout Success Page
   =========================== */
.checkout-success-section {
  padding: 3rem 0 5rem;
}
.success-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.success-icon-wrap {
  margin-bottom: 1rem;
}
.success-icon-wrap i {
  font-size: 3.5rem;
  color: #22c55e;
}
.success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.success-subtitle {
  font-size: 0.9375rem;
  color: #9ca3af;
  margin: 0 0 0.5rem;
}
.success-email-note {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0 0 2rem;
}
.success-order-detail {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.success-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.success-item-image-wrap {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
}
.success-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.success-item-info {
  flex: 1;
}
.success-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.success-item-artist {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0 0 0.25rem;
}
.success-item-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgb(31, 67, 119);
}
.success-order-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.success-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #d1d5db;
}
.success-meta-row span:first-child {
  color: #6b7280;
}
.success-status-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.success-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 1rem;
}
.success-download-btn:hover {
  background: #16a34a;
  color: #fff;
}
.success-download-btn:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}
.success-continue-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(31, 67, 119);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}
.success-continue-link:hover {
  opacity: 0.8;
  color: rgb(31, 67, 119);
}
@media (max-width: 576px) {
  .success-card {
    padding: 1.5rem 1.25rem;
  }
  .success-title {
    font-size: 1.375rem;
  }
}

/* ========== Competition page (A.I. Photographymayank / compi) — keep in sync with public/assets/css/compi.css ========== */
.comp-hero, .comp-steps, .comp-filters, .comp-list, .comp-main-content { font-family: 'Inter', sans-serif; color: #363231; }
.comp-hero { background: #faf8f5; background-image: url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?w=1600&q=80'); background-size: cover; background-position: center; position: relative; padding: 80px 32px 100px; overflow: hidden; }
.comp-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,248,245,0.92) 0%, rgba(245,243,240,0.95) 100%); }
.comp-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 24px; border-radius: 9999px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; background: #fff; border: 1px solid #e5e7eb; margin-bottom: 40px; }
.hero-pill .pill-label { color: #1F4377; }
.hero-pill .pill-active { color: #2F4858; }
.hero-pill .pill-dot { width: 4px; height: 4px; border-radius: 50%; background: #6C757D; flex-shrink: 0; }
.hero-title { font-size: clamp(3.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; }
.hero-title .title-open { color: #000; }
.hero-title .title-accent { color: #1F4377; }
.hero-tagline { font-size: 1.125rem; color: #6C757D; max-width: 640px; line-height: 1.6; margin: 0 auto; }
.comp-steps { background: #fff; padding: 64px 32px; }
.comp-steps-inner { max-width: 1280px; margin: 0 auto; }
.comp-steps-title { font-size: 2.5rem; font-weight: 700; color: #000; text-align: center; margin-bottom: 48px; }
.comp-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-items: center; }
.step-card { background: #fff; border-radius: 25px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid #D1D3D3; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 320px; width: 100%; aspect-ratio: 1; box-sizing: border-box; }
.step-card .step-pill { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 8px 18px; border-radius: 9999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; background: #fff; color: #1F4377; border: 1px solid rgba(31,67,119,0.25); white-space: nowrap; }
.step-icon { width: 72px; height: 72px; background: rgba(31,67,119,0.12); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #1F4377; font-size: 1.875rem; margin-bottom: 24px; flex-shrink: 0; }
.step-card h3 { font-size: 1.25rem; font-weight: 700; color: #2F4858; margin-bottom: 10px; }
.step-card p { font-size: 0.9375rem; color: #000; line-height: 1.5; max-width: 280px; }
.comp-filters { max-width: 1536px; margin: 0 auto; padding: 32px 32px 20px; }
.comp-filters-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 16px; }
.comp-search-wrap { flex: 1; min-width: 280px; position: relative; }
.comp-search-wrap i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6C757D; font-size: 1.125rem; }
.comp-search-wrap input { width: 100%; padding: 14px 16px 14px 48px; border: none; border-radius: 24px; font-size: 0.9375rem; background: #f3f4f6; color: #363231; }
.comp-filter-selects { display: flex; gap: 12px; align-items: center; }
.comp-filter-selects select { padding: 12px 36px 12px 14px; border: none; border-radius: 24px; font-size: 0.875rem; background: #f3f4f6; color: #363231; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.comp-clear { font-size: 0.875rem; color: #9ca3af; cursor: pointer; text-decoration: none; }
.comp-clear:hover { color: #1F4377; }
.comp-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.comp-filter-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #1F4377; border-radius: 24px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; color: #fff; }
.comp-results-count { font-size: 0.875rem; color: #6C757D; }
.comp-results-count .count-range { font-weight: 700; color: #2F4858; }
.comp-list { width: 100%; max-width: 1700px; margin-left: auto; margin-right: auto; padding: 0 32px 40px; }
.comp-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comp-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); transition: box-shadow 0.2s; }
.comp-card:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1); }
.comp-card-image { position: relative; aspect-ratio: 16/10; background: #e5e7eb; overflow: hidden; border-radius: 28px 28px 0 0; }
.comp-card-image img { width: 100%; height: 100%; object-fit: cover; }
.comp-card-image .card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.85) 100%); }
.comp-card-tags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.comp-card-status { padding: 6px 14px; border-radius: 9999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; }
.comp-card-status.active { background: #22c55e; color: #fff; }
.comp-card-status.past { background: #9ca3af; color: #fff; }
.comp-card-status.upcoming { background: #1F4377; color: #fff; }
.comp-card-category { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; color: #fff; background: rgb(31,67,119); padding: 4px 10px; border-radius: 4px; margin-bottom: 8px; }
.comp-card-category::before { content: ''; width: 20px; height: 1px; background: rgba(255,255,255,0.9); flex-shrink: 0; }
.comp-card-share { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; z-index: 2; font-size: 1rem; border: none; }
.comp-card-image .card-title-block { position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 2; text-align: left; }
.comp-card-image .card-title-block h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.comp-card-image .card-title-block .card-desc-img { font-size: 0.875rem; color: rgba(255,255,255,0.95); line-height: 1.45; }
.comp-card-body { padding: 24px 20px; background: #fff; }
.comp-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.comp-card-detail { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; }
.comp-card-detail i { color: #6b7280; margin-top: 2px; font-size: 1rem; }
.comp-card-detail .label { font-weight: 600; letter-spacing: 0.05em; color: #9ca3af; font-size: 0.6875rem; }
.comp-card-detail .value { color: #000; font-weight: 700; }
.comp-card-detail .value.prize { color: rgb(31,67,119); font-weight: 700; }
.comp-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.comp-card-actions .btn-participate, .comp-card-actions .btn-notify, .comp-card-actions .btn-view-details { text-decoration: none; }
.btn-participate { padding: 14px 24px; background: rgb(31,67,119); color: #fff; border: none; border-radius: 12px; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em; cursor: pointer; flex: 1; min-width: 0; }
.btn-participate:hover { background: #1a3866; color: #fff; }
.btn-notify { padding: 14px 24px; background: rgb(31,67,119); color: #fff; border: none; border-radius: 12px; font-weight: 700; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; flex: 1; min-width: 0; justify-content: center; text-decoration: none; }
.btn-notify:hover { background: #1a3866; color: #fff; }
.btn-view-details { padding: 14px 24px; background: #e5e7eb; color: #000; border: none; border-radius: 12px; font-weight: 700; font-size: 0.875rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-width: 0; }
.btn-view-details:hover { background: #d1d5db; color: #000; }
.comp-pagination-wrap { display: flex; justify-content: center; padding: 32px 0 48px; }
.comp-pagination { display: flex; align-items: center; gap: 6px; }
.comp-pagination a, .comp-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 50%; font-size: 0.875rem; font-weight: 500; text-decoration: none; color: #363231; background: #f3f4f6; }
.comp-pagination .current { background: rgb(31,67,119); color: #fff; }
.comp-empty-state { grid-column: 1/-1; text-align: center; padding: 48px 24px; color: #6C757D; }
@media (max-width: 992px) { .comp-steps-grid { grid-template-columns: 1fr; } .comp-cards-grid { grid-template-columns: repeat(2,1fr); } .comp-hero { padding: 60px 24px 80px; } .comp-steps { padding: 48px 24px; } .comp-filters { padding: 24px; } .comp-list { padding: 0 24px 32px; } }
@media (max-width: 768px) { .comp-hero { padding: 40px 16px 60px; } .hero-title { font-size: clamp(2rem,8vw,3rem); } .comp-steps { padding: 40px 16px; } .comp-filters-row { flex-direction: column; } .comp-list { padding: 0 16px 24px; } .comp-cards-grid { grid-template-columns: 1fr; } .comp-card-actions { flex-direction: column; } .btn-participate, .btn-view-details, .btn-notify { width: 100%; justify-content: center; } }
@media (max-width: 480px) { .comp-hero { padding: 32px 12px 48px; } .comp-steps { padding: 32px 12px; } .comp-list { padding: 0 12px 20px; } }