@font-face {
  font-family: "Lora";
  src: url("/public/fonts/Lora-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/public/fonts/Lora-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/public/fonts/Lora-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/public/fonts/Lora-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url("/public/fonts/PTSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url("/public/fonts/PTSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url("/public/fonts/PTSerif-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url("/public/fonts/PTSerif-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

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

html {
  height: 100%;
}

body {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.33;
  color: #1B1B1F;
  background-color: #FFFFFF;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#root {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
}

.site-header {
  background: #F8ECDB;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.admin-auth-bar {
  position: absolute;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-user-name {
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  color: #1B1B1F;
}

.btn-logout {
  font-size: 13px;
  padding: 0.35rem 1rem;
  background: transparent;
  border: 1px solid #1B1B1F;
  color: #1B1B1F;
  text-decoration: none;
  width: auto;
  margin-top: 0;
}

.logo-area {
  display: inline-block;
  max-height: 50px;
}

.logo-area img {
  height: 50px;
  width: auto;
  display: block;
}

.container {
  max-width: 1272px;
  margin: 0 auto;
  padding: 2rem 24px;
}

.container--narrow {
  max-width: 624px;
}

.login-wall {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.login-wall h1 {
  margin-bottom: 1rem;
}

.login-btn-wrapper {
  margin-top: 2rem;
}

.btn--login {
  font-size: 18px;
  padding: 0.9rem 3rem;
}

.admin-container {
  max-width: 1100px;
}

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

h1 {
  font-size: 42px;
  line-height: 50px;
  margin-bottom: 0.5rem;
  color: #1B1B1F;
  text-align: center;
}

h2 {
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 0.5rem;
  color: #1B1B1F;
}

h3 {
  font-size: 22px;
  line-height: 26px;
}

.subtitle {
  font-family: 'PT Serif', Georgia, serif;
  text-align: center;
  color: #626262;
  margin-bottom: 0.5rem;
  font-size: 18px;
  line-height: 24px;
}

.cancel-notice {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  color: #1B1B1F;
}

.cancel-notice p {
  margin: 0;
}

.btn-back {
  background: none;
  border: none;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: #626262;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  display: inline-block;
}

.btn-back:hover {
  color: #1B1B1F;
}

.btn-back:focus-visible {
  color: #1B1B1F;
  text-decoration: underline;
  outline: 2px solid #1B1B1F;
  outline-offset: 2px;
}

.btn-back:active {
  color: #1B1B1F;
}
.payment-cost-info {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #626262;
  margin-bottom: 1.5rem;
}

.payment-heading {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
  color: #000000;
}

.payment-subtitle {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #000000;
  margin-bottom: 2rem;
}

.corrections-link {
  text-align: center;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  color: #626262;
  margin-bottom: 2rem;
}

.corrections-link a {
  color: #BF2752;
  text-decoration: underline;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 1rem;
}

.magazine-card {
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 24px;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Lora", Georgia, serif;
  min-height: 160px;
  transition: box-shadow 0.2s;
  width: 100%;
}

.magazine-card:not(:disabled):hover:not(.magazine-card--disabled) {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.magazine-card__logo {
  max-width: 180px;
  height: 50px;
  object-fit: contain;
  object-position: left;
  display: block;
}

.magazine-card__btn {
  display: block;
  width: 100%;
  background: #BF2752;
  color: #FFFFFF;
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  text-align: center;
  margin-top: auto;
}

.magazine-card:hover:not(:disabled) .magazine-card__btn {
  background: #991F42;
}

.magazine-card--disabled {
  cursor: default;
}

.magazine-card--disabled .magazine-card__btn {
  background: #6B6B6B;
}


.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  color: #1B1B1F;
  font-size: 14px;
  line-height: 18px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  width: 100%;
  padding: 7px 12px;
  border: 1px solid #5E5E62;
  border-radius: 4px;
  font-size: 15px;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  line-height: 23px;
  transition: border-color 0.2s;
  background: #FFFFFF;
  color: #000000;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 2px rgba(191, 39, 82, 0.15);
}

.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  font-size: 18px;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  transition: border-color 0.2s;
  background: #FFFFFF;
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.entries-section {
  margin-bottom: 1.2rem;
  margin-top: 1.5rem;
}

.entry-item {
  margin-bottom: 0.75rem;
}

.entry-item label {
  display: block;
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: #1B1B1F;
  margin-bottom: 4px;
}

.entry-item input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #5E5E62;
  border-radius: 4px;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: #1B1B1F;
}

.entry-item input:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 2px rgba(191, 39, 82, 0.15);
}

.gdpr-text {
  margin-top: 0.8rem;
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  line-height: 18px;
}

.gdpr-text a {
  color: #000000;
  text-decoration: underline;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: #BF2752;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  font-family: "Lora", Georgia, serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-top: 1rem;
  transition: background 0.2s;
  line-height: 27px;
}

.btn:hover {
  background: #991F42;
}

.btn:disabled {
  background: #E8B3C3;
  cursor: not-allowed;
}

.btn--outline {
  background: transparent;
  color: #BF2752;
  border: 2px solid #BF2752;
}

.btn--outline:hover {
  background: #FFF0F7;
}

.error {
  color: #BA1A1A;
  margin-bottom: 0.5rem;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
}

.thank-you {
  text-align: center;
  padding: 3rem 2rem;
}

.thank-you h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
  margin-bottom: 1rem;
}

.thank-you p {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  margin-bottom: 1.5rem;
}

.promo-card {
  background: #FFF0F7;
  border-radius: 12px;
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.promo-card__text {
  flex: 1;
  z-index: 1;
}

.promo-card__heading {
  font-family: "Lora", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: #1B1B1F;
  line-height: 1.3;
  margin-bottom: 1.2rem !important;
}

.promo-card__btn {
  display: inline-block;
  width: auto !important;
  border-radius: 100px !important;
  padding: 0.6rem 1.5rem;
  font-size: 15px;
}

.promo-card__circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #FF8BC3;
  flex-shrink: 0;
  z-index: 0;
  position: relative;
}

.promo-card__circle-icon {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: auto;
  z-index: 1;
}

.confirmation-links {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  text-align: center;
}

.confirmation-links .success-link {
  color: #000000;
  text-decoration: underline;
  font-weight: 400;
}

.edition-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 16px;
  border: 1px solid #D0D0D0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #1B1B1F;
  appearance: auto;
  cursor: pointer;
}

.edition-select:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 2px rgba(191, 39, 82, 0.15);
}

.order-summary {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.5rem;
}

.order-summary__heading {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #000000;
}

.order-summary__divider {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.6);
  margin: 4px 0;
}

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

.order-summary__label {
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #000000;
}

.order-summary__amount {
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
}

.payment-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn--payment {
  width: 224px !important;
  border-radius: 100px !important;
  padding: 13px 24px;
  font-size: 18px;
  line-height: 18px;
}

.entries-help-text {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1B1B1F;
  margin-bottom: 1rem;
}

.step-nav {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  background: #FFFFFF;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.step-nav--docked {
  box-shadow: none;
}

.step-nav-sentinel {
  height: 1px;
}

.step-nav .btn {
  margin-top: 0;
  width: 224px;
}

.step-nav__subtitle {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #000000;
}

.success-link {
  color: #BF2752;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
}

.success-link:hover {
  color: #991F42;
}

.site-footer {
  background: #F8ECDB;
  padding: 2rem 24px;
  margin-top: auto;
  text-align: center;
}

.site-footer p {
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: #626262;
  margin-bottom: 0.5rem;
}

.site-footer a {
  font-family: "Lora", Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  color: #626262;
  text-decoration: underline;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #BF2752;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.submissions-table {
  width: 100%;
  border-collapse: collapse;
}

.submissions-table th,
.submissions-table td {
  padding: 0.6rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #E2E2E2;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.submissions-table th {
  background: #F8ECDB;
  font-weight: 500;
  color: #1B1B1F;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.submissions-table th:first-child {
  border-radius: 8px 0 0 0;
}

.submissions-table th:last-child {
  border-radius: 0 8px 0 0;
}

.submissions-table tr:hover {
  background: #FFF0F7;
}

.solution-cell {
  white-space: normal !important;
  max-width: 200px;
}

.expandable-row {
  cursor: pointer;
}

.expandable-row:hover {
  background: #FFF0F7;
}

.expanded-detail {
  background: #FAF5F0;
}

.expanded-detail:hover {
  background: #FAF5F0 !important;
}

.detail-content {
  display: flex;
  gap: 2rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}

.detail-entries {
  width: 100%;
  margin-top: 0.5rem;
}

.entries-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.3rem 1.5rem;
  font-family: "Lora", Georgia, serif;
  font-size: 13px;
  font-weight: 400;
}

.detail-field {
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: #1B1B1F;
}

.detail-label {
  font-weight: 500;
  color: #626262;
}

.kryss-answer-cell {
  white-space: normal !important;
  min-width: 120px;
}

.kryss-answer-value {
  font-weight: 500;
  color: #BF2752;
}

.kryss-answer-empty {
  color: #AAAAAA;
}

.other-kryss-cell {
  white-space: normal !important;
  max-width: 300px;
  min-width: 150px;
}

.other-kryss-list {
  font-size: 13px;
  color: #626262;
}

.kryss-count-cell {
  text-align: center;
}

.kryss-count {
  font-weight: 400;
  color: #1B1B1F;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 140px;
}

.filter-group label {
  font-family: "Lora", Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  color: #626262;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-input {
  padding: 0.4rem 0.6rem;
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  font-size: 15px;
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  background: #FFFFFF;
}

.filter-input:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 2px rgba(191, 39, 82, 0.15);
}

.filter-group--export {
  flex: 0 0 auto;
  min-width: auto;
  align-self: flex-end;
}

.export-btn {
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  width: auto;
  font-size: 14px;
  padding: 0.5rem 1.2rem;
  margin-top: 0;
}

.filter-count {
  font-family: "Lora", Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  color: #838383;
  margin-bottom: 0.8rem;
}

.sortable {
  cursor: pointer;
  user-select: none;
}

.sortable:hover {
  color: #BF2752;
}

.empty {
  text-align: center;
  color: #626262;
  padding: 2rem 0;
  font-style: italic;
}

.back-link {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 12px;
  }

  h1 {
    font-size: 32px;
    line-height: 38px;
  }

  h2 {
    font-size: 22px;
    line-height: 26px;
  }

  .card {
    padding: 1.5rem;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .magazine-card__logo {
    max-width: 110px;
  }

  .magazine-card {
    padding: 16px;
    min-height: 130px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .order-summary {
    margin-bottom: 1rem;
  }


}

.paywall-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.paywall-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.paywall-card h2 {
  margin-bottom: 0.5rem;
  color: #1B1B1F;
}

.paywall-amount {
  font-family: "Lora", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #BF2752;
  margin: 1rem 0;
}

.paywall-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-secondary {
  background: transparent;
  color: #BF2752;
  border: 2px solid #BF2752;
}

.btn-secondary:hover {
  background: #FFF0F7;
}

.btn-danger {
  background: #8E1F32;
  color: #FFFFFF;
}

.btn-danger:hover {
  background: #6F1727;
}

.schedule-upload-section {
  margin-top: 2.5rem;
  padding: 1rem;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background: #FFFFFF;
}

.schedule-upload-section h2 {
  text-align: left;
  font-size: 24px;
  margin-bottom: 0.5rem;
}

.schedule-upload-description {
  color: #626262;
  font-size: 15px;
  margin-bottom: 0.5rem;
}

.schedule-upload-guidance {
  background: #F8F4EE;
  border: 1px solid #E7DCCB;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.schedule-upload-list {
  margin: 0 0 0.75rem 1.2rem;
  padding: 0;
  color: #1B1B1F;
  font-size: 15px;
}

.schedule-upload-list li {
  margin-bottom: 0.35rem;
}

.schedule-upload-example {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.schedule-upload-example-title {
  font-family: "Lora", Georgia, serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #626262;
  margin-bottom: 0.4rem;
}

.schedule-upload-example-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #FFFFFF;
}

.schedule-upload-example-table th,
.schedule-upload-example-table td {
  border: 1px solid #E2E2E2;
  padding: 0.4rem 0.6rem;
  text-align: left;
}

.schedule-upload-example-table th {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #626262;
}

.schedule-upload-notes {
  color: #4E4E52;
  font-size: 14px;
  margin-bottom: 0.35rem;
}

.schedule-upload-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.schedule-file-input {
  max-width: 100%;
  padding: 0.45rem;
  border: 1px solid #CFCFD4;
  border-radius: 8px;
  background: #FFFFFF;
  color: #4E4E52;
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(27, 27, 31, 0.06);
}

.schedule-file-input:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 3px rgba(191, 39, 82, 0.14);
}

.schedule-file-input::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 6px;
  background: #F8F4EE;
  color: #1B1B1F;
  font-family: "Lora", Georgia, serif;
  font-size: 13px;
  cursor: pointer;
}

.schedule-file-input::file-selector-button:hover {
  background: #EFE4D5;
}

.schedule-upload-btn {
  font-size: 14px;
  padding: 0.5rem 1.5rem;
}

.schedule-validate-btn {
  font-size: 14px;
  padding: 0.5rem 1.5rem;
}

.schedule-validation-preview {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #B7D7BD;
  border-radius: 8px;
  background: #F4FBF5;
}

.schedule-validation-summary {
  color: #244A2A;
  font-size: 14px;
  margin-bottom: 0.75rem;
}

.schedule-validation-summary p {
  margin-bottom: 0.25rem;
}

.schedule-validation-title,
.schedule-validation-skipped-title {
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  color: #1E5E2A;
  margin-bottom: 0.35rem;
}

.schedule-validation-table-wrapper {
  margin-top: 0.75rem;
}

.schedule-validation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #FFFFFF;
}

.schedule-validation-table th,
.schedule-validation-table td {
  padding: 0.45rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid #D8E8DA;
}

.schedule-validation-table th {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-size: 12px;
  color: #4B6750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-validation-skipped {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #D8E8DA;
  color: #5F4A00;
  font-size: 14px;
}

.schedule-validation-skipped ul {
  margin-left: 1.1rem;
}

.schedule-validation-skipped li {
  margin-bottom: 0.2rem;
}

.upload-success {
  color: #2E7D32;
  font-size: 15px;
  margin-top: 0.5rem;
}

.upload-error {
  color: #C62828;
  font-size: 15px;
  margin-top: 0.5rem;
}

.upload-warnings {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: #FFF8E1;
  border: 1px solid #F1D58A;
}

.upload-warnings-title {
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  color: #7A5B00;
  margin-bottom: 0.3rem;
}

.upload-warnings ul {
  margin-left: 1.1rem;
  color: #5F4A00;
  font-size: 14px;
}

.upload-warnings li {
  margin-bottom: 0.2rem;
}

.schedule-manual-section {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background: #FFFFFF;
}

.schedule-danger-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background: #FFFFFF;
}

.schedule-danger-section h3 {
  margin-bottom: 0.25rem;
}

.schedule-danger-section p {
  color: #626262;
  font-size: 14px;
  margin-bottom: 0;
  width: 100%;
}

.schedule-danger-section .schedule-delete-all-btn {
  width: 100%;
  justify-content: center;
}

.schedule-manual-section h3 {
  margin-bottom: 0.85rem;
}

.schedule-manual-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.schedule-manual-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: #4E4E52;
}

.schedule-manual-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid #CFCFD4;
  border-radius: 8px;
  font: inherit;
  line-height: 1.35;
  background: #FFFFFF;
  color: #1B1B1F;
  box-shadow: 0 1px 2px rgba(27, 27, 31, 0.06);
}

.schedule-manual-form input:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 3px rgba(191, 39, 82, 0.14);
}

.schedule-manual-actions,
.schedule-row-actions,
.schedule-table-header,
.schedule-confirmation-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.schedule-manual-actions {
  grid-column: 1 / -1;
}

.schedule-save-btn,
.schedule-cancel-edit-btn,
.schedule-edit-btn,
.schedule-delete-btn,
.schedule-delete-all-btn {
  font-size: 15px;
  font-weight: 400;
  padding: 0.45rem 0.85rem;
}

.schedule-table-section {
  margin-top: 2rem;
}

.schedule-table-header {
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.schedule-table-section h3 {
  margin-bottom: 0;
}

.schedule-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
}

.schedule-table th,
.schedule-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #E2E2E2;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.schedule-table th {
  font-weight: 400;
  font-size: 15px;
  color: #626262;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-table th:nth-child(1),
.schedule-table td:nth-child(1) {
  width: 22%;
}

.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
  width: 12%;
}

.schedule-table th:nth-child(3),
.schedule-table td:nth-child(3) {
  width: 18%;
}

.schedule-table th:nth-child(4),
.schedule-table td:nth-child(4) {
  width: 18%;
}

.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5) {
  width: auto;
}

.schedule-row-actions {
  flex-wrap: wrap;
}

.schedule-row-feedback {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
}

.schedule-row-feedback-success {
  color: #2E7D32;
}

.schedule-row-feedback-error {
  color: #C62828;
}

.schedule-row-editing {
  background: #FFFFFF;
}

.schedule-row-editing td {
  background: #FFFFFF;
  box-shadow: inset 0 1px 0 #FFFFFF;
}

.schedule-inline-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid #CFCFD4;
  border-radius: 8px;
  font: inherit;
  line-height: 1.35;
  background: #FFFFFF;
  color: #1B1B1F;
  box-shadow: 0 1px 2px rgba(27, 27, 31, 0.06);
}

.schedule-inline-input:focus {
  outline: none;
  border-color: #BF2752;
  box-shadow: 0 0 0 3px rgba(191, 39, 82, 0.14);
}

.schedule-inline-derived {
  color: #1B1B1F;
  font: inherit;
  white-space: nowrap;
}

.schedule-row-editing .schedule-inline-derived {
  color: #4E4E52;
}

.schedule-confirmation-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(27, 27, 31, 0.48);
}

.schedule-confirmation-modal {
  width: min(420px, 100%);
  padding: 1.25rem;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.schedule-confirmation-title {
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  color: #1B1B1F;
  margin-bottom: 0.45rem;
}

.schedule-confirmation-text {
  color: #4E4E52;
  font-size: 15px;
  margin-bottom: 1rem;
}

.schedule-confirmation-actions {
  justify-content: flex-end;
}

.schedule-confirm-cancel-btn,
.schedule-confirm-delete-btn {
  font-size: 14px;
  padding: 0.5rem 1rem;
}
