.photographer-layout {
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
  padding: 0 24px 48px 24px;
  max-width: 1378px;
  width: 100%;
  min-height: 100dvh;
  background: #FFFFFF;
}

.photographer-leftbar {
  background: #F0F0F0;
  min-width: 260px;
  max-width: 260px;
  width: 100%;
  padding: 48px 24px;
}

.profile-leftbar-item-link {
  text-decoration: none;
}

.profile-leftbar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 300;
  color: #6C6C6C;
  cursor: pointer;
}

.profile-leftbar-item.active {
  color: #FF5722;
}

.profile-leftbar-header-img-block {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 48px;
  width: 48px;
  height: 48px;
  border-radius: 48px;
  border: 1px solid #000000;
}

.profile-leftbar-header-img {
  width: 28px;
  height: 28px;
}

.profile-leftbar-item.active .profile-leftbar-header-img-block {
  background: #FF5722;
  border: 1px solid #FF5722;
}

.profile-leftbar-item.active .profile-leftbar-header-img-block .profile-leftbar-header-img {
  filter: brightness(0) invert(1) !important;
}

.photographer-leftbar-brand {
  margin-bottom: 24px;
}

.photographer-leftbar-title {
  font-size: 24px;
  font-weight: 600;
  color: #191c1e;
}

.photographer-leftbar-subtitle {
  font-size: 14px;
  color: #6C6C6C;
}

.photographer-leftbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 12px;
}

.photographer-leftbar-user-name {
  font-size: 16px;
  font-weight: 600;
  color: #191c1e;
}

.photographer-leftbar-user-role {
  font-size: 12px;
  color: #6C6C6C;
}

.photographer-leftbar-custom-icon {
  filter: brightness(0);
}

.photographer-main {
  width: 100%;
  min-width: 0;
  padding: 0;
}

.photographer-main-inner {
  width: 100%;
  padding-top: 24px;
}

.photographer-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.photographer-topbar-title {
  font-size: 32px;
  font-weight: 600;
  color: #191c1e;
}

.photographer-topbar-subtitle {
  margin-top: 6px;
  font-size: 16px;
  color: #6C6C6C;
  max-width: 640px;
}

.photographer-topbar-btn,
.photographer-topbar-btn:hover {
  min-width: 148px;
}

.photographer-content-section + .photographer-content-section {
  margin-top: 24px;
}

.photographer-panel {
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  padding: 24px;
  height: 100%;
}

.photographer-panel-title {
  font-size: 24px;
  font-weight: 600;
  color: #191c1e;
  margin-bottom: 18px;
}

.photographer-panel-note {
  font-size: 14px;
  color: #6C6C6C;
}

.photographer-metric-card {
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 18px;
  padding: 24px;
  height: 100%;
}

.photographer-metric-label {
  font-size: 14px;
  color: #6C6C6C;
}

.photographer-metric-value {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 600;
  color: #191c1e;
}

.photographer-metric-note {
  margin-top: 4px;
  font-size: 14px;
  color: #6C6C6C;
}

.photographer-progress-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.photographer-progress-shell {
  height: 12px;
  background: #F0F0F0;
  border-radius: 12px;
}

.photographer-progress-bar {
  background: #FF5722;
}

.photographer-quick-link {
  display: block;
  margin-top: 12px;
  color: #FF5722;
  text-decoration: none;
  font-weight: 600;
}

.photographer-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photographer-event-card {
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.photographer-event-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F0F0F0;
  overflow: hidden;
}

.photographer-event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photographer-event-body {
  padding: 18px;
}

.photographer-event-name {
  min-height: 56px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #191c1e;
}

.photographer-event-date {
  margin-top: 8px;
  font-size: 14px;
  color: #6C6C6C;
}

.photographer-event-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.photographer-event-btn,
.photographer-event-btn:hover {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.photographer-upload-dropzone {
  margin-top: 24px;
  border: 2px dashed #D7D7D7;
  border-radius: 18px;
  padding: 48px 24px;
  text-align: center;
  background: #FAFAFA;
}

.photographer-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 72px;
  background: #FF5722;
  color: #FFFFFF;
  font-size: 40px;
  font-weight: 300;
}

.photographer-upload-title {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 600;
}

.photographer-upload-btn,
.photographer-upload-btn:hover {
  margin-top: 18px;
}

.photographer-uppy-shell {
  padding: 18px;
}

.photographer-uppy-shell .uppy-Dashboard-inner {
  border: 1px solid #F0F0F0;
  border-radius: 14px;
}

.photographer-upload-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.photographer-upload-actions .photographer-upload-btn,
.photographer-upload-actions .photographer-upload-btn:hover {
  margin-top: 0;
}

.photographer-upload-progress-shell {
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  background: #F0F0F0;
  border-radius: 999px;
}

.photographer-upload-progress-bar {
  height: 100%;
  background: #FF5722;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.photographer-upload-progress-text {
  margin-top: 8px;
  font-size: 13px;
  color: #6C6C6C;
  text-align: right;
}

.photographer-upload-table-wrap {
  margin-top: 18px;
}

.photographer-upload-result {
  max-width: 380px;
  word-break: break-all;
  color: #6C6C6C;
  font-size: 13px;
}

.photographer-package-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 14px;
  background: #FAFAFA;
}

.photographer-package-title {
  font-size: 18px;
  font-weight: 600;
}

.photographer-balance-panel {
  background: linear-gradient(180deg, #FF6C3A 0%, #FF5722 100%);
  color: #FFFFFF;
}

.photographer-balance-panel .photographer-panel-title,
.photographer-balance-panel .photographer-panel-note {
  color: #FFFFFF;
}

.photographer-balance-value {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.photographer-balance-btn,
.photographer-balance-btn:hover {
  margin-top: 18px;
  background: #FFFFFF;
  color: #FF5722;
  border-color: #FFFFFF;
}

.photographer-table {
  margin-bottom: 0;
}

.photographer-table thead th {
  font-size: 14px;
  font-weight: 600;
  color: #6C6C6C;
  border-bottom-width: 1px;
}

.photographer-table tbody td {
  padding-top: 16px;
  padding-bottom: 16px;
  vertical-align: middle;
}

.photographer-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.photographer-status-completed,
.photographer-status-ready,
.photographer-status-done {
  background: #E9F9EC;
  color: #199F07;
}

.photographer-status-pending,
.photographer-status-processing {
  background: #FFF2DE;
  color: #C77900;
}

.photographer-status-rejected {
  background: #FFE7E7;
  color: #D92D20;
}

.photographer-status-fail {
  background: #FFE7E7;
  color: #D92D20;
}

.photographer-form-select {
  height: 36px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
}

.photographer-authen-shell {
  min-height: 100dvh;
}

.photographer-authen-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(180deg, #FFF3EE 0%, #FFE5DB 100%);
}

.photographer-authen-brand {
  font-size: 40px;
  font-weight: 700;
  color: #FF5722;
}

.photographer-authen-copy {
  font-size: 24px;
  font-weight: 600;
  color: #191c1e;
}

.photographer-authen-copy-sub {
  font-size: 16px;
  color: #6C6C6C;
  max-width: 420px;
}

@media screen and (max-width: 1378px) {
  .photographer-layout {
    padding: 0;
  }
}

@media screen and (max-width: 1024px) {
  .photographer-layout {
    padding: 0 24px 24px 24px;
  }

  .photographer-leftbar {
    display: none;
  }

  .photographer-main {
    padding: 24px 0 36px 0;
  }

  .photographer-topbar {
    display: block;
  }

  .photographer-topbar-actions {
    margin-top: 18px;
  }

  .photographer-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .photographer-event-grid {
    grid-template-columns: 1fr;
  }

  .photographer-event-name {
    min-height: 0;
    font-size: 18px;
  }

  .photographer-event-actions {
    grid-template-columns: 1fr;
  }

}

/* ================================
   Photographer Dashboard New UI
================================ */

.photographer-dashboard {
  width: 100%;
  padding-bottom: 48px;
}

.photographer-dashboard-card {
  background: #ffffff;
  border: 1.5px solid #086486;
  border-radius: 14px;
  padding: 22px 24px;
  min-height: 150px;
}

.photographer-dashboard-card-label {
  font-size: 15px;
  font-weight: 800;
  color: #086486;
  margin-bottom: 16px;
}

.photographer-dashboard-card-value {
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  color: #086486;
  margin-bottom: 16px;
}

.photographer-dashboard-card-btn,
.photographer-dashboard-card-btn:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: #086486;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.photographer-dashboard-section {
  margin-top: 34px;
}

.photographer-stat-section-top {
  margin-top: 0;
}

.photographer-stat-page .dataTables_wrapper .dataTables_paginate {
  float: none;
  margin-top: 16px;
  text-align: right;
}

.photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button {
  min-width: 36px;
  margin-left: 4px;
  padding: 7px 11px;
  border: 1px solid #d9e5e9;
  border-radius: 6px;
  background: #ffffff;
  color: #086486 !important;
}

.photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-color: #086486;
  background: #086486;
  color: #ffffff !important;
}

.photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  border-color: #eeeeee;
  background: #f7f7f7;
  color: #999999 !important;
}

@media screen and (max-width: 768px) {
  .photographer-stat-page .dataTables_wrapper .dataTables_paginate {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .photographer-stat-page .dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-left: 0;
  }
}

.photographer-profile-page {
  width: 100%;
  padding-bottom: 48px;
}

.photographer-profile-card {
  width: 100%;
  padding: 34px;
  border: 1px solid #eeeeee;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.photographer-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.photographer-profile-logo {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
}

.photographer-profile-title {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
  color: #111111;
}

.photographer-profile-subtitle {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #666666;
}

.photographer-profile-section + .photographer-profile-section {
  margin-top: 34px;
}

.photographer-profile-section-title {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 900;
  color: #086486;
}

.photographer-profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.photographer-profile-field-wide,
.photographer-profile-field-full {
  grid-column: 1 / -1;
}

.photographer-profile-field-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111111;
}

.photographer-profile-field-value {
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  background: #f9f9f9;
  color: #333333;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.photographer-watermark-page {
  width: min(100%, 1378px);
  margin: 0 auto;
}

.photographer-watermark-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
}

.photographer-watermark-panel {
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
}

.photographer-watermark-dropzone {
  margin-top: 18px;
  min-height: 210px;
  border: 2px dashed #d6dce5;
  border-radius: 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.photographer-watermark-dropzone:hover {
  border-color: #ff5722;
  background: #fff7f2;
}

.photographer-watermark-dropzone-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff5722;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.photographer-watermark-dropzone-title {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
}

.photographer-watermark-dropzone-note,
.photographer-watermark-file-size,
.photographer-watermark-status {
  font-size: 13px;
  color: #777777;
}

.photographer-watermark-file {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f8fa;
  border: 1px solid #edf0f4;
}

.photographer-watermark-file-name {
  font-size: 14px;
  font-weight: 800;
  color: #222222;
  overflow-wrap: anywhere;
}

.photographer-watermark-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.photographer-watermark-status {
  margin-top: 14px;
}

.photographer-watermark-status.is-success {
  color: #168548;
  font-weight: 700;
}

.photographer-watermark-status.is-error {
  color: #c62828;
  font-weight: 700;
}

.photographer-watermark-preview {
  min-height: 320px;
  border-radius: 16px;
  border: 1px solid #eeeeee;
  background:
    linear-gradient(45deg, #f1f1f1 25%, transparent 25%),
    linear-gradient(-45deg, #f1f1f1 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f1f1f1 75%),
    linear-gradient(-45deg, transparent 75%, #f1f1f1 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photographer-watermark-preview-empty {
  color: #888888;
  font-size: 14px;
}

.photographer-watermark-current {
  margin-top: 14px;
  font-size: 13px;
  color: #777777;
}

.photographer-watermark-current-status {
  font-weight: 700;
  color: #222222;
}

.photographer-watermark-current-date {
  margin-top: 4px;
}

.photographer-watermark-preview-img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.photographer-faq-page {
  width: min(100%, 1378px);
  margin: 0 auto;
}

.photographer-faq-head {
  margin-bottom: 22px;
}

.photographer-faq-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.photographer-faq-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff7f2;
  color: #ff5722;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.photographer-faq-grid {
  display: grid;
  gap: 24px;
}

.photographer-faq-section {
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
}

.photographer-faq-accordion .accordion-item {
  border-color: #eeeeee;
}

.photographer-faq-accordion .accordion-button {
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  box-shadow: none;
}

.photographer-faq-accordion .accordion-button:not(.collapsed) {
  background: #fff7f2;
  color: #ff5722;
}

.photographer-faq-accordion .accordion-body {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
}

.photographer-faq-accordion ol,
.photographer-faq-accordion ul {
  margin: 0;
  padding-left: 20px;
}

.photographer-faq-accordion li + li {
  margin-top: 6px;
}

@media screen and (max-width: 768px) {
  .photographer-faq-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .photographer-faq-nav a {
    justify-content: center;
  }

  .photographer-faq-section {
    padding: 18px;
  }

  .photographer-faq-accordion .accordion-button {
    padding: 14px;
    font-size: 14px;
  }

  .photographer-faq-accordion .accordion-body {
    padding: 14px;
  }
}

.photographer-payout-file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px;
  border: 1px dashed #d6dce5;
  border-radius: 10px;
  background: #f9fafb;
  cursor: pointer;
}

.photographer-payout-file-upload:hover {
  border-color: #ff5722;
  background: #fff7f2;
}

.photographer-payout-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #ff5722;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.photographer-payout-file-name {
  min-width: 0;
  color: #666666;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photographer-payout-image-link {
  display: inline-flex;
  width: 100%;
  height: 160px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #f7f8fa;
}

.photographer-payout-account-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photographer-dashboard-section h2 {
  font-size: 30px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 8px;
}

.photographer-dashboard-section p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.photographer-dashboard-panel {
  background: #f5fbfd;
  border: 0;
  border-radius: 14px;
  padding: 22px;
  height: 100%;
}

.photographer-dashboard-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #086486;
  margin-bottom: 14px;
}

.photographer-chart-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.photographer-chart-header .photographer-dashboard-panel-title {
  margin-bottom: 0;
}

.photographer-chart-year {
  width: 110px;
  height: 34px;
  border: 1px solid #086486;
  border-radius: 8px;
  color: #555555;
  font-size: 14px;
  padding: 0 12px;
  background: #ffffff;
}

.photographer-doughnut-wrap {
  position: relative;
  width: 100%;
  max-width: 210px;
  height: 250px;
  margin: 0 auto;
}

.photographer-line-wrap {
  position: relative;
  width: 100%;
  height: 260px;
}

.photographer-dashboard-table {
  width: 100%;
  margin-bottom: 0;
}

.photographer-dashboard-table thead th {
  font-size: 15px;
  font-weight: 700;
  color: #8a8a8a;
  border-bottom: 2px solid #dddddd;
  padding: 12px 10px;
  white-space: nowrap;
}

.photographer-dashboard-table tbody td {
  font-size: 15px;
  font-weight: 600;
  color: #4b4b4b;
  padding: 13px 10px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

.photographer-dashboard-table tbody td:first-child {
  font-weight: 800;
  color: #555555;
}

.photographer-table-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #086486;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.photographer-table-action-btn:hover {
  color: #ffffff;
  background: #075470;
}

.photographer-upload-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.photographer-upload-history-header h2 {
  margin-bottom: 0;
}

.photographer-dashboard-status-open {
  color: #25b84b;
  font-weight: 800;
}

.photographer-dashboard-status-close {
  color: #b6b6b6;
  font-weight: 700;
}

.photographer-event-dashboard-section {
  margin-top: 0;
}

.photographer-dashboard-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photographer-dashboard-event-card {
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid #086486;
  border-radius: 14px;
}

.photographer-dashboard-event-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 190px;
  padding: 22px;
}

.photographer-dashboard-event-name {
  min-height: 54px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  color: #086486;
}

.photographer-dashboard-event-date {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #555555;
}

.photographer-dashboard-event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.photographer-dashboard-event-btn-outline,
.photographer-dashboard-event-btn-outline:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 32px;
  padding: 0 18px;
  border: 1px solid #086486;
  border-radius: 999px;
  background: #ffffff;
  color: #086486;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.photographer-dashboard-empty-panel {
  grid-column: 1 / -1;
}

.photographer-dashboard-empty-panel p {
  margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .photographer-dashboard-card-value {
    font-size: 42px;
  }

  .photographer-dashboard-section h2 {
    font-size: 26px;
  }

  .photographer-dashboard-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .photographer-dashboard-card {
    min-height: auto;
  }

  .photographer-profile-card {
    padding: 24px 18px;
  }

  .photographer-profile-title {
    font-size: 24px;
  }

  .photographer-profile-form-grid {
    grid-template-columns: 1fr;
  }

  .photographer-watermark-grid {
    grid-template-columns: 1fr;
  }

  .photographer-watermark-panel {
    padding: 18px;
  }

  .photographer-watermark-actions .btn {
    width: 100%;
  }

  .photographer-payout-file-upload {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .photographer-payout-file-btn {
    width: 100%;
  }

  .photographer-payout-image-link {
    height: 132px;
  }

  .photographer-dashboard-card-value {
    font-size: 38px;
  }

  .photographer-chart-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .photographer-chart-year {
    width: 100%;
  }

  .photographer-dashboard-table {
    min-width: 760px;
  }

  .photographer-dashboard-event-grid {
    grid-template-columns: 1fr;
  }

  .photographer-dashboard-event-body {
    min-height: 0;
  }

  .photographer-dashboard-event-name {
    min-height: 0;
    font-size: 18px;
  }
}

/* ========================================
   Photographer Credit Page
======================================== */

.photographer-credit-page {
  width: 100%;
}

.photographer-credit-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.photographer-credit-back {
  color: #111111;
  font-size: 28px;
  text-decoration: none;
}

.photographer-credit-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #111111;
}

.photographer-credit-balance-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1.5px solid #086486;
  border-radius: 22px;
  background: #ffffff;
}

.photographer-credit-balance-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.photographer-credit-balance-icon {
  font-size: 42px;
}

.photographer-credit-balance-title {
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}

.photographer-credit-balance-note {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  max-width: 420px;
}

.photographer-credit-balance-right {
  text-align: center;
}

.photographer-credit-balance-label {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
}

.photographer-credit-balance-value {
  margin-top: 6px;
  font-size: 64px;
  line-height: 1;
  font-weight: 900;
  color: #086486;
}

.photographer-credit-package-section {
  margin-top: 32px;
}

.photographer-credit-package-title {
  font-size: 32px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}

.photographer-credit-package-note {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.photographer-credit-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.photographer-credit-package-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 18px;
  background: #f5f5f5;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}

.photographer-credit-package-card:hover {
  background: #fff8f4;
}

.photographer-credit-package-card.active {
  border-color: #ff5722;
  background: #fff8f4;
}

.photographer-credit-package-name {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
}

.photographer-credit-package-name span {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: #ff8c4d;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.photographer-credit-package-credit {
  margin-top: 4px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #111111;
}

.photographer-credit-package-price {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #111111;
  white-space: nowrap;
}

.photographer-credit-history-panel {
  margin-top: 36px;
}

.photographer-credit-history-title {
  font-size: 32px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 18px;
}

.photographer-credit-page .mainpage-cart-panel {
  height: auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}

.photographer-credit-page .mainpage-cart-summary-panel {
  height: 100%;
}

.photographer-credit-page .mainpage-cart-panel-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.photographer-credit-page .register-title {
  font-size: 30px;
  font-weight: bold;
}

.photographer-credit-page .invoice-detail-title {
  width: 50%;
  font-size: 20px;
  font-weight: 600;
}

.photographer-credit-page .btn-payment-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  min-height: 60px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cecece;
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.photographer-credit-page .btn-payment-option img {
  width: 44px;
  height: auto;
  flex: 0 0 auto;
}

.photographer-credit-page .btn-payment-option.active {
  outline: 3px solid #ff5722;
}

.photographer-credit-page .btn-wr42-orange,
.photographer-credit-page .btn-wr42-orange:hover {
  min-height: 36px;
  font-size: 14px;
  color: #ffffff;
  background: #ff5722;
  border: 1px solid #ff5722;
  border-radius: 10px;
}

.photographer-credit-page .btn-wr42-maino,
.photographer-credit-page .btn-wr42-maino:hover {
  min-height: 36px;
  font-size: 14px;
  color: #ff5722;
  background: #ffffff;
  border: 1px solid #ff5722;
  border-radius: 10px;
}

.photographer-credit-page .form-label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
}

.photographer-credit-page .form-control {
  height: 38px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: #ffffff;
}

.photographer-credit-page .qr-detail {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

.photographer-credit-page .error-2c2p-text {
  margin-left: auto;
  font-size: 14px;
  font-weight: 400;
}

/* ==========================
   Summary Panel
========================== */

.photographer-credit-summary {
  position: sticky;
  top: 24px;
}

.photographer-credit-summary.mainpage-cart-panel {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.photographer-credit-summary.mainpage-cart-summary-panel {
  border-radius: 22px;
}

.photographer-credit-summary .mainpage-cart-panel-title {
  font-size: 28px;
  font-weight: 800;
}

.photographer-credit-summary .register-title {
  font-size: 30px;
  font-weight: bold;
}

.photographer-credit-summary .mainpage-cart-summary-table {
  width: 100%;
  margin-top: 18px;
}

.photographer-credit-summary .mainpage-cart-summary-table td {
  padding: 12px 0;
  font-size: 15px;
  color: #444444;
  border-bottom: 1px solid #f0f0f0;
}

.photographer-credit-summary .mainpage-cart-summary-table .tfooter td {
  font-size: 20px;
  font-weight: 800;
  color: #111111;
  border-bottom: 0;
}

.photographer-credit-summary .mainpage-cart-summary-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
}

.photographer-credit-summary .btn-wr42-orange,
.photographer-credit-summary .btn-wr42-orange:hover {
  height: 48px;
  font-size: 16px;
  font-weight: 700;
}

/* ==========================
   Table
========================== */

.photographer-credit-history-table {
  width: 100%;
}

.photographer-credit-history-table thead th {
  font-size: 14px;
  color: #8a8a8a;
  border-bottom: 1px solid #dddddd;
}

.photographer-credit-history-table tbody td {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #444444;
}

.photographer-credit-confirm-form .register-title {
  font-size: 30px;
  font-weight: bold;
}

.photographer-credit-confirm-form .register-block {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.photographer-credit-confirm-form .register-block-title {
  min-width: 220px;
  font-size: 16px;
  font-weight: 300;
  color: #333333;
}

.photographer-credit-confirm-form .register-block input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: #ffffff;
}

.photographer-credit-card-form .register-block,
.photographer-payment-form .register-block {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.photographer-credit-card-form .register-block-title,
.photographer-payment-form .register-block-title {
  min-width: 220px;
  font-size: 16px;
  font-weight: 300;
  color: #333333;
}

.photographer-credit-card-form input,
.photographer-payment-form input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: #ffffff;
}

.photographer-credit-card-form .expire-input-group {
  gap: 12px;
}

.photographer-credit-card-form .expire-input-group .input-w50 {
  flex: 1;
  width: auto;
  min-width: 0;
}

.photographer-credit-card-form .expire-separator {
  flex: 0 0 auto;
}

.photographer-credit-card-form .outline-required,
.photographer-payment-form .outline-required {
  border-color: #ea0000;
  outline: 2px solid rgba(234, 0, 0, 0.12);
}

/* ==========================
   Mobile
========================== */

@media screen and (max-width: 1199px) {

  .photographer-credit-summary {
    position: static;
  }

}

@media screen and (max-width: 768px) {

  .photographer-credit-header h1 {
    font-size: 24px;
  }

  .photographer-credit-balance-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .photographer-credit-balance-value {
    font-size: 48px;
  }

  .photographer-credit-package-grid {
    grid-template-columns: 1fr;
  }

  .photographer-credit-package-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .photographer-credit-package-credit,
  .photographer-credit-package-price {
    font-size: 28px;
  }

  .photographer-credit-package-title,
  .photographer-credit-history-title {
    font-size: 24px;
  }

  .photographer-credit-page .mainpage-cart-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .photographer-credit-page .mainpage-cart-panel-title,
  .photographer-credit-page .invoice-detail-title {
    font-size: 18px;
  }

  .photographer-credit-page .btn-payment-option {
    min-height: 56px;
  }

  .photographer-credit-confirm-form .register-block {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .photographer-credit-confirm-form .register-block-title {
    width: 100%;
    min-width: 0;
    margin-bottom: 8px;
  }

  .photographer-credit-confirm-form .register-block input {
    width: 100%;
    flex: 0 0 100%;
  }

  .photographer-credit-card-form .register-block,
  .photographer-payment-form .register-block {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .photographer-credit-card-form .register-block-title,
  .photographer-payment-form .register-block-title {
    width: 100%;
    min-width: 0;
    margin-bottom: 8px;
  }

  .photographer-credit-card-form input,
  .photographer-credit-card-form .expire-input-group,
  .photographer-payment-form input {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* ========================================
   Photographer Sale / Payout Page
======================================== */

.photographer-sale-page .photographer-credit-balance-icon {
  font-size: 34px;
}

.photographer-sale-form-section {
  max-width: 560px;
}

.photographer-sale-form {
  margin-top: 16px;
}

.photographer-sale-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.photographer-sale-small-btn {
  min-width: 86px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.photographer-sale-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.photographer-sale-account-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #666666;
}

.photographer-sale-account-value {
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid #e7ebee;
  border-radius: 8px;
  background: #f8fafb;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.photographer-sale-account-link {
  color: #ff5a1f;
  font-weight: 800;
  text-decoration: none;
}

.photographer-sale-form .register-block {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.photographer-sale-form .register-block-title {
  margin-bottom: 0;
  font-size: 14px;
  color: #444444;
}

.photographer-sale-form input,
.photographer-sale-form select {
  width: 100%;
  height: 38px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: #ffffff;
}

.photographer-sale-summary .mainpage-cart-summary-table {
  margin-top: 8px;
}

.photographer-sale-summary .mainpage-cart-summary-table td {
  padding: 13px 0;
}

.photographer-sale-withdraw-form {
  margin: 18px 0;
}

.photographer-sale-withdraw-form input {
  width: 100%;
  height: 42px;
  margin-top: 8px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  background: #ffffff;
}

.photographer-sale-form-note {
  margin-top: 8px;
  color: #666666;
  font-size: 13px;
}

.photographer-payout-fee-note {
  color: #FF5722;
  font-weight: 600;
}

.photographer-sale-error {
  min-height: 20px;
  margin-top: 8px;
  font-size: 13px;
}

.photographer-sale-history-table {
  min-width: 860px;
}

.photographer-payout-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.photographer-payout-status-pending {
  background: #fff7e6;
  color: #b36b00;
}

.photographer-payout-status-approve,
.photographer-payout-status-approved {
  background: #e8f4ff;
  color: #086486;
}

.photographer-payout-status-transfered,
.photographer-payout-status-transfer,
.photographer-payout-status-transferred {
  background: #eaf7ee;
  color: #1f7a3a;
}

.photographer-payout-status-reject,
.photographer-payout-status-rejected {
  background: #fff0f0;
  color: #c62828;
}

.photographer-sale-table-btn {
  min-width: 86px;
  height: 30px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.photographer-sale-modal {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.photographer-sale-modal .modal-header,
.photographer-sale-modal .modal-footer {
  border-color: #eeeeee;
}

.photographer-sale-modal .modal-title {
  font-weight: 900;
}

.photographer-payout-confirm-list {
  display: grid;
  gap: 12px;
}

.photographer-payout-confirm-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafb;
}

.photographer-payout-confirm-list span {
  color: #666666;
  font-size: 13px;
  font-weight: 700;
}

.photographer-payout-confirm-list strong {
  color: #222222;
  text-align: right;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .photographer-sale-form-section {
    max-width: 100%;
  }

  .photographer-sale-section-head {
    align-items: flex-start;
  }

  .photographer-sale-account-grid {
    grid-template-columns: 1fr;
  }

  .photographer-sale-form .register-block {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .photographer-sale-form input,
  .photographer-sale-form select {
    height: 42px;
  }
}
/* ========================================
   Photographer Upload New UI
   Place this block after the old photographer css
======================================== */

.photographer-upload-page {
  width: 100%;
  padding-bottom: 42px;
}

.photographer-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: flex-start;
}

.photographer-upload-main,
.photographer-upload-side {
  min-width: 0;
}

.photographer-upload-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.photographer-upload-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.photographer-upload-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f5fbfd;
  font-size: 22px;
}

.photographer-upload-heading h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  color: #111111;
}

.photographer-upload-heading p,
.photographer-upload-event-note,
.photographer-upload-list-note,
.photographer-upload-side-note,
.photographer-upload-stat-label {
  margin: 4px 0 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #666666;
}

.photographer-upload-event-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #e9eef1;
  border-radius: 14px;
  background: #ffffff;
}

.photographer-upload-event-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #086486;
}

.photographer-upload-event-control input,
.photographer-upload-event-control select,
.photographer-form-select {
  width: 100%;
  height: 40px;
  border: 1px solid #dfe7eb;
  border-radius: 10px;
  padding: 0 12px;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
}

.photographer-upload-dropzone {
  margin-top: 0;
  padding: 0;
  border: 2px dashed #086486;
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
}

.photographer-uppy-shell {
  padding: 0;
}

.photographer-uppy-shell .uppy-Dashboard-inner {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 300px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
}

.photographer-uppy-shell .uppy-Dashboard-AddFiles {
  width: 100% !important;
  min-height: 300px !important;
  border: 0 !important;
}

.photographer-uppy-shell .uppy-Dashboard-AddFiles-title {
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.photographer-uppy-shell .uppy-Dashboard-browse {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 112px !important;
  height: 34px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #315efb !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.photographer-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.photographer-upload-primary-btn,
.photographer-upload-primary-btn:hover,
.photographer-upload-outline-btn,
.photographer-upload-outline-btn:hover,
.photographer-upload-ghost-btn,
.photographer-upload-ghost-btn:hover,
.photographer-upload-orange-btn,
.photographer-upload-orange-btn:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

.photographer-upload-primary-btn,
.photographer-upload-primary-btn:hover {
  border: 1px solid #086486;
  background: #086486;
  color: #ffffff;
}

.photographer-upload-outline-btn,
.photographer-upload-outline-btn:hover {
  border: 1px solid #086486;
  background: #ffffff;
  color: #086486;
}

.photographer-upload-ghost-btn,
.photographer-upload-ghost-btn:hover {
  min-width: auto;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  color: #666666;
}

.photographer-upload-orange-btn,
.photographer-upload-orange-btn:hover {
  height: 38px;
  border: 1px solid #ff5722;
  background: #ff5722;
  color: #ffffff;
}

.photographer-upload-remark {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #e03a20;
}

.photographer-upload-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.photographer-upload-stat-card {
  min-height: 88px;
  padding: 16px;
  border-radius: 10px;
  background: #f3f4f5;
  text-align: center;
}

.photographer-upload-stat-value {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  color: #111111;
}

.photographer-upload-progress-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.photographer-upload-progress-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
}

.photographer-upload-progress-ring {
  position: absolute;
  inset: 0;
  --upload-progress: 0%;
  background: conic-gradient(#08a6bd var(--upload-progress), #e4eef0 0);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.photographer-upload-progress-ring::after {
  position: absolute;
  inset: 8px;
  content: "";
  background: #ffffff;
  border-radius: 50%;
}

.photographer-upload-progress-percent {
  position: relative;
  font-size: 13px;
  font-weight: 900;
  color: #086486;
}

.photographer-upload-progress-meta {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  color: #086486;
}

.photographer-upload-progress-meta small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: #777777;
}

.photographer-upload-progress-shell {
  display: none;
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  background: #edf1f3;
  border-radius: 999px;
}

.photographer-upload-progress-bar {
  height: 100%;
  background: #086486;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.photographer-upload-list-section {
  margin-top: 24px;
}

.photographer-upload-list-title {
  font-size: 20px;
  font-weight: 900;
  color: #111111;
}

.photographer-upload-table-wrap {
  margin-top: 10px;
  max-height: 420px;
  overflow: auto;
}

.photographer-upload-table {
  margin-bottom: 0;
}

.photographer-upload-table thead th {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  color: #888888;
  white-space: nowrap;
  border-bottom: 1px solid #d7d7d7;
}

.photographer-upload-table tbody td {
  padding: 10px 12px;
  font-size: 12px;
  color: #333333;
  vertical-align: middle;
  border-bottom: 1px solid #eeeeee;
}

.photographer-upload-result {
  max-width: 320px;
  word-break: break-all;
  color: #666666;
}

.photographer-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.photographer-status-completed,
.photographer-status-ready,
.photographer-status-done {
  background: #e9f9ec;
  color: #199f07;
}

.photographer-status-pending,
.photographer-status-processing {
  background: #fff2de;
  color: #c77900;
}

.photographer-status-rejected,
.photographer-status-fail {
  background: #ffe7e7;
  color: #d92d20;
}

.photographer-upload-side-card {
  padding: 24px;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.photographer-upload-side-title {
  font-size: 20px;
  font-weight: 900;
  color: #111111;
}

.photographer-upload-credit-label {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 900;
  color: #111111;
}

.photographer-upload-credit-value {
  margin-top: 4px;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  color: #086486;
}

.photographer-upload-side-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.photographer-upload-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
  color: #444444;
}

.photographer-upload-summary-row strong {
  color: #086486;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.photographer-upload-package-card {
  padding: 14px 0;
  border-radius: 0;
  border-bottom: 1px solid #eeeeee;
  background: transparent;
}

.photographer-upload-package-card:last-child {
  border-bottom: 0;
}

.photographer-upload-package-card .photographer-upload-outline-btn {
  min-width: 86px;
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

.photographer-tour-floating-btn,
.photographer-tour-floating-btn:hover,
.photographer-tour-floating-btn:active {
  position: fixed;
  right: 24px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  z-index: 320;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 16px 8px 10px;
  border: 1px solid #086486;
  border-radius: 999px;
  background: #ffffff;
  color: #086486;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(8, 100, 134, 0.16);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.photographer-tour-floating-btn:hover {
  background: #f5fbfd;
  color: #086486;
  box-shadow: 0 9px 22px rgba(8, 100, 134, 0.22);
  transform: translateY(-2px);
}

.photographer-tour-floating-btn:focus-visible {
  outline: 3px solid rgba(8, 100, 134, 0.22);
  outline-offset: 3px;
}

.photographer-tour-floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #086486;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.photographer-tour-floating-label {
  white-space: nowrap;
}

.photographer-has-tour-floating {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
}

@media screen and (max-width: 1199px) {
  .photographer-upload-grid {
    grid-template-columns: 1fr;
  }

  .photographer-upload-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photographer-upload-side-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 768px) {
  .photographer-tour-floating-btn,
  .photographer-tour-floating-btn:hover,
  .photographer-tour-floating-btn:active {
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
  }

  .photographer-tour-floating-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }

  .photographer-tour-floating-label {
    display: none;
  }

  .photographer-upload-heading h1 {
    font-size: 24px;
  }

  .photographer-upload-grid {
    gap: 20px;
  }

  .photographer-upload-stat-grid,
  .photographer-upload-side {
    grid-template-columns: 1fr;
  }

  .photographer-upload-side-actions {
    grid-template-columns: 1fr;
  }

  .photographer-upload-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .photographer-upload-primary-btn,
  .photographer-upload-outline-btn,
  .photographer-upload-ghost-btn,
  .photographer-upload-orange-btn {
    width: 100%;
  }

  .photographer-uppy-shell .uppy-Dashboard-inner,
  .photographer-uppy-shell .uppy-Dashboard-AddFiles {
    min-height: 260px !important;
  }

  .photographer-upload-table {
    min-width: 680px;
  }
}

/* ========================================
   Photographer Event List New UI
======================================== */

.photographer-event-page {
  width: 100%;
}

.photographer-event-grid-new {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.photographer-event-main-new {
  min-width: 0;
}

.photographer-event-side-new {
  position: sticky;
  top: 94px;
}

.photographer-event-heading-new {
  margin-bottom: 24px;
}

.photographer-event-heading-new h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 900;
  color: #111111;
  margin-bottom: 4px;
}

.photographer-event-heading-new p {
  font-size: 14px;
  line-height: 1.45;
  color: #666666;
  margin: 0;
}

.photographer-event-list-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 18px;
  overflow: hidden;
}

.photographer-event-mobile-list {
  display: none;
}

.photographer-event-list-head,
.photographer-event-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 96px;
  align-items: center;
  column-gap: 18px;
}

.photographer-event-page:not(.photographer-event-join-page) .photographer-event-list-head,
.photographer-event-page:not(.photographer-event-join-page) .photographer-event-list-row {
  grid-template-columns: minmax(0, 1fr) 260px 96px;
}

.photographer-event-list-head {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 800;
  color: #8a8a8a;
  border-bottom: 1px solid #e8e8e8;
  background: #ffffff;
}

.photographer-event-list-row {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f1f1;
}

.photographer-event-list-row:last-child {
  border-bottom: 0;
}

.photographer-event-list-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.photographer-event-list-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #f5f5f5;
  overflow: hidden;
  flex-shrink: 0;
}

.photographer-event-list-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photographer-event-list-name {
  font-size: 15px;
  font-weight: 800;
  color: #086486;
  margin-bottom: 4px;
}

.photographer-event-list-date {
  font-size: 11px;
  line-height: 1.35;
  color: #888888;
}

.photographer-event-list-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.photographer-event-progress-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #d9d9d9;
  border-top-color: #315efb;
  flex-shrink: 0;
}

.photographer-event-progress-number {
  font-size: 13px;
  font-weight: 900;
  color: #315efb;
  line-height: 1;
}

.photographer-event-progress-note {
  font-size: 10px;
  color: #888888;
  margin-top: 2px;
}

.photographer-event-list-action {
  display: flex;
  justify-content: flex-end;
}

.photographer-event-upload-btn,
.photographer-event-upload-btn:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 30px;
  border-radius: 8px;
  background: #315efb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.photographer-event-empty-new {
  padding: 24px;
}

.photographer-event-empty-new p {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #666666;
}

.photographer-upload-credit-card {
  padding: 24px;
  border: 1px solid #ececec;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.photographer-event-credit-actions {
  grid-template-columns: 1fr;
}

.photographer-event-credit-actions .photographer-upload-primary-btn {
  width: 100%;
}

.photographer-event-credit-history-link,
.photographer-event-credit-history-link:hover {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #086486;
  text-align: center;
  text-decoration: none;
}

.photographer-event-empty-join-link,
.photographer-event-empty-join-link:hover {
  display: inline-flex;
  margin-top: 8px;
  color: #086486;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.photographer-event-heading-action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.photographer-event-join-page-btn,
.photographer-event-join-page-btn:hover {
  min-width: 128px;
  height: 36px;
}

.photographer-event-join-list-head,
.photographer-event-join-list-row {
  grid-template-columns: minmax(0, 1fr) 230px 138px 128px;
  align-items: center;
}

.photographer-event-join-date {
  display: grid;
  gap: 4px;
}

.photographer-event-join-action {
  justify-content: flex-end;
}

.photographer-event-join-btn,
.photographer-event-join-btn:hover {
  min-width: 112px;
  height: 34px;
  padding: 0 14px;
  white-space: nowrap;
}

.photographer-event-upload-btn:disabled,
.photographer-event-upload-btn.disabled,
.photographer-event-upload-btn-disabled,
.photographer-event-upload-btn-disabled:hover,
.photographer-event-upload-btn-disabled:focus {
  border: 0;
  background: #d6d6d6;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}

.photographer-event-join-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.photographer-event-join-status-open {
  background: #e9f8ee;
  color: #25b84b;
}

.photographer-event-join-status-closed {
  background: #f2f2f2;
  color: #b6b6b6;
}

.photographer-event-join-status-pending {
  background: #fff7e6;
  color: #d78300;
}

.photographer-event-join-status-approved {
  background: #e9f8ee;
  color: #25b84b;
}

.photographer-event-join-status-rejected {
  background: #fff0f0;
  color: #df3b3b;
}

.photographer-event-join-mobile-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.photographer-event-join-mobile-row + .photographer-event-join-mobile-row {
  margin-top: 8px;
}

.photographer-event-join-mobile-row span {
  color: #888888;
}

.photographer-event-join-mobile-row strong {
  color: #333333;
  text-align: right;
}

.photographer-event-join-mobile-row .photographer-event-join-status {
  color: inherit;
}

.photographer-event-join-mobile-row .photographer-event-join-status-open,
.photographer-event-join-mobile-row .photographer-event-join-status-approved {
  color: #25b84b;
}

.photographer-event-join-mobile-row .photographer-event-join-status-closed {
  color: #b6b6b6;
}

.photographer-event-join-mobile-row .photographer-event-join-status-pending {
  color: #d78300;
}

.photographer-event-join-mobile-row .photographer-event-join-status-rejected {
  color: #df3b3b;
}

.photographer-event-join-modal {
  border: 0;
  border-radius: 16px;
}

.photographer-event-join-modal .modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 22px;
}

.photographer-event-join-modal .modal-body {
  padding: 20px 22px;
}

.photographer-event-join-modal-footer {
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
  padding: 16px 22px 20px;
}

.photographer-event-join-modal-btn,
.photographer-event-join-modal-btn:hover,
.photographer-event-join-modal-btn:focus {
  min-width: 104px;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

.photographer-event-join-modal-event {
  margin-bottom: 16px;
  color: #086486;
  font-size: 16px;
  font-weight: 900;
}

.photographer-event-join-label {
  margin-bottom: 8px;
  color: #333333;
  font-size: 13px;
  font-weight: 800;
}

@media screen and (max-width: 1199px) {

  .photographer-event-grid-new {
    grid-template-columns: 1fr;
  }

  .photographer-event-side-new {
    position: static;
  }

}

@media screen and (max-width: 768px) {

  .photographer-event-heading-new {
    margin-bottom: 18px;
  }

  .photographer-event-heading-action {
    flex-direction: column;
    align-items: stretch;
  }

  .photographer-event-join-page-btn,
  .photographer-event-join-page-btn:hover {
    width: 100%;
  }

  .photographer-event-join-modal-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .photographer-event-join-modal-btn,
  .photographer-event-join-modal-btn:hover,
  .photographer-event-join-modal-btn:focus {
    width: 100%;
    min-width: 0;
  }

  .photographer-event-heading-new h1 {
    font-size: 28px;
  }

  .photographer-event-desktop-list {
    display: none;
  }

  .photographer-event-mobile-list {
    display: grid;
    gap: 14px;
  }

  .photographer-event-mobile-card {
    padding: 16px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  }

  .photographer-event-mobile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .photographer-event-mobile-info {
    min-width: 0;
  }

  .photographer-event-mobile-status {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f1f1;
  }

  .photographer-event-mobile-upload-btn,
  .photographer-event-mobile-upload-btn:hover {
    width: 100%;
    height: 38px;
    margin-top: 14px;
  }

}

/* ========================================
   Photographer History Page
======================================== */

.photographer-history-page {
  width: 100%;
  padding-bottom: 48px;
}

.photographer-history-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: flex-start;
}

.photographer-history-profile-card {
  position: sticky;
  top: 94px;
  padding: 28px 24px;
  border: 1px solid #eeeeee;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  text-align: center;
}

.photographer-history-avatar-wrap {
  width: 128px;
  height: 128px;
  margin: 0 auto 18px auto;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
}

.photographer-history-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photographer-history-name {
  font-size: 14px;
  font-weight: 900;
  color: #111111;
}

.photographer-history-role {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #111111;
}

.photographer-history-user-info {
  margin-top: 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #333333;
}

.photographer-history-user-info div + div {
  margin-top: 10px;
}

.photographer-history-profile-actions {
  margin-top: 28px;
}

.photographer-history-outline-orange-btn,
.photographer-history-outline-orange-btn:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
  margin-top: 8px;
  border: 1px solid #ff5722;
  border-radius: 999px;
  background: #ffffff;
  color: #ff5722;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.photographer-history-main {
  min-width: 0;
}

.photographer-history-section + .photographer-history-section {
  margin-top: 36px;
}

.photographer-history-heading {
  margin-bottom: 14px;
}

.photographer-history-heading h1 {
  font-size: 26px;
}

.photographer-history-list-card {
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.photographer-history-list-head,
.photographer-history-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 96px;
  align-items: center;
  column-gap: 18px;
}

.photographer-history-list-head {
  padding: 0 18px 10px 18px;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 800;
}

.photographer-history-list-row {
  padding: 16px 18px;
  border-bottom: 1px solid #f1f1f1;
}

.photographer-history-list-row:last-child {
  border-bottom: 0;
}

.photographer-history-row-simple {
  grid-template-columns: minmax(0, 1fr) 120px 140px 96px;
}

.photographer-history-stat strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #6f89c4;
  line-height: 1.1;
}

.photographer-history-stat span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.3;
  color: #888888;
}

@media screen and (max-width: 1199px) {
  .photographer-history-grid {
    grid-template-columns: 1fr;
  }

  .photographer-history-profile-card {
    position: static;
    max-width: 360px;
  }
}

@media screen and (max-width: 768px) {
  .photographer-history-profile-card {
    max-width: 100%;
  }

  .photographer-history-heading h1 {
    font-size: 24px;
  }

  .photographer-history-list-card {
    overflow-x: auto;
  }

  .photographer-history-list-head,
  .photographer-history-list-row {
    min-width: 680px;
  }

  .photographer-history-row-simple {
    min-width: 760px;
  }
}
