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

      :root {
        --primary-color: rgb(116, 53, 136);
        --primary-hover: rgb(96, 43, 116);
        --primary-light: rgba(116, 53, 136, 0.1);
        --success-color: #10b981;
        --danger-color: #ef4444;
        --warning-color: #f59e0b;
        --text-primary: #1f2937;
        --text-secondary: #6b7280;
        --bg-primary: #ffffff;
        --bg-secondary: #f9fafb;
        --border-color: #e5e7eb;
        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
      }

      body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans TC', sans-serif;
        background: linear-gradient(135deg, #e5e7eb);
        min-height: 100vh;
        padding: 2rem 1rem;
        color: var(--text-primary);
      }

      .container {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      @media (min-width: 1024px) {
        .container {
          grid-template-columns: 1fr 1fr;
        }
      }

      .bookingcss {
        background: var(--bg-primary);
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
      }

      .bookingcss h3 {
        color: var(--primary-color);
        font-size: 1.75rem;
        margin-bottom: 1rem;
        font-weight: 700;
      }

      .bookingcss > p {
        color: var(--text-secondary);
        margin-bottom: 1rem;
        line-height: 1.6;
      }

      .bookingcss ul {
        background: var(--bg-secondary);
        border-left: 4px solid var(--primary-color);
        padding: 1rem 1rem 1rem 2rem;
        margin-bottom: 1.5rem;
        border-radius: 0.5rem;
      }

      .bookingcss ul li {
        color: var(--text-secondary);
        margin-bottom: 0.5rem;
        line-height: 1.6;
        font-size: 0.9rem;
      }

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

      .bookingcss ul li a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        word-break: break-all;
      }

      .bookingcss ul li a:hover {
        text-decoration: underline;
      }

      hr {
        border: none;
        border-top: 2px solid var(--border-color);
        margin: 1.5rem 0;
      }

      .form > div {
        margin-bottom: 2rem;
      }

      .form h3 {
        color: var(--text-primary);
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
      }

      .form > div > ul {
        background: #fef3c7;
        border-left-color: var(--warning-color);
        margin-bottom: 1rem;
      }

      .form > div > ul li {
        color: #92400e;
      }

      .select-box, .input-box input, .input-box select {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid var(--border-color);
        border-radius: 0.5rem;
        font-size: 1rem;
        transition: all 0.2s;
        background: var(--bg-primary);
      }

      .select-box select, .input-box input, .input-box select {
        cursor: pointer;
      }

      .select-box:focus-within, .input-box input:focus, .input-box select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px var(--primary-light);
      }

      .input-box {
        margin-bottom: 1rem;
      }

      .input-box p {
        color: var(--text-secondary);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        font-weight: 500;
      }

      .rent-box {
        margin: 1rem 0;
      }

      .rent-option {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .rent {
        flex: 1;
        min-width: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        border: 2px solid var(--border-color);
        border-radius: 0.5rem;
        cursor: pointer;
        transition: all 0.2s;
        background: var(--bg-primary);
        font-weight: 500;
      }

      .rent:hover {
        border-color: var(--primary-color);
        background: var(--primary-light);
      }

      .rent input[type="radio"] {
        margin-right: 0.5rem;
        cursor: pointer;
        width: 1.25rem;
        height: 1.25rem;
        accent-color: var(--primary-color);
      }

      .rent:has(input:checked) {
        border-color: var(--primary-color);
        background: var(--primary-light);
        color: var(--primary-color);
      }

      .column {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      @media (min-width: 640px) {
        .column {
          grid-template-columns: 1fr 1fr;
        }
      }

      i {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.875rem;
        color: var(--text-secondary);
        font-style: normal;
      }

      .hourhint {
        background: #dbeafe;
        padding: 0.5rem;
        border-radius: 0.375rem;
        color: #1e40af;
      }

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

      #remaintime, #email {
        color: var(--primary-color);
        font-weight: 600;
      }

      .button {
        width: 100%;
        padding: 1rem;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 0.5rem;
        font-size: 1.125rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: var(--shadow-md);
      }

      .button:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
      }

      .button:active {
        transform: translateY(0);
      }

      .button:disabled {
        background: var(--text-secondary);
        cursor: not-allowed;
        transform: none;
      }

      #loadingMessage {
        display: block;
        text-align: center;
        margin-top: 1rem;
        color: var(--primary-color);
        font-weight: 500;
      }

      .hidden {
        display: none !important;
      }

      .calendar {
        background: var(--bg-primary);
        border-radius: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        overflow: hidden;
      }

      .calendar iframe {
        border-radius: 0.5rem;
        width: 100%;
        height: 600px;
        border: none;
      }

      @media (max-width: 640px) {
        body {
          padding: 1rem 0.5rem;
        }

        .bookingcss {
          padding: 1.5rem;
        }

        .bookingcss h3 {
          font-size: 1.5rem;
        }

        .rent-option {
          flex-direction: column;
        }

        .rent {
          min-width: 100%;
        }
      }

      /* 表單驗證樣式 */
      input:invalid, select:invalid {
        border-color: var(--danger-color);
      }

      input:valid, select:valid {
        border-color: var(--success-color);
      }

      /* 載入動畫 */
      @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
      }

      #loadingMessage {
        animation: pulse 1.5s ease-in-out infinite;
      }