.content {
  margin-left: auto;
  margin-right: auto;
  max-width: 768px;
}
@media (max-width: 480px) {
  .content {
    padding: 0 10px;
    max-width: 90%;
  }
}

#info {
  margin: 16px; padding: 8px;
}
select {
    width:13em;
}



th { text-align: right; }






.hold {
  border-top: 1px solid rgb(209, 209, 209);
  border-bottom: 1px solid rgb(209, 209, 209);
  clear: both;
  display: block;
  margin: 48px 0;
  padding: 12px 0;
}

.Paper {
  display: table-cell;
  font-weight: bold;
  height: 100%;
  padding-left: 16px;
  vertical-align: middle;
}

.Label {
  font-size: .8rem;
  font-family: "headline-semi", "Helvetica", "Arial", sans-serif;
  font-weight: 600;
  line-height: 1;
}




.af-box {
  width: 100%;
  max-width: 600px;
  border: 1px solid #dedede;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin: 1.6rem 0;

  border-radius: 10px;
}


.af-box a {
  line-height: 1.9em;
  text-decoration: none;
  color: #ffffff;
  display: grid;
  overflow: hidden;
}

@media only screen and (min-width: 0) {
  .af-box a {

    grid-template-columns: 140px fit-content(100%);
  }
}

@media only screen and (min-width: 768px) {
  .af-box a {

    grid-template-columns: 160px fit-content(100%);
  }
}

.af-box a:hover {
  text-decoration: none;
}

.af-textbox {
  position: relative;
  grid-column: 2;
  padding: 8px 10px;
  overflow: hidden;
}

.af-title {
  font-weight: 700;
  max-height: 30em;
  margin: 0 !important;
  overflow: hidden;
}


/* 検索のデザイン */
.search-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.search-link img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.search-link span {
  font-family: 'Kaisei Opti', serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 45px;
  margin-left: 10px;
  color: rgb(0, 109, 128);
  text-decoration: none;
}

/* ホバー時の拡大 (画像のみ) */
.search-link:hover img {
  transform: scale(1.2);
}

/* Modern design system for info pages */
:root {
  --primary-color: rgb(0, 109, 128);
  --primary-light: rgba(0, 109, 128, 0.1);
  --primary-gradient: linear-gradient(135deg, rgb(0, 109, 128) 0%, rgb(32, 178, 170) 100%);
  --accent-color: #4f46e5;
  --text-dark: #1f2937;
  --text-medium: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Icon utilities */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

.svg-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

.svg-icon--with-text svg {
  width: 1em;
  height: 1em;
}

.svg-icon--lg svg {
  width: 1.5em;
  height: 1.5em;
}

.svg-icon--xl svg {
  width: 2em;
  height: 2em;
}

.svg-icon--xxl svg {
  width: 4rem;
  height: 4rem;
}

.svg-icon--spinner svg {
  width: 150px;
  height: 150px;
}

.svg-icon--with-text {
  margin-right: 0.5rem;
}

.svg-icon--with-text:last-child {
  margin-right: 0;
}

/* Enhanced page wrapper for info pages */
.info-page {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(248, 250, 252, 0.8) 100%);
  padding: 2rem 1rem;
}

/* Elegant retention select controls */
.retention-select-wrapper {
  --retention-accent: #2563eb;
  --retention-accent-soft: rgba(37, 99, 235, 0.2);
  --retention-accent-strong: rgba(37, 99, 235, 0.3);
  --retention-text: #0f172a;
  --retention-trigger-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
  --retention-trigger-hover-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  --retention-trigger-open-bg: var(--retention-trigger-hover-bg);
  --retention-trigger-text: var(--retention-text);
  --retention-trigger-hover-text: var(--retention-trigger-text);
  --retention-trigger-open-text: var(--retention-trigger-hover-text);
  --retention-trigger-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(15, 23, 42, 0.14);
  --retention-trigger-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -16px var(--retention-accent-strong);
  --retention-trigger-open-shadow: var(--retention-trigger-hover-shadow);
  --retention-wrapper-border: rgba(148, 163, 184, 0.35);
  --retention-menu-border: rgba(148, 163, 184, 0.35);
  --retention-menu-shadow: 0 24px 45px -22px rgba(15, 23, 42, 0.65);
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 6px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), var(--retention-accent-soft));
  border: 1px solid var(--retention-wrapper-border);
  box-shadow: 0 18px 34px -24px rgba(15, 23, 42, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.retention-select-wrapper:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px -20px rgba(15, 23, 42, 0.58);
}

.retention-select-wrapper.is-open {
  z-index: 25;
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -20px rgba(15, 23, 42, 0.55);
}

.retention-select-wrapper.is-enhanced {
  padding: 6px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.86));
}

.retention-select-wrapper.is-enhanced::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.retention-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--retention-accent-soft));
  padding: 0.95rem 3.5rem 0.95rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--retention-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.retention-select:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -16px var(--retention-accent-strong);
}

.retention-select:focus {
  outline: none;
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 7px var(--retention-accent-soft);
}

.retention-select option {
  font-weight: 500;
  color: #1f2937;
}

.retention-select-wrapper.is-enhanced .retention-select {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.retention-select-trigger {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: var(--retention-trigger-bg);
  padding: 0.95rem 3.5rem 0.95rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--retention-trigger-text);
  box-shadow: var(--retention-trigger-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: left;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.retention-select-trigger:hover {
  transform: translateY(-1px);
  background: var(--retention-trigger-hover-bg);
  color: var(--retention-trigger-hover-text);
  box-shadow: var(--retention-trigger-hover-shadow);
}

.retention-select-trigger:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: var(--retention-trigger-hover-bg);
  color: var(--retention-trigger-hover-text);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 7px var(--retention-accent-soft), var(--retention-trigger-hover-shadow);
}

.retention-select-wrapper.is-open .retention-select-trigger {
  background: var(--retention-trigger-open-bg);
  color: var(--retention-trigger-open-text);
  box-shadow: var(--retention-trigger-open-shadow);
}

.retention-select-arrow {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--retention-accent), rgba(255, 255, 255, 0.25));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 22px -14px var(--retention-accent-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.retention-select-wrapper.is-open .retention-select-arrow {
  transform: translateY(-50%) rotate(180deg);
  box-shadow: 0 12px 26px -16px var(--retention-accent-strong);
}

.retention-select-arrow svg {
  width: 16px;
  height: 16px;
}

.retention-select-menu {
  list-style: none;
  margin: 0;
  padding: 0.6rem;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.94));
  box-shadow: var(--retention-menu-shadow);
  border: 1px solid var(--retention-menu-border);
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

.retention-select-wrapper.is-open .retention-select-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.retention-select-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  color: var(--retention-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.retention-select-option + .retention-select-option {
  margin-top: 0.35rem;
}

.retention-select-option.is-active,
.retention-select-option:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), var(--retention-accent-soft));
  color: var(--retention-accent);
}

.retention-select-option.is-selected {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88));
  box-shadow: inset 0 0 0 2px var(--retention-accent);
  color: var(--retention-accent);
}

.retention-select-option.is-selected::after {
  content: "\2713";
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--retention-accent);
}

.retention-select-option[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.retention-select-option[aria-disabled="true"]:hover {
  background: transparent;
  color: var(--retention-text);
}

.retention-select-hint {
  display: block;
  margin-top: 0.6rem;
  color: #64748b;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.retention-select-wrapper--azure {
  --retention-accent: #2563eb;
  --retention-accent-soft: rgba(37, 99, 235, 0.28);
  --retention-accent-strong: rgba(37, 99, 235, 0.55);
  --retention-trigger-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
  --retention-trigger-hover-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(29, 78, 216, 0.96));
  --retention-trigger-open-bg: linear-gradient(135deg, rgba(29, 78, 216, 1), rgba(30, 64, 175, 0.98));
  --retention-trigger-text: #f8fafc;
  --retention-trigger-hover-text: #f8fafc;
  --retention-trigger-open-text: #f8fafc;
  --retention-trigger-shadow: 0 12px 24px -16px rgba(37, 99, 235, 0.6);
  --retention-trigger-hover-shadow: 0 18px 32px -14px rgba(37, 99, 235, 0.68);
  --retention-trigger-open-shadow: 0 20px 36px -14px rgba(37, 99, 235, 0.72);
  --retention-wrapper-border: rgba(37, 99, 235, 0.55);
  --retention-menu-border: rgba(37, 99, 235, 0.38);
  --retention-menu-shadow: 0 28px 50px -18px rgba(37, 99, 235, 0.6);
}

.retention-select-wrapper--emerald {
  --retention-accent: #16a34a;
  --retention-accent-soft: rgba(22, 163, 74, 0.3);
  --retention-accent-strong: rgba(16, 185, 129, 0.55);
  --retention-trigger-bg: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(16, 185, 129, 0.95));
  --retention-trigger-hover-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.98), rgba(5, 150, 105, 0.96));
  --retention-trigger-open-bg: linear-gradient(135deg, rgba(6, 95, 70, 0.98), rgba(5, 150, 105, 0.96));
  --retention-trigger-text: #ecfdf5;
  --retention-trigger-hover-text: #ecfdf5;
  --retention-trigger-open-text: #ecfdf5;
  --retention-trigger-shadow: 0 12px 24px -16px rgba(16, 185, 129, 0.55);
  --retention-trigger-hover-shadow: 0 18px 32px -14px rgba(16, 185, 129, 0.62);
  --retention-trigger-open-shadow: 0 20px 36px -14px rgba(16, 185, 129, 0.68);
  --retention-wrapper-border: rgba(16, 185, 129, 0.5);
  --retention-menu-border: rgba(16, 185, 129, 0.36);
  --retention-menu-shadow: 0 28px 50px -18px rgba(16, 185, 129, 0.55);
}

.retention-select-wrapper--citrus {
  --retention-accent: #65a30d;
  --retention-accent-soft: rgba(132, 204, 22, 0.32);
  --retention-accent-strong: rgba(101, 163, 13, 0.62);
  --retention-text: #1a2e05;
  --retention-trigger-bg: linear-gradient(135deg, rgba(132, 204, 22, 0.96), rgba(163, 230, 53, 0.96));
  --retention-trigger-hover-bg: linear-gradient(135deg, rgba(163, 230, 53, 0.98), rgba(132, 204, 22, 0.98));
  --retention-trigger-open-bg: linear-gradient(135deg, rgba(101, 163, 13, 0.98), rgba(132, 204, 22, 0.98));
  --retention-trigger-text: #f7fee7;
  --retention-trigger-hover-text: #f7fee7;
  --retention-trigger-open-text: #f7fee7;
  --retention-trigger-shadow: 0 12px 24px -16px rgba(101, 163, 13, 0.55);
  --retention-trigger-hover-shadow: 0 18px 32px -14px rgba(132, 204, 22, 0.58);
  --retention-trigger-open-shadow: 0 20px 36px -14px rgba(77, 124, 15, 0.62);
  --retention-wrapper-border: rgba(132, 204, 22, 0.55);
  --retention-menu-border: rgba(132, 204, 22, 0.42);
  --retention-menu-shadow: 0 28px 50px -18px rgba(101, 163, 13, 0.55);
}

.retention-select-wrapper--citrus .retention-select-arrow {
  background: linear-gradient(135deg, #84cc16, #65a30d);
  box-shadow: 0 12px 26px -14px rgba(101, 163, 13, 0.6);
}

@media (max-width: 576px) {
  .retention-select-wrapper {
    max-width: 100%;
  }

  .retention-select,
  .retention-select-trigger {
    font-size: 0.95rem;
    padding: 0.85rem 3.25rem 0.85rem 1rem;
  }

  .retention-select-menu {
    max-height: 200px;
  }
}

/* Modern info box styling */
.info-box {
  --info-card-radius: 20px;
  --info-header-gradient: var(--primary-gradient);
  --info-header-accent: var(--primary-color);
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--info-card-radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--info-header-gradient);
  border-top-left-radius: var(--info-card-radius);
  border-top-right-radius: var(--info-card-radius);
}

.info-box-header {
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  border-top-left-radius: var(--info-card-radius);
  border-top-right-radius: var(--info-card-radius);
  isolation: isolate;
}

.info-box-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--info-header-gradient);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  z-index: -1;
}

.info-box-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid var(--info-header-accent);
}

.info-box-header h2 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Kaisei Opti', serif;
}

.info-box-header .subtitle {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

.info-box-content {
  padding: 3rem 2.5rem;
  text-align: left;
  line-height: 1.8;
  color: var(--text-dark);
}

.info-box-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
  font-family: 'Kaisei Opti', serif;
}

.info-box-content h4 {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.info-box-content h4::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.8rem;
}

.info-box-content p {
  margin-bottom: 1.25rem;
  color: var(--text-medium);
  font-size: 1rem;
}

.info-box-content ul, .info-box-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-medium);
}

.info-box-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.info-box-content li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.info-box-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.info-box-content a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.info-box-content code {
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact form styling */
.contact-form-link {
  display: inline-flex;
  align-items: center;
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  margin-top: 1rem;
}

.contact-form-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.contact-form-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.contact-form-link:hover::after {
  transform: translateX(4px);
}

/* Responsive design */
@media (max-width: 768px) {
  .info-page {
    padding: 1rem 0.5rem;
  }

  .info-box {
    --info-card-radius: 16px;
    border-radius: var(--info-card-radius);
  }

  .info-box-header {
    padding: 1.5rem 1rem;
  }
  
  .info-box-header h2 {
    font-size: 1.8rem;
  }
  
  .info-box-content {
    padding: 2rem 1.5rem;
  }
  
  .info-box-content h3 {
    font-size: 1.3rem;
  }
  
  .info-box-content h4 {
    font-size: 1.1rem;
  }
}

/* Simple footer with text-only links */
.simple-footer {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.simple-footer a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.simple-footer a:hover {
  text-decoration: underline;
}

/* ===============================================
   Unified Usage Section Styling
   =============================================== */

/* Modern usage card styling for room pages */
.usage-section {
  --usage-card-radius: 20px;
  --usage-header-gradient: var(--primary-gradient);
  --usage-header-accent: rgb(32, 178, 170);
  max-width: 900px;
  margin: 2rem auto;
  background: var(--bg-white);
  border-radius: var(--usage-card-radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}

.usage-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--usage-header-gradient);
  border-top-left-radius: var(--usage-card-radius);
  border-top-right-radius: var(--usage-card-radius);
}

.usage-section-header {
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
  border-top-left-radius: var(--usage-card-radius);
  border-top-right-radius: var(--usage-card-radius);
  isolation: isolate;
}

.usage-section-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--usage-header-gradient);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  z-index: -1;
}

.usage-section-header::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 8px solid var(--usage-header-accent);
}

.usage-section-header h5 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Kaisei Opti', serif;
}

.usage-section-content {
  padding: 2rem 2.5rem;
  text-align: left;
  line-height: 1.7;
  color: var(--text-medium);
}

.usage-section-content p {
  margin: 0;
  font-size: 1rem;
}

.usage-section-content br {
  margin-bottom: 0.5rem;
}

/* Responsive adjustments for usage sections */
@media (max-width: 768px) {
  .usage-section {
    margin: 1rem;
    --usage-card-radius: 15px;
    border-radius: var(--usage-card-radius);
  }
  
  .usage-section-header {
    padding: 1.25rem 1.5rem;
  }
  
  .usage-section-header h5 {
    font-size: 1.3rem;
  }
  
  .usage-section-content {
    padding: 1.5rem 1.75rem;
  }
}

/* ===============================================
   Modern Page Container System
   =============================================== */

.modern-page-container {
  min-height: calc(100vh - 200px);
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(248, 250, 252, 0.8) 100%);
  padding: 2rem 1rem;
}

.modern-content-card {
  --modern-card-radius: 24px;
  --modern-card-header-gradient: var(--primary-gradient);
  --modern-card-header-accent: rgb(32, 178, 170);
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--modern-card-radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}

.modern-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--modern-card-header-gradient);
  border-top-left-radius: var(--modern-card-radius);
  border-top-right-radius: var(--modern-card-radius);
}

.modern-card-header {
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  border-top-left-radius: var(--modern-card-radius);
  border-top-right-radius: var(--modern-card-radius);
  isolation: isolate;
}

.modern-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--modern-card-header-gradient);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  z-index: -1;
}

.modern-card-header::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 12px solid var(--modern-card-header-accent);
}

.modern-card-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Kaisei Opti', serif;
}

.modern-card-body {
  padding: 3rem 2.5rem;
}

/* ===============================================
   Modern Upload Area System
   =============================================== */

.modern-upload-area {
  border: 3px dashed var(--primary-color);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 109, 128, 0.02) 0%, rgba(32, 178, 170, 0.05) 100%);
  text-align: center;
  padding: 3rem 2rem;
  margin: 2rem 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.modern-upload-area::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 109, 128, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-upload-area:hover::before,
.modern-upload-area.dragover::before {
  opacity: 1;
}

.modern-upload-area:hover,
.modern-upload-area.dragover {
  border-color: rgb(32, 178, 170);
  background: linear-gradient(135deg, rgba(0, 109, 128, 0.05) 0%, rgba(32, 178, 170, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 109, 128, 0.15);
}

.upload-icon-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.modern-upload-area:hover .upload-icon-modern {
  transform: scale(1.1);
}

.upload-text-modern {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.upload-button-modern {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 109, 128, 0.3);
}

.upload-button-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 109, 128, 0.4);
}

/* ===============================================
   Modern Room Info System
   =============================================== */

.room-info-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.room-info-card {
  --room-info-header-gradient: var(--primary-gradient);
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.room-info-header {
  color: white;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  position: relative;
  isolation: isolate;
}

.room-info-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--room-info-header-gradient);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  z-index: -1;
}

.room-info-body {
  padding: 0;
}

.room-info-row {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.room-info-row:last-child {
  border-bottom: none;
}

.room-info-label {
  font-weight: 600;
  color: var(--text-dark);
  min-width: 100px;
}

.room-info-value {
  color: var(--text-medium);
  font-family: monospace;
  background: var(--bg-light);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-left: auto;
  font-size: 0.95rem;
}

.qr-code-container {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  text-align: center;
  width: fit-content;
}

.qr-code-container img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===============================================
   Modern Form Elements
   =============================================== */

.modern-form-group {
  margin-bottom: 1.5rem;
}

.modern-form-label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.modern-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.modern-form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 109, 128, 0.1);
}

.modern-editor {
  width: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.3s ease;
  background: var(--bg-white);
  min-height: 300px;
}

.modern-editor:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 109, 128, 0.1);
}

.modern-btn {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 109, 128, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 109, 128, 0.4);
  color: white;
  text-decoration: none;
}

.modern-btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.modern-btn-success:hover {
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  color: white;
  text-decoration: none;
}

/* ===============================================
   Modern File List System
   =============================================== */

.modern-file-list {
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  max-height: 300px;
  overflow-y: auto;
  margin: 1rem 0;
}

.modern-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s ease;
}

.modern-file-item:last-child {
  border-bottom: none;
}

.modern-file-item:hover {
  background: rgba(0, 109, 128, 0.05);
}

.modern-file-name {
  font-weight: 500;
  color: var(--text-dark);
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0; /* Allow shrinking */
}

.modern-file-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.modern-file-icon {
  color: var(--primary-color);
}

.modern-file-actions {
  display: flex;
  gap: 0.5rem;
}

.modern-file-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-medium);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modern-file-action-btn:hover {
  background: var(--border-light);
  color: var(--text-dark);
}

.modern-file-action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* ===============================================
   Responsive Design for Modern Components
   =============================================== */

@media (max-width: 768px) {
  .modern-page-container {
    padding: 1rem 0.5rem;
  }
  
  .modern-content-card {
    border-radius: 16px;
    margin: 0 0.5rem;
  }
  
  .modern-card-header {
    padding: 1.5rem 1rem;
  }
  
  .modern-card-header h1 {
    font-size: 1.6rem;
  }
  
  .modern-card-body {
    padding: 2rem 1.5rem;
  }
  
  .room-info-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .qr-code-container {
    margin: 0 auto;
  }
  
  .modern-upload-area {
    padding: 2rem 1rem;
  }
  
  .upload-icon-modern {
    font-size: 3rem;
  }
  
  .upload-text-modern {
    font-size: 1rem;
  }
  
  .modern-file-item {
    padding: 0.75rem 1rem;
  }
  
  .modern-file-name {
    font-size: 0.9rem;
  }
}

/* ===============================================
   Spinner Styles for Upload Progress
   =============================================== */

.spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.spinner-second-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.spinner-container .icon {
  font-size: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.8s ease-in-out;
}

.spinner-container .file {
  color: #3498db;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1);
  opacity: 1;
}

.spinner-container .lock {
  color: #e74c3c;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  opacity: 0;
}

.spinner-container .upload {
  color: #f39c12;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  opacity: 0;
}

.spinner-container .cloud {
  color: #27ae60;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  opacity: 0;
}

.spinner-container .download {
  color: #17a2b8;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  opacity: 0;
}

.spinner-container .encrypting .file {
  transform: scale(1.5) rotate(360deg);
  opacity: 0;
}

.spinner-container .encrypting .lock {
  transform: scale(1);
  opacity: 1;
}

.spinner-container .uploading .file {
  transform: scale(0.5);
  opacity: 0.3;
}

.spinner-container .uploading .lock {
  transform: scale(0.5);
  opacity: 0.3;
}

.spinner-container .uploading .upload {
  transform: scale(1.5) rotate(360deg);
  opacity: 1;
}

.spinner-container .uploading .cloud {
  transform: scale(1);
  opacity: 1;
}

.spinner-container .downloading .file {
  transform: scale(0.5);
  opacity: 0.3;
}

.spinner-container .downloading .download {
  transform: scale(1.5) rotate(360deg);
  opacity: 1;
}

.spinner-container .text {
  position: absolute;
  bottom: -70px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(90deg, #3498db, #e74c3c, #9b59b6, #f1c40f);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spinner-colorChange 2s linear infinite;
}

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

.spinner-container .progress-bar-container {
  position: absolute;
  bottom: -30px;
  width: 100%;
  height: 10px;
  background-color: #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.spinner-container .progress-bar {
  width: 100%;
  height: 100%;
  background-color: #3498db;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
}

.spinner-container .encrypting .progress-bar {
  width: 100%;
}

.spinner-container .encrypting .text {
  display: block;
}

/* Progress Bar Styles for Group File Sharing */
.progress-bar-container {
  position: relative;
  width: 100%;
  height: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
  border-radius: 5px;
}

/* Site operator page */
.operator-page .info-box {
  max-width: 840px;
  margin: 0 auto;
}

.operator-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.operator-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.operator-details {
  max-width: 520px;
}

.operator-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.operator-description {
  line-height: 1.8;
}

.operator-values,
.operator-message {
  margin-top: 2.5rem;
}

.operator-values ul {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .operator-profile {
    flex-direction: row;
    text-align: left;
  }

  .operator-details {
    max-width: none;
  }
}
