body, h1, p, label, input, select, button { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Microsoft JhengHei", sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; padding: 20px; } header { background: linear-gradient(135deg, #002060, #0055a5); color: #fff; text-align: center; padding: 30px 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } header img { max-width: 80px; margin-bottom: 10px; } h1 { font-size: 28px; font-weight: bold; letter-spacing: 1px; } .container { background: #fff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); max-width: 600px; margin: 0 auto; padding: 20px 30px; } label { display: block; font-weight: bold; color: #002060; margin-bottom: 8px; font-size: 14px; } input, select { width: 100%; padding: 12px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; outline: none; transition: border-color 0.3s; } input:focus, select:focus { border-color: #0055a5; box-shadow: 0 0 4px rgba(0, 85, 165, 0.2); } .radio-group { margin: 20px 0; display: flex; gap: 24px; align-items: center; justify-content: flex-start; } .radio-option { display: flex; align-items: center; gap: 8px; } .radio-option input[type="radio"] { appearance: none; width: 28px; height: 28px; border: 2px solid #0055a5; border-radius: 50%; outline: none; cursor: pointer; position: relative; transition: all 0.3s; } .radio-option input[type="radio"]:checked { background-color: #FFD700; border-color: #0055a5; } .radio-option input[type="radio"]:checked::after { content: ""; width: 14px; height: 14px; background-color: #0055a5; border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .radio-option label { font-size: 16px; color: #333; cursor: pointer; padding-left: 8px; } button { width: 100%; background: linear-gradient(135deg, #FFD700, #FFC000); color: #002060; font-weight: bold; border: none; border-radius: 6px; padding: 14px; font-size: 16px; cursor: pointer; transition: background 0.3s; } button:hover { background: linear-gradient(135deg, #FFC000, #FFA500); } footer { text-align: center; padding: 20px 10px; margin-top: 20px; font-size: 12px; color: #fff; background: #002060; border-radius: 8px; } /* 響應式設計 */ @media (max-width: 600px) { header, .container, footer { padding: 15px; } h1 { font-size: 24px; } button { font-size: 14px; padding: 12px; } .description { max-width: 100%; padding: 10px; } } .description { background-color: #e9f5ff; border-left: 5px solid #0055a5; padding: 15px; margin: 0 auto 20px; border-radius: 8px; font-size: 14px; line-height: 1.8; color: #333; max-width: 600px; text-align: left; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .description p { margin: 5px 0; } .description strong { color: #0055a5; font-weight: bold; } /* 複選框樣式 */ .checkbox-group { display: flex; flex-direction: column; gap: 10px; } .equipment-item { display: flex; align-items: center; gap: 15px; } .equipment-item label { font-size: 16px; color: #333; display: flex; align-items: center; gap: 10px; cursor: pointer; } .equipment-item input[type="checkbox"] { appearance: none; width: 20px; height: 20px; border: 2px solid #0055a5; border-radius: 4px; background-color: white; transition: all 0.3s; cursor: pointer; position: relative; } .equipment-item input[type="checkbox"]:checked { background-color: #FFD700; border-color: #0055a5; } .equipment-item input[type="checkbox"]:checked::after { content: "\2714"; color: #0055a5; font-size: 14px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-weight: bold; } .quantity-select { flex: 1; display: none; font-size: 14px; padding: 8px; border: 1px solid #ccc; border-radius: 6px; outline: none; } .quantity-select:focus { border-color: #0055a5; box-shadow: 0 0 4px rgba(0, 85, 165, 0.3); }