@charset "utf-8";

/* ========== 01 - Settings Layer ========== */

/* ==================== */
/* START: 01-settings/_variables.css */
/* ==================== */
/**
 * Settings Layer - CSS Variables
 */

:root {
  /* Base Color (Gray) */
  --white00: #FFFFFF;
  --gray05: #FAFAFA;
  --gray10: #F7F7F7;
  --gray30: #EEEEEE;
  --gray50: #E6E6E6;
  --gray100: #DBDBDB;
  --gray150: #D2D2D2;
  --gray200: #BDBDBD;
  --gray250: #B0B0B0;
  --gray300: #949494;
  --gray350: #838383;
  --gray500: #676767;
  --gray600: #484848;
  --gray800: #1B1B1B;
  --black850: #000000;

  /* Main Color (Orange) */
  --orange10: #FDF6EF;
  --orange30: #FDEAE0;
  --orange50: #FCE0D3;
  --orange60: #F9C8AD;
  --orange150: #F9C8AD;
  --orange200: #F6AC84;
  --orange250: #F39766;
  --orange280: #F77B39;
  --orange330: #EB5505;
  --orange460: #D23A00;
  --orange500: #BD3500;

  /* Function Color - Blue */
  --blue10: #F2F8FF;
  --blue50: #D6E8FF;
  --blue350: #0182FA;
  --blue460: #006EE4;
  --blue500: #0166C2;

  /* Semantic Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-white: #FFFFFF;

  --text-primary: #1B1B1B;
  --text-secondary: #676767;

  --border-default: #949494;
  --border-light: #E6E6E6;
  --border-blue: #93CDD9;

  --brand-orange: #EB5505;
  --brand-orange-dark: #D23A00;
  --color-highlight: #006EE4;
}
/* ==================== */
/* END: 01-settings/_variables.css */
/* ==================== */



/* ========== 02 - Tools Layer ========== */

/* ========== 03 - Generic Layer ========== */

/* ==================== */
/* START: 03-generic/_reset.css */
/* ==================== */
/**
 * Generic Layer - Reset & Base Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

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

body {
  background-color: var(--white00);
  color: var(--text-primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  
  /* Sticky footer layout */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
}
/* ==================== */
/* END: 03-generic/_reset.css */
/* ==================== */



/* ========== 04 - Elements Layer ========== */

/* ==================== */
/* START: 04-elements/_forms.css */
/* ==================== */
/**
 * Elements Layer - Form Elements
 */

input[type="text"] {
  padding: 12px;
  font-size: 15px;
}

input[type="number"] {
  padding: 12px;
  font-size: 15px;
}

input[type="email"] {
  padding: 12px;
  font-size: 15px;
}

input[type="tel"] {
  padding: 12px;
  font-size: 15px;
}

input[type="text"]:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

input[type="number"]:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

input[type="tel"]:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

input::placeholder {
  color: var(--gray250);
}

input.error {
  border-color: #E53935;
}

select {
  padding: 12px;
  font-size: 15px;
}

select:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

.error-message {
  color: #E53935;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.error-message.show {
  display: block;
}

.error-message-text {
  color: red;
}

.error-message-style {
  text-align: left;
  font-size: 12px;
  font-weight: 100;
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
  cursor: pointer;
}

.help-link {
  color: var(--text-primary);
  text-decoration: underline;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.help-link:hover {
  text-decoration: underline;
}

.help-link::before {
  content: "？";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  color: var(--white00);
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 14px;
}

.help-link-container {
  text-align: right;
  margin-top: 8px;
}

.input-comment {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.input-field-container {
  margin-bottom: 20px;
}

.input-section {
  padding: 16px;
  margin-bottom: 12px;
}

.label-cell {
  text-align: left;
  width: 50%;
  padding-left: 50px;
}

.note-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.selection-guide {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.number-example {
  font-size: 20px;
  font-weight: 400;
  color: var(--gray500);
  letter-spacing: 4px;
  padding: 8px 0;
  flex-shrink: 0;
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  gap: 2px;
}

.number-example span {
  display: inline-block;
  border-bottom: 3px solid var(--brand-orange);
  padding-bottom: 2px;
  min-width: 12px;
  text-align: center;
}

.number-example.no-underline {
  border-bottom: none;
}

.number-example.no-underline span {
  border-bottom: none;
}

.qr-code-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--white00);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  font-size: 10px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.qr-code-placeholder.highlighted {
  border: 3px solid var(--brand-orange);
}

main {
  max-width: 600px;
  margin: 0 auto;
  padding: 10px 14px;
  min-height: calc(100vh - 250px);
  flex: 1 0 auto;
}

charge-card {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: auto;
  overflow-x: visible;
  overflow-y: hidden;
}

detail-row {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: auto;
  position: static;
}

/* メールアドレス入力欄のスタイル */
.email-input-container {
  margin: 15px 0;
}

.email-input-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.email-label {
  flex-shrink: 0;
  width: 200px;
  font-weight: normal;
  margin: 0;
  color: #333;
  font-size: 14px;
}

.email-input {
  flex: 1;
  font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  select {
    font-size: 15px;
    padding: 14px;
  }
}

/* Email input responsive design */
@media (max-width: 768px) {
  .email-input-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .email-label {
    width: 100%;
    margin-bottom: 5px;
  }

  .email-input {
    width: 100%;
    max-width: none;
  }
}

/* Additional responsive design for smaller screens */
@media (max-width: 600px) {
  main {
    padding-bottom: 80px;
  }
}
/* ==================== */
/* END: 04-elements/_forms.css */
/* ==================== */



/* ========== 05 - Objects Layer ========== */

/* ==================== */
/* START: 05-objects/_layout.css */
/* ==================== */
/**
 * Objects Layer - Layout Components
 */

.refresh-area {
  margin-bottom: 0px;
  padding: 2px 0;
}

.section-description {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

.line-select {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-primary);
  background-color: var(--white00);
  border: 1px solid var(--gray300);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.line-select:hover {
  border-color: var(--gray500);
}

.line-select:focus {
  outline: none;
  border-color: var(--blue460);
  box-shadow: 0 0 0 2px rgba(0, 110, 228, 0.1);
}

.line-selection-container {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  margin: 20px 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--gray200);
  border-radius: 4px;
}

.line-selection-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  min-width: 80px;
}

.line-selection-dropdown {
  flex: 1;
  max-width: 400px;
}


.section-title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  text-align: left;
}

.au_title_gray {
  background-color: var(--gray50);
  color: var(--text-primary);
}

.arrow-indicator {
  font-size: 32px;
  color: var(--brand-orange);
  font-weight: 700;
  flex-shrink: 0;
}

.action-link {
  color: var(--color-highlight);
  text-decoration: underline;
  font-size: 12px;
}

.action-link:hover {
  text-decoration: underline;
}

.caution-link {
  color: var(--text-primary);
  text-decoration: underline;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.caution-link::before {
  content: "！";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--text-secondary);
  color: var(--white00);
  font-size: 10px;
  text-align: center;
  line-height: 14px;
  font-weight: bold;
}

.caution-link:hover {
  text-decoration: underline;
}

.caution-link-container {
  text-align: right;
  margin-top: 8px;
}


.line-area {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px;
  margin-bottom: 8px;
}

.line-info {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 12px;
  margin-bottom: 0;
  padding: 8px 30px;
}

.line-info-header {
  text-align: left;
  background-color: var(--gray30);
  border: 1px solid var(--border-default);
}

.line-info-inline {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  text-align: center;
}

.line-number {
  font-weight: bold;
  color: var(--text-primary);
}

.line-selection-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px 0 30px 0;
}

.line-selector {
  width: 150px;
  height: 40px;
  text-align: center;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1.6;
}

.line-text {
  margin: 0;
  padding: 2px 0;
  line-height: 1.3;
}

.link-item {
  margin: 0 0 16px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

.link-list {
  margin: 0;
}

.link-section {
  margin: 0 12px 32px;
  padding: 16px;
}

.plan-icon {
  display: flex;
  align-items: center;
}

.plan-icon-inline {
  display: table-cell;
  vertical-align: middle;
  width: 70px;
}

.phone-selection-area {
  margin-bottom: 6px;
  padding: 0 15px;
}

.phone-selector {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--white00);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23676767' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  border-radius: 6px;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 15px;
  padding-right: 40px;
  padding: 10px 14px;
  width: 100%;
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.toggle-icon.open {
  transform: rotate(180deg);
}

.toggle-link {
  color: var(--color-highlight);
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
}

.toggleable {
  cursor: pointer;
}


.user-id-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-id-text {
  color: var(--text-primary);
  font-weight: bold;
}

.user-info-area {
  display: flex;
  justify-content: flex-end;
  margin: 10px 10px 0 0;
}

.value-cell {
  text-align: left;
}

.user-id {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.link-text {
  color: var(--color-highlight);
  text-decoration: underline;
  font-weight: 500;
}

#contentarea {
  padding: 3px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  #contentarea {
    padding: 10px;
  }

  .input-section {
    padding: 20px 15px;
  }

  .floating-button-container {
    padding: 10px 15px;
  }
}

@media (max-width: 767px) {
  .line-info {
    padding: 6px 15px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .line-selection-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
  }

  .line-selection-label {
    min-width: auto;
  }

  .line-selection-dropdown {
    width: 100%;
    max-width: 100%;
  }
}

/* Desktop responsive design */
@media (min-width: 768px) {
  .service-description,
  .login-section,
  .link-section {
    margin-left: 24px;
    margin-right: 24px;
  }

  .login-button-img {
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .service-description,
  .login-section,
  .link-section {
    margin-left: 32px;
    margin-right: 32px;
  }

  .login-button-img {
    max-width: 360px;
  }
}

/* Logo Image Layout */
.uq-logo-img {
  height: 20px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  align-self: center;
}

/* Timeline and Timestamp Layout */
.timestamp-area {
  margin-bottom: 4px;
  padding: 2px 0;
}

.timestamp {
  font-size: 10px;
}

/* Logo Tab Layout */
.logo-tab-area {
  display: flex;
  gap: 0;
  padding: 0;
  background-color: var(--white00);
  border-bottom: 2px solid var(--border-light);
}

.logo-tab {
  padding: 12px;
}

.logo-tab:hover {
  opacity: 0.7;
}

.logo-tab.active {
  opacity: 1;
  border-bottom-color: var(--brand-orange);
}
/* ==================== */
/* END: 05-objects/_layout.css */
/* ==================== */



/* ========== 06 - Components Layer ========== */

/* ==================== */
/* START: 06-components/_au-components.css */
/* ==================== */
/**
 * Components Layer - AU Specific Components
 */

.au-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-orange);
}

.au-id-display {
  display: flex;
  justify-content: flex-end;
  margin-right: 10px;
  margin-bottom: 10px;
}

.au-id-icon {
  width: 20px;
  height: 18px;
  vertical-align: top;
  margin-top: 2px;
}

.user-id-area {
  flex: 0 0 auto;
}

.au-id-display table {
  border: none;
}

.au-id-display td {
  border: none;
  padding: 0 5px;
  vertical-align: middle;
}
/* ==================== */
/* END: 06-components/_au-components.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_badges.css */
/* ==================== */
/**
 * Components Layer - Badges & Breadcrumbs
 */

.badge {
  display: inline-block;
  padding: 4px 8px;
  background-color: var(--blue50);
  color: var(--blue500);
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  margin-left: 8px;
}

.badge-orange {
  background-color: var(--orange50);
  color: var(--orange500);
}

.breadcrumb-item {
  color: var(--text-secondary);
}

.breadcrumb-item.active {
  color: var(--brand-orange);
  font-weight: 700;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  font-size: 13px;
}

.breadcrumb-separator {
  color: var(--text-secondary);
}

/* レスポンシブ対応 */
@media (max-width: 516px) {
  .breadcrumb-nav {
    flex-wrap: wrap;
    font-size: 11px;
  }
}
/* ==================== */
/* END: 06-components/_badges.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_buttons.css */
/* ==================== */
/**
 * Components Layer - Buttons
 */

.action-button-cell {
  text-align: center;
}

.login-button {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.login-button:hover {
  opacity: 0.8;
}

.login-button-area {
  text-align: center;
}

.login-button-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-section {
  margin: 0 12px 32px;
  padding: 24px 16px;
}

.return-button-area {
  margin-bottom: 20px;
  padding: 20px 0;
}

.btn-refresh {
  background-color: var(--bg-card);
  border-radius: 4px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 11px;
  padding: 3px 8px;
  transition: background-color 0.3s ease;
}

.btn-refresh:hover {
  background-color: var(--bg-secondary);
}

.btn-back {
  background-color: var(--white00);
  border-radius: 6px;
  border: 2px solid var(--border-default);
  box-sizing: border-box;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding-right: 40px;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.btn-back:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
}

.btn-submit {
  background-color: var(--brand-orange);
  border-radius: 6px;
  border: none;
  box-sizing: border-box;
  color: var(--white00);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  min-width: 200px;
  padding-right: 40px;
  padding: 12px;
  position: relative;
  transition: background-color 0.3s ease;
  width: auto;
}

.btn-submit:hover {
  background-color: var(--brand-orange-dark);
}

/* データチャージボタン並列配置 (Issue #25対応) */
.charge-buttons-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-top: 10px;
  background-color: transparent;
  border: none;
}

.btn-charge-inline {
  background-color: var(--brand-orange);
  border-radius: 6px;
  border: none;
  color: var(--white00);
  cursor: pointer;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  padding-right: 40px;
  padding: 14px 20px;
  position: relative;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn-charge-inline:hover {
  background-color: var(--brand-orange-dark);
}

.floating-button-container {
  padding: 10px 16px;
}

.floating-button-container .btn-submit {
  margin: 0;
  max-width: 600px;
  width: 100%;
}

.btn-submit::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
}

.btn-submit:disabled {
  background-color: var(--gray200);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-back::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-charge {
  background-color: var(--brand-orange);
  border-radius: 6px;
  border: none;
  color: var(--white00);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding-right: 40px;
  padding: 12px 16px;
  position: relative;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn-charge::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
}

.btn-charge:hover {
  background-color: var(--brand-orange-dark);
}

.btn-charge-inline::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
}

.btn-charge-inline:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.btn-charge-inline:disabled:hover {
  background-color: var(--brand-orange);
}

.btn-back:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-charge-inline:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-back:disabled:hover {
  background-color: var(--white00);
  border-color: var(--border-default);
}

.btn-charge-inline:disabled:hover {
  background-color: var(--brand-orange);
}

.btn-cancel-inline {
  background-color: var(--gray100);
  border-radius: 6px;
  border: none;
  color: var(--gray600);
  cursor: pointer;
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  padding-right: 40px;
  padding: 14px 20px;
  position: relative;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn-cancel-inline::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
}

.btn-cancel-inline:hover {
  background-color: var(--gray150);
}

.au-gift-lg-btn {
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  min-width: 200px;
  padding-right: 50px;
  padding: 14px 32px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.au-gift-lg-btn::after {
  content: '>';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
}

.au-gift-lg-btn.execute {
  background-color: var(--brand-orange);
  color: var(--white00);
  border: 2px solid var(--brand-orange);
}

.au-gift-lg-btn.execute:hover {
  background-color: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
}

.au-gift-lg-btn:not(.execute) {
  background-color: var(--white00);
  color: var(--text-primary);
  border: 2px solid var(--border-default);
}

.au-gift-lg-btn:not(.execute)::after {
  color: var(--text-primary);
}

.au-gift-lg-btn:not(.execute):hover {
  background-color: var(--gray05);
  border-color: var(--text-primary);
}

.au-main-lg-btn {
  width: 100%;
  max-width: 350px;
  padding: 14px 24px;
  padding-right: 50px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}

.au-main-lg-btn::after {
  content: '>';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
}

.au-main-lg-btn-his {
  padding: 12px 20px;
  padding-right: 40px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 140px;
  display: inline-block;
  text-align: center;
  position: relative;
}

.au-main-lg-btn-his::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
}

.btn-history-toggle {
  background-color: var(--white00);
  color: var(--text-primary);
  border: 2px solid var(--border-default);
  padding: 10px 20px;
  padding-right: 35px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.btn-history-toggle::after {
  content: '>';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-history-toggle.active {
  background-color: var(--brand-orange);
  color: var(--white00);
  border-color: var(--brand-orange);
}

.btn-history-toggle.active::after {
  color: var(--white00);
}

.btn-history-toggle:hover:not(.disabled) {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
}

.btn-history-toggle.active:hover {
  background-color: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
}

.btn-history-toggle.disabled {
  background-color: var(--gray200);
  color: var(--text-secondary);
  border-color: var(--gray200);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-notice:hover {
  background-color: var(--gray50);
}

.toggle-link:hover {
  color: var(--brand-orange-dark);
}

.btn-history-confirm:hover {
  color: var(--brand-orange-dark);
}

.btn-modal-close:hover {
  background-color: var(--brand-orange-dark);
}

.btn-modal-close-x:hover {
  color: var(--text-primary);
}

.btn-modal-close {
  background-color: var(--brand-orange);
  color: var(--white00);
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-modal-close-x {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-history-confirm {
  color: var(--color-highlight);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
}

.toggle-label:after {
  content: "";
  position: absolute;
  left: 0px;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  z-index: 2;
  background: #FFFFFF;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: 0.4s;
}

.toggle-input:checked + .toggle-label:after {
  left: 33px;
}

.toggle-input:checked + .toggle-label-disable:after {
  left: 33px;
}

.toggle-input:disabled + .toggle-label {
  opacity: 0.4;
}

.toggle-input:disabled:checked + .toggle-label:after {
  opacity: 0.4;
}

.btn-notice {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-area {
  padding: 0 10px;
}

.button-area.center-button {
  display: flex;
  justify-content: center;
}

.button-area.center-button .btn-submit {
  width: 100%;
  text-align: center;
  min-width: 200px;
  padding-right: 40px;
}

.button-area.center-button .btn-back {
  width: auto;
  min-width: 200px;
  padding-left: 40px;
  padding-right: 40px;
}

.button-area-mobile-spacing {
  padding-top: 20px;
}

.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.button-row .btn-back {
  margin-top: 0;
  width: auto;
  flex: 1;
  min-width: 120px;
}

.button-row .btn-submit {
  margin-top: 0;
  width: auto;
  flex: 1;
  min-width: 120px;
}

.button-row.center {
  justify-content: center;
}

.button-cell {
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .charge-buttons-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-cancel-inline {
    padding: 12px 16px;
    padding-right: 40px;
    font-size: 14px;
  }

  .step-marker::after {
    font-size: 9px;
    top: 14px;
  }
}

/* Option Button System */
.option-button {
  padding: 10px;
  margin-bottom: 8px;
}

.option-button:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-default);
}

.option-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.option-text {
  font-size: 13px;
}

/* Option Button Responsive */
@media (max-width: 600px) {
  .option-button {
    padding: 10px;
    gap: 10px;
  }

  .option-icon {
    width: 32px;
    height: 32px;
  }

  .option-text {
    font-size: 13px;
  }
}
/* ==================== */
/* END: 06-components/_buttons.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_capacity.css */
/* ==================== */
/**
 * Components Layer - MonthCapacity & Data Usage UI
 */

.kurikoshi_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.kurikoshi_table td {
  vertical-align: middle;
  padding: 12px;
  border: 1px solid var(--border-default);
}

.kurikoshi_plan_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.kurikoshi_plan_table td {
  vertical-align: middle;
  padding: 12px;
  border: 1px solid var(--border-default);
}

.speed-mode-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0;
}

.speed-mode-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.toggle-switch {
  position: relative;
  width: 55px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-input {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.toggle-label {
  width: 55px;
  height: 22px;
  background: blue;
  position: relative;
  display: inline-block;
  border-radius: 26px;
  transition: 0.4s;
  box-sizing: border-box;
}

.toggle-input:checked + .toggle-label {
  background-color: #ff3399;
}

.capacity-explanation {
  margin: 20px 0;
}

.explanation-box {
  background-color: var(--gray30);
  padding: 12px;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.capacity-breakdown {
  margin: 20px 0;
}

.capacity-label {
  font-weight: bold;
}

.capacity-amount {
  font-size: 16px;
  color: var(--text-primary);
}

.capacity-value {
  background-color: var(--bg-card);
  min-width: 149px;
}

.capacity-total-row {
  text-align: center;
}

.capacity-total {
  font-weight: bold;
}

.capacity-notice {
  text-align: left;
  width: 100%;
  max-width: 600px;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 10px 0 20px 0;
}

.capacity-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  table-layout: fixed;
  border: 1px solid var(--border-default);
}

.capacity-data-table th {
  background-color: var(--gray30);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  padding: 12px 8px;
  text-align: center;
  font-weight: bold;
}

.capacity-data-table td {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: 13px;
  vertical-align: middle;
  word-wrap: break-word;
}

.breakdown-category {
  background-color: var(--gray30) !important;
  color: var(--text-primary);
  padding: 12px;
}

.breakdown-category.toggle {
  background-color: var(--gray30) !important;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.breakdown-category.toggle:hover {
  background-color: var(--orange50);
}

/* Desktop responsive design */
@media (min-width: 768px) {
  .capacity-explanation,
  .capacity-breakdown,
  .notices-section {
    margin-left: 24px;
    margin-right: 24px;
  }

  .explanation-box {
    padding: 16px;
  }

  .line-selector {
    width: 200px;
  }
}

@media (min-width: 1024px) {
  .capacity-explanation,
  .capacity-breakdown,
  .notices-section {
    margin-left: 32px;
    margin-right: 32px;
    max-width: 800px;
  }

  .explanation-box {
    padding: 20px;
  }

  .breakdown-label {
    max-width: 800px;
  }

  .capacity-notice {
    max-width: 800px;
  }
}
/* ==================== */
/* END: 06-components/_capacity.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_cards.css */
/* ==================== */
/**
 * Components Layer - Cards
 */

.panel {
  border-radius: 6px;
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  overflow: hidden;
}

.panel-gray {
  border-color: var(--gray300);
}

.panel-heading {
  border-bottom: 1px solid var(--border-light);
  padding: 12px 16px;
}

.charge-card {
  background-color: var(--white00);
  border-radius: 8px;
  border: 2px solid var(--border-light);
  box-sizing: border-box;
  cursor: pointer;
  height: auto;
  margin-bottom: 15px;
  max-width: 100%;
  min-height: auto;
  overflow-x: visible;
  overflow-y: hidden;
  padding: 20px;
  transition: all 0.3s ease;
  width: 100%;
}

.charge-card:hover {
  border-color: var(--border-default);
  background-color: var(--bg-secondary);
}

.charge-card.active {
  border-color: var(--brand-orange);
  background-color: var(--orange10);
}

.charge-option {
  align-items: flex-start;
  display: flex;
  gap: 15px;
}

.radio-button {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-default);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.radio-button.active {
  border-color: var(--brand-orange);
  background-color: var(--white00);
}

.radio-button.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--brand-orange);
  border-radius: 50%;
}

.charge-option-content {
  flex: 1;
}

.charge-option-title {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.charge-option-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.charge-details {
  border-top: 1px solid var(--border-light);
  box-sizing: border-box;
  display: none;
  height: auto;
  margin-top: 15px;
  max-width: 100%;
  overflow-x: visible;
  overflow-y: hidden;
  padding-top: 15px;
  position: static;
  width: 100%;
}

.charge-details.show {
  display: block;
}

.detail-row {
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  height: auto;
  justify-content: space-between;
  line-height: 1.4;
  max-width: 100%;
  min-height: 40px;
  overflow-x: visible;
  overflow-y: hidden;
  padding: 12px 0;
  position: static;
  width: 100%;
}

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

.detail-label {
  background-color: var(--gray600) !important;
  color: var(--white00);
  text-align: center;
  vertical-align: middle;
  width: 10%;
}

.detail-value {
  color: var(--text-primary);
  flex-shrink: 1;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
}

.detail-value.highlight {
  color: var(--brand-orange);
  font-size: 18px;
  font-weight: 700;
}

.data-card {
  padding: 3px;
  margin-bottom: 6px;
}

.data-row {
  line-height: 1.0;
  margin: 0;
  padding: 0px 0;
}

.data-label {
  font-size: 8px;
}

.data-value {
  font-size: 11px;
}

.data-value-large {
  font-size: 22px;
}

.data-unit {
  font-size: 13px;
}

.data-total {
  border-top: 2px solid var(--border-light);
  padding-top: 10px;
  margin-top: 5px;
}

.data-note {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 5px;
}

.card-example {
  align-items: center;
  background-color: var(--gray30);
  border-radius: 8px;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  padding: 20px;
}

.caption-gray {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pending-info {
  margin: 20px 0;
}

.pending-message {
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.6;
}

.present-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.present-label {
  font-weight: bold;
  color: var(--text-primary);
  min-width: 100px;
  flex-shrink: 0;
}

.present-value {
  color: var(--text-primary);
  word-break: break-all;
}

.price-display {
  color: var(--brand-orange);
  font-size: 18px;
  font-weight: bold;
}

.price-highlight {
  color: var(--brand-orange);
  font-weight: 700;
}

.result-message {
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray800);
}

.result-subtitle {
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: center;
  font-size: 14px;
  color: var(--gray800);
}

.service-description {
  margin: 0 12px 24px;
  padding: 16px;
  background-color: var(--bg-light);
  border-radius: 8px;
}

.service-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

.tel-number {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.tel-number-inline {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .data-value-large {
    font-size: 20px;
  }

  .card-example {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 516px) {
  .caption-gray {
    font-size: 16px;
  }
}

/* Email Information Card System */
.email-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
}

.email-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.email-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
/* ==================== */
/* END: 06-components/_cards.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_charge-components.css */
/* ==================== */
/**
 * Components Layer - Charge Related Components
 */

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .charge-card {
    padding: 12px;
  }

  .charge-option {
    gap: 10px;
  }

  .charge-option-title {
    font-size: 14px;
    margin-bottom: 3px;
  }

  .charge-option-description {
    font-size: 12px;
    line-height: 1.4;
  }

  .charge-details {
    margin-top: 12px;
    padding-top: 12px;
  }

  .detail-row {
    padding: 6px 0;
    flex-wrap: nowrap;
    min-height: 32px;
  }

  .detail-label {
    font-size: 11px;
    max-width: 42%;
    line-height: 1.25;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .detail-value {
    font-size: 11px;
    max-width: 58%;
    line-height: 1.25;
  }

  .detail-value select {
    font-size: 10.5px;
    padding: 4px 6px;
    height: 30px;
    padding-right: 26px;
    background-position: right 5px center;
  }

  .qr-code-placeholder {
    width: 70px;
    height: 70px;
  }

  .number-example {
    font-size: 16px;
    letter-spacing: 2px;
    gap: 1px;
  }

  .number-example span {
    min-width: 10px;
  }

  .arrow-indicator {
    font-size: 24px;
  }

  /* カードサンプルの600px対応 */
  .card-example {
    flex-direction: column;
    gap: 15px;
  }

  .btn-charge-inline {
    padding: 12px 16px;
    padding-right: 40px;
    font-size: 14px;
  }
}
/* ==================== */
/* END: 06-components/_charge-components.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_data-display.css */
/* ==================== */
/**
 * Components Layer - Data Display Components
 */

.data-amount-header {
  margin-top: 8px;
  padding: 12px;
  margin-bottom: 0;
  background-color: transparent;
  border: none;
}

.data-breakdown {
  margin-top: 10px;
}

.data-breakdown-container {
  margin-top: 0px;
}

.data-capacity-display {
  color: var(--brand-orange);
  font-size: 18px;
  font-weight: bold;
  vertical-align: -5px;
}

.data-share-container {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 2px;
  margin-bottom: 5px;
}

.data-share-list {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: none;
  padding: 10px;
  margin-bottom: 5px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .data-capacity-display {
    font-size: 16px;
  }
}

/* Phone Number Display System */
.phone-list {
  margin-bottom: 15px;
}

.phone-item {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-primary);
}

.phone-item-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 1px 0;
  font-size: 11px;
  line-height: 1.2;
  color: var(--text-primary);
  gap: 6px;
}

.phone-number-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
}

.phone-number-link:hover {
  text-decoration: underline;
}

.phone-plan {
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: 8px;
}

.phone-item-horizontal .phone-plan {
  margin-left: 0;
  flex: 1;
  min-width: 0;
}

/* Line Title Display */
.line-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
/* ==================== */
/* END: 06-components/_data-display.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_footer.css */
/* ==================== */
/**
 * Components Layer - Footer Components
 */

footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  margin-top: 24px;
  padding: 20px 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-link {
  color: var(--color-highlight);
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.copyright {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-top {
  padding: 0px 25px;
  float: right;
}

/* Additional responsive design for smaller screens */
@media (max-width: 516px) {
  .footer-top {
    padding: 0px 10px;
    float: right;
  }
}
/* ==================== */
/* END: 06-components/_footer.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_gift-system.css */
/* ==================== */
/**
 * Components Layer - Gift System Components
 */

.gift-after-capacity {
  border-top: 1px solid var(--border-light);
}

.gift-arrow-down {
  text-align: center;
  margin: 10px 0;
}

.gift-arrow-down img {
  width: auto;
  height: auto;
}

.gift-box-cell-inline {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.gift-box-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100%;
}

.coupon_emphasis_midium {
  font-weight: bold;
  color: var(--text-primary);
}

.gift-button-area {
  margin: 20px 0 50px;
  max-width: 750px;
}

.button-table {
  width: 50%;
  border-collapse: separate;
  border-spacing: 15px 0;
  margin: 0 auto;
  max-width: 600px;
}

.gift-box-icon {
  border: 1px solid var(--gray300);
  border-radius: 4px;
  display: inline-block;
  padding: 5px 0 5px 5px;
  width: 120px;
}

.gift-box-cell-desktop {
  width: 130px;
  text-align: center;
  padding: 5px 0 5px 5px;
}

.mobile-gift-box-cell {
  text-align: center !important;
  padding: 5px;
}

.gift-box-mobile-spacing {
  margin-bottom: 5px;
}

.gift-input-field {
  width: 100%;
  max-width: 300px;
  height: 40px;
  font-size: 14px;
  text-align: left;
}

.gift-choice-section {
  text-align: center;
}

.gift-input-content {
  background-color: var(--gray05);
  max-width: 750px;
  margin: 0 auto;
  padding: 10px 0;
}

.gift-color-gray {
  color: var(--gray600);
  margin-right: 8px;
}

.gift-color-red {
  color: var(--brand-orange);
}

.gift-color-uq {
  color: var(--color-highlight);
}

.gift-confirm-container {
  max-width: 750px;
  margin: 0 auto;
}

.gift-confirm-content {
  background-color: var(--gray05);
  padding: 10px 0;
  max-width: 750px;
  margin: 0 auto;
}

.gift-data-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.gift-detail-box {
  width: 100%;
  background-color: var(--white00);
  border-top: 0;
  padding: 10px 5px;
  margin-top: 0;
  text-align: center;
}

.gift-detail-footer {
  text-align: left;
  width: 100%;
  max-width: 550px;
  margin: 10px auto 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.gift-detail-note {
  text-align: left;
  margin-bottom: 10px;
}

.gift-detail-note.mobile-hidden {
  padding: 0 25px;
}

.gift-detail-hidden {
  display: none;
}

.gift-input-section {
  margin: 20px 0;
}

.detail-th-left {
  text-align: left;
}

.gift-detail-panel {
  width: 100%;
  max-width: 600px;
  background-color: var(--white00);
  border: 1px solid var(--border-default);
  border-top: 0;
  padding: 10px 5px;
  margin: 0 auto;
}

.gift-detail-table {
  width: 100%;
  max-width: 550px;
  margin: 0 auto 10px auto;
  border-collapse: collapse;
}

.gift-direction-buttons {
  margin: 20px 0;
}

.gift-direction-buttons .table {
  margin-bottom: 0;
}

.gift-execute-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 15px;
}

.gift-execute-content {
  text-align: center;
}

.execute-success-message {
  text-align: left;
  font-size: 16px;
  padding-top: 10px;
  margin-bottom: 20px;
}

.gift-error-text {
  text-align: center;
  color: red;
}

.gift-success-color {
  color: #0066aa;
}

.gift-execute-error-text{
  text-align: left;
  color: red;
  font-size: 12px;
  font-weight: 100;
  margin-top: 10px;
}

.gift-icon {
  width: 33px;
  height: auto;
}

.gift-icon-img {
  width: 36px;
}

.gift-info-badge {
  background-color: var(--brand-orange);
  color: var(--white00);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.common-content {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--border-light);
}

.common-content-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.common-content-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
}

.common-content-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.confirm-instruction {
  text-align: left;
  font-size: 16px;
  padding: 10px 15px 0;
  margin-bottom: 0;
}

.gift-inner-table {
  width: 100%;
  border: none;
  border-collapse: collapse;
}

.gift-inner-table td {
  border: none;
  padding: 5px;
}

.gift-inner-table td.name {
  width: 50px;
  text-align: center;
  border-right: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 10px 5px;
}

.gift-inner-table td.info {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--border-default);
}

.contract-type {
  color: var(--text-secondary);
  font-size: 13px;
}

.coupon-action-area {
  display: block;
  padding: 20px 0;
}

.coupon-action-btn {
  display: inline-block;
  text-decoration: none;
  width: auto;
  min-width: 240px;
}

.coupon-details-row td {
  padding: 16px 20px;
  background-color: var(--gray10) !important;
}

.coupon-history-container {
  width: 100%;
  max-width: 750px;
}

.gift-input-container {
  max-width: 750px;
  margin: 0 auto;
}

.gift-input-example {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 2px;
}

.gift-input-instruction {
  text-align: left;
  font-size: 16px;
  padding: 10px 15px 0;
  margin-bottom: 0;
}

.coupon-present-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-amount {
  background-color: var(--bg-card);
  text-align: center;
  min-width: 149px;
}

.detail-link {
  text-align: right;
  margin-top: 10px;
}

.detail-link a {
  color: var(--color-highlight);
  text-decoration: none;
  font-size: 13px;
}

.detail-link a:hover {
  text-decoration: underline;
}

.gift-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gift-message {
  color: var(--text-secondary);
  font-size: 0.9em;
  margin-top: 4px;
}

.gift-notice {
  text-align: left;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-primary);
}

.detail-row-height-40 {
  height: 40px;
}

.detail-row-height-50 {
  height: 50px;
}

.detail-td-center {
  text-align: center;
}

.detail-th-center {
  text-align: center;
}

.detail-value select {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  padding: 8px 12px;
  height: 36px;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23676767' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-title {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
}

.input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}



.gift-remaining-red {
  color: var(--brand-orange);
}

.gift-section {
  margin: 10px 0;
  background-color: var(--gray05);
  border-radius: 8px;
  padding: 16px;
}

.gift-section-center {
  text-align: center;
}

.disabled-text {
  color: var(--text-secondary) !important;
}

.form-control.au-select {
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 8px;
  background-color: var(--white00);
  cursor: pointer;
}

.form-control.au-text {
  border: 1px solid var(--border-default);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
}

.form-control.au-select:focus {
  outline: none;
  border-color: var(--brand-orange);
}

.form-control.au-text:focus {
  outline: none;
  border-color: var(--brand-orange);
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 10px 14px;
}

.gift-sender-info {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.gift-size-orange {
  color: var(--brand-orange-dark);
  font-size: 18px;
}

.gift-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  margin-bottom: 20px;
  table-layout: fixed;
}

.gift-table th {
  background-color: var(--gray600);
  color: var(--white00);
  padding: 12px 8px;
  text-align: center;
  font-weight: bold;
}

.gift-table td {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--gray300);
  color: var(--text-primary);
  font-size: 13px;
  vertical-align: middle;
  word-wrap: break-word;
}

.gift-table .disabled-row {
  background-color: var(--gray10);
  color: var(--text-secondary);
}

.gift-table label {
  cursor: pointer;
}

.gift-table input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.gift-table th * {
  color: var(--white00);
}

.gift-table-confirm {
  width: 100%;
  max-width: 550px;
  margin: 10px auto;
}

.gift-table-confirm2 {
  width: 100%;
  max-width: 550px;
  margin: 10px auto;
}

.gift-table-header-row {
  text-align: center;
  height: 40px;
}

.gift-table-recipient {
  width: 100%;
  margin-bottom: 0;
  border: 1px solid var(--gray300);
  border-collapse: collapse;
}

.gift-table-sender {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid var(--gray300);
  border-collapse: collapse;
}

.gift-table-recipient td {
  padding: 5px;
  border: none;
}

.gift-table-recipient th {
  background-color: var(--gray600);
  color: var(--white00);
  padding: 10px;
}

.gift-table-sender td {
  padding: 5px;
  border: none;
}

.gift-table-sender th {
  text-align: center;
  background-color: var(--gray600);
  color: var(--white00);
  padding: 10px;
  border: 1px solid var(--gray300);
}

.gift-toggle-cell-center {
  border-left: 0;
  border-right: 0;
}

.gift-toggle-cell-left {
  width: 31px;
  border-right: 0;
}

.gift-toggle-cell-right {
  width: 31px;
  border-left: 0;
}

.gift-warning-message {
  text-align: center;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 400;
  margin-top: 10px;
  padding: 0 15px;
}

.gift-warning-red {
  color: var(--brand-orange);
}

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

.topping-action {
  margin-top: 4px;
}

.topping-card {
  background-color: var(--white00);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.topping-card:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-default);
}

.topping-card-highlight {
  background-color: #fff4e6;
}

.topping-content {
  margin-bottom: 8px;
}

.topping-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

.topping-detail-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.topping-detail-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
}

.topping-header {
  margin-bottom: 4px;
}

.topping-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.topping-section {
  margin-top: 6px;
  padding: 0 15px;
}

.topping-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.button-link {
    text-decoration: none;
}

.gift-execute-btn-submit {
  background-color: var(--white00);
  border-radius: 6px;
  border: 2px solid var(--border-default);
  box-sizing: border-box;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding-right: 40px;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
}

.gift-execute-btn-submit::after {
  content: '>';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.button-row .gift-execute-btn-submit {
  margin-top: 0;
  width: auto;
  flex: 1;
  min-width: 120px;
}

/* レスポンシブ対応 */
@media (max-width: 516px) {
  .giftinputcaption {
    flex-direction: column;
    align-items: flex-start;
  }

  .gift-table {
    font-size: 12px;
  }

  .tel-number {
    font-size: 13px;
  }

  .confirm-instruction {
    font-size: 14px;
  }

  .gift-detail-note.mobile-hidden {
    padding: 0 10px;
  }
}

@media (max-width: 600px) {
  .topping-card {
    padding: 8px;
  }

  .topping-title {
    font-size: 13px;
  }

  .topping-detail {
    padding: 4px 0;
  }

  .topping-detail-label,
  .topping-detail-value {
    font-size: 12px;
  }

  .topping-price {
    font-size: 13px;
  }

  .phone-selector {
    font-size: 14px;
    padding: 8px 12px;
    padding-right: 36px;
  }

  .phone-selection-area {
    margin-bottom: 6px;
  }

  .topping-section {
    margin-top: 6px;
  }

  .topping-header {
    margin-bottom: 3px;
  }

  .topping-content {
    margin-bottom: 6px;
  }

  .topping-action {
    margin-top: 4px;
  }
}

@media (max-width: 768px) {
  .button-table {
    border-spacing: 0;
    width: 100%;
  }

  .au-gift-lg-btn {
    width: 100%;
    max-width: 350px;
  }

  .gift-sender-info {
    flex-direction: column;
    gap: 4px;
  }

  .gift-data-amount {
    flex-direction: column;
    gap: 4px;
  }

  .gift-icon {
    width: 25px;
  }

  .carrier-logo {
    width: 30px;
  }

  .coupon-present-info {
    gap: 6px;
  }

  .present-item {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .present-label {
    min-width: auto;
    font-size: 12px;
  }

  .present-value {
    padding-left: 8px;
    font-size: 13px;
  }

  .gift-input-instruction {
    font-size: 14px;
  }

  .input-comment {
    font-size: 11px;
  }

  .gift-input-field {
    max-width: 100%;
  }

  .gift-box-icon {
    margin: 0 auto;
  }

  .execute-success-message {
    font-size: 14px;
  }

  .label-cell {
    padding-left: 20px;
  }

  .result-message {
    font-size: 14px;
  }

  .coupon-details-row td {
    padding: 12px 8px;
  }

  .price-display {
    font-size: 16px;
  }
}
/* ==================== */
/* END: 06-components/_gift-system.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_header.css */
/* ==================== */
/**
 * Components Layer - Header & Navigation
 */

.header-secondary-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.history-selector-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
}


.history-selector {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--white00);
  border: 2px solid var(--border-default);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='%23484848' d='M4 6l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.history-selector:hover {
  border-color: var(--brand-orange);
  background-color: var(--gray05);
}

.history-selector:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

.history-selector option {
  padding: 8px;
  font-size: 14px;
}

#header {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.header-primary {
  padding: 6px;
}

.header-secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 10px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.header-secondary-left {
  flex: 0 0 auto;
}

.adaptive-logo-area {
  margin-bottom: 3px;
}

.logo-container {
  width: 70px;
}

.logo-img-small {
  height: 20px;
  width: auto;
}

.logos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-cell-width {
  width: 70px;
}

.carrier-logo {
  width: 40px;
  height: auto;
}

.charge-info {
  background-color: var(--bg-secondary);
  border-radius: 6px;
  padding: 12px;
  margin-top: 15px;
}

.charge-info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.charge-info-label {
  color: var(--text-secondary);
}

.charge-info-value {
  font-weight: 600;
  color: var(--text-primary);
}

.panel-heading .toggle-link {
  font-size: 10px;
}

.panel-heading a {
  font-size: 10px;
}

.icon-id {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

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

.line-logo {
  width: auto;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.logo-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.logo-area .logo-img {
  height: 22px;
  width: auto;
}

.site-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 6px;
}

.uq-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-highlight);
}

.user-id-display .icon-id {
  width: 20px;
  height: 18px;
  object-fit: contain;
}

img[src*="logo_uq_yoko"],
#uqLogoTab img {
  height: 20px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  align-self: center;
}

.logo-tab img:not([src*="logo_uq"]) {
  height: 24px;
  margin-bottom: 3px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.logo-tab-area img:not([src*="logo_uq"]):not([alt*="UQ"]) {
  height: 24px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 3px;
}


.adaptive-logo-area img {
  display: block;
  height: 20px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

@media (max-width: 600px) {
  .logo-tab {
    padding: 8px 6px;
  }
}

@media (max-width: 767px) {
  .history-selector-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }

  .history-selector-label {
    font-size: 13px;
  }

  .history-selector {
    min-width: auto;
    max-width: 100%;
    font-size: 13px;
    padding: 8px 12px;
    padding-right: 36px;
  }

  .history-tabs {
    flex-direction: column;
  }

  .history-tab {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .history-tab:last-child {
    border-bottom: none;
  }
}
/* ==================== */
/* END: 06-components/_header.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_modal.css */
/* ==================== */
/**
 * Components Layer - Modal & Popup System
 */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background-color: var(--white00);
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  padding-right: 40px;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
/* ==================== */
/* END: 06-components/_modal.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_notices.css */
/* ==================== */
/**
 * Components Layer - Notice & Alert System
 */

.alert-info {
  margin: 0 0 24px;
  padding: 16px;
  background-color: #FFF5F3;
  border: 1px solid #E40000;
  border-radius: 8px;
}

.alert-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #E40000;
  line-height: 1.5;
}

.alert-warning-spacing {
  margin-top: 15px;
  text-align: center;
}

.notice-area {
  flex: 0 0 auto;
}

.notice-body {
  padding: 16px;
  background-color: var(--bg-white);
}

.notice-content {
  background-color: var(--gray05);
  border-radius: 8px;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 16px 0;
  padding: 16px;
  word-wrap: break-word;
}

.notice-text {
  color: #d32f2f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  padding: 16px;
  text-align: center;
}

.important-title {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-orange-dark);
}

.important-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-orange-dark);
  line-height: 1.5;
}


.notice-date::before {
  color: var(--brand-orange);
  margin-right: 4px;
}

.notice-content p {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-primary);
}

.notice-date {
  color: var(--text-secondary);
  flex-shrink: 0;
  font-size: 13px;
  min-width: 100px;
  white-space: nowrap;
}

.notice-link:hover {
  color: var(--brand-orange-dark);
  text-decoration: underline;
}

.notice-more-link:hover {
  color: var(--brand-orange-dark);
}

.link-text:hover {
  color: var(--brand-orange-dark);
  text-decoration: underline;
}


.notice-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.notice-list li:last-child {
  margin-bottom: 0;
}

.link-item:last-child {
  margin-bottom: 0;
}

.notice-item {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.notice-link {
  color: var(--color-highlight);
  text-decoration: underline;
  font-weight: 500;
}

.notice-list {
  list-style-type: disc;
}

.notice-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-primary);
}

.notice-more {
  text-align: right;
}

.notice-more-link {
  font-size: 13px;
  color: var(--color-highlight);
  text-decoration: underline;
  font-weight: 500;
}

.notice-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.notice-section {
  border: 1px solid var(--border-default);
  border-radius: 8px;
  margin: 16px 12px 24px;
  overflow: hidden;
}

.notice-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.notice-toggle {
  margin: 20px 0;
}

.notices-section {
  margin-top: 20px;
}

.notice-header {
  background-color: var(--bg-warning);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
}

.notice-empty {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  padding: 16px;
}

.notice-info {
  margin: 0 12px 24px;
  padding: 16px;
  background-color: #FFF5F5;
  border: 1px solid #FFCDD2;
  border-radius: 8px;
}

/* Desktop responsive design */
@media (min-width: 768px) {
  .notice-section,
  .notice-info {
    margin-left: 24px;
    margin-right: 24px;
  }

  .notice-date {
    min-width: 120px;
  }
}

@media (min-width: 1024px) {
  .notice-section,
  .notice-info {
    margin-left: 32px;
    margin-right: 32px;
  }
}
/* ==================== */
/* END: 06-components/_notices.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_step-components.css */
/* ==================== */
/**
 * Components Layer - Step Charge Components
 */

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .step-charge-section {
    padding: 8px;
  }

  .line-area {
    padding: 4px;
    margin-bottom: 6px;
  }
}
/* ==================== */
/* END: 06-components/_step-components.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_steps.css */
/* ==================== */
/**
 * Components Layer - Step Progress Indicators
 */

.step-labels {
  position: relative;
  margin-top: 8px;
  height: 16px;
}

.step-label {
  position: absolute;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.step-label .unit {
  display: inline;
}

.step-label.hide-unit .unit {
  display: none;
}

.step-charge-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 5px;
  margin-bottom: 5px;
}

.step-charge-header {
  margin-bottom: 2px;
}

.step-charge-title-line1,
.step-charge-title-line2 {
  font-size: 11px;
  line-height: 1.1;
  color: var(--text-secondary);
}

.step-charge-title-line2-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-charge-remaining {
  white-space: nowrap;
}

.step-charge-current {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.step-progress-container {
  position: relative;
  margin-bottom: 2px;
  margin-top: 3px;
}

.step-progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--gray100);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  background-color: var(--brand-orange);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.wait-time-message {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: -8px;
  margin-bottom: 8px;
}
/* ==================== */
/* END: 06-components/_steps.css */
/* ==================== */



/* ==================== */
/* START: 06-components/_tables.css */
/* ==================== */
/**
 * Components Layer - Tables & History System
 */

.history_td1 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td2 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td3 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td4 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td5 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td6 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td7 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history_td8 {
  padding: 8px;
  border: 1px solid var(--border-light);
}

.history-tabs {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  display: flex;
  margin-bottom: 20px;
  overflow: hidden;
}

.history-tab {
  flex: 1;
  padding: 14px 12px;
  background-color: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.history-tab.active {
  background-color: var(--brand-orange);
  color: var(--white00);
}

.history-container {
  max-width: 750px;
  margin: 0 auto;
  padding: 12px;
}

.history-description {
  color: var(--text-primary);
  font-size: 14px;
  margin: 20px 0;
  padding-left: 20px;
  text-align: left;
}

.history-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin: 20px 0;
}

.history-action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.history-back-button-area {
  text-align: center;
  margin: 30px 0 20px 0;
}

.data-table tbody tr:nth-child(odd) td:not(.breakdown-category):not(.detail-label):not(.detail-description):not(.capacity-label) {
  background-color: var(--gray05);
}

.data-table tbody tr:nth-child(even) td:not(.breakdown-category):not(.detail-label):not(.detail-description):not(.capacity-label) {
  background-color: var(--white00);
}

.data-table tbody tr:nth-child(odd) th:not(.breakdown-category):not(.detail-label):not(.detail-description):not(.capacity-label) {
  background-color: var(--gray05);
}

.data-table tbody tr:nth-child(even) th:not(.breakdown-category):not(.detail-label):not(.detail-description):not(.capacity-label) {
  background-color: var(--white00);
}

.gift-table tbody tr:nth-child(odd) td {
  background-color: var(--gray05);
}

.gift-table tbody tr:nth-child(even) td {
  background-color: var(--white00);
}


.phone-selector:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(235, 85, 5, 0.1);
}

.topping-detail:last-child {
  border-bottom: none;
}

.history-tab:last-child {
  border-right: none;
}

.history-detail-container {
  background-color: var(--white00);
  border-top: 1px solid var(--border-light);
}

.history-detail-hidden {
  display: none;
}


.history-selector-label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}


.history-tab:hover:not(.active) {
  background-color: var(--gray30);
  color: var(--text-primary);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  table-layout: fixed;
}

.data-table th {
  background-color: var(--gray600);
  color: var(--white00);
  padding: 12px 8px;
  text-align: center;
  font-weight: bold;
}

.data-table td {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--gray300);
  color: var(--text-primary);
  font-size: 13px;
  vertical-align: middle;
  word-wrap: break-word;
}

.breakdown-amount {
  background-color: var(--bg-card);
  text-align: center;
  min-width: 149px;
  font-weight: bold;
}

.breakdown-label {
  max-width: 600px;
  margin: 20px 0 10px 0;
  text-align: left;
}

.breakdown-row {
  height: 70px;
}

.breakdown-detail {
  height: 70px;
}


.detail-description {
  color: var(--text-primary);
  padding: 8px 12px;
}

.history-tab-content {
  display: none;
}

.history-tab-content.active {
  display: block;
}

.history-empty-icon {
  font-size: 48px;
  color: var(--gray300);
  margin-bottom: 16px;
  display: block;
}

.data-unit-display {
  margin-top: 3px;
  font-weight: bold;
  color: var(--text-primary);
}

.data-table th * {
  color: var(--white00);
}

.history_data_gift {
  font-weight: bold;
  margin-top: 20px;
}

.history_data_gift .glyphicon-stop {
  margin-right: 8px;
  color: inherit;
}

.history_td2.mobile_show {
  background-color: #fff5ef;
  font-weight: bold;
  font-size: 12px;
}

.history_td5.mobile_show {
  background-color: #fff5ef;
  font-weight: bold;
  font-size: 12px;
}

.history_td7.mobile_show {
  background-color: #fff5ef;
  font-weight: bold;
  font-size: 12px;
}

.history_td8.mobile_show {
  background-color: #fff5ef;
  font-weight: bold;
  font-size: 12px;
}


#list-multi-title td {
  height: 60px;
  vertical-align: middle;
}

.charge-history-header-text {
  margin-left: 5px;
  margin-bottom: -5px;
}

.charge-result-table {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  margin-top: 0;
  border: 0;
  border-collapse: collapse;
}

.charge-result-table tbody {
  border: none;
}

.charge-result-table tr {
  border: none;
}

.charge-result-table td {
  border: none !important;
  border-style: hidden;
  padding: 8px;
  color: var(--gray800);
}

@media (max-width: 767px) {
  .history-description {
    padding-left: 10px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .data-table,
  .gift-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td,
  .gift-table th,
  .gift-table td {
    padding: 8px 4px;
  }
}
/* ==================== */
/* END: 06-components/_tables.css */
/* ==================== */



/* ========== 07 - Utilities Layer ========== */

/* ==================== */
/* START: 07-utilities/_helpers.css */
/* ==================== */
/**
 * Utilities Layer - Helper Classes
 */

/* Layout Utilities */
.divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 30px 0;
}

.divider-text {
  text-align: center;
  position: relative;
  margin: 30px 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: var(--border-light);
}

.divider-text::before {
  left: 0;
}

.divider-text::after {
  right: 0;
}

.divider-text span {
  background-color: var(--white00);
  color: var(--text-secondary);
  font-size: 14px;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.grayline {
  height: 2px;
  background-color: var(--gray300);
  margin-bottom: 20px;
}

.orangeline {
  height: 2px;
  background-color: var(--brand-orange);
  margin-bottom: 15px;
  text-align: left;
}

.uqline {
  height: 2px;
  background-color: var(--color-highlight);
  margin-bottom: 15px;
  text-align: left;
}

.line {
  color: var(--color-highlight);
}

.mobile-button-spacing {
  padding-top: 20px;
}

.mobile-center {
  text-align: center;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

.mobile_show {
  display: none;
}

.mobile_hidden {
  display: table-cell;
}

.mobile-show {
  display: none;
}

.mobile-hidden {
  display: table-row;
}

@media (max-width: 767px) {
  .mobile_show {
    display: table-cell;
  }

  .mobile_hidden {
    display: none;
  }
}

@media (max-width: 516px) {
  .note-text {
    font-size: 11px;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .mobile-show {
    display: table-row;
  }

  .mobile-hidden {
    display: none;
  }
}

.separator-margin {
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.spacer-cell {
  width: 50px;
}

.recipient-spacer-cell {
  width: 130px;
}

.plus-icon-margin {
  margin-bottom: 10px;
  text-align: center;
}

.text-center {
  text-align: center;
}
/* ==================== */
/* END: 07-utilities/_helpers.css */
/* ==================== */


