#stepForm { max-width:1080px; margin:auto;position: relative; margin-top: 1.5em; margin-bottom: 3em;}
	    
	    
    

	    

.step_bak{
	display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:16px;
}
.step{width: 100%;
	display:block;
min-height: 350px;
	
}
	    
.field { margin:10px; 
	display: inline-block;
	vertical-align:top;
min-width: 31%;

}
label { display:block; margin-bottom:5px; }

label.title{
	font-size: larger;
	font-weight: bold;

}

label.title>span{
color: red;
}

.opt-item{font-size: large;padding: 4px;vertical-align: top;min-height: 20px;white-space: nowrap; }
.opt-item:hover{background-color: rgba(255, 232, 219, 0.9)}


input[type=text],input[type=tel],input[type=email], select, textarea { padding:8px; width: 100%;font-size: larger;}

input[name=completion_date]{
	font-size: x-large;font-weight: bold;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.nav button,
 .btn {
	
	    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 120px;
    padding: 11px 20px;
    border: 0;
    border-radius: 8px;
    background: #f26e1b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(242, 110, 27, 0.22);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.nav button:hover,
 .btn:hover {
    background: #d95f14;
    box-shadow: 0 6px 14px rgba(242, 110, 27, 0.28);
    transform: translateY(-1px);
}

.nav button:active,
.nav .btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(242, 110, 27, 0.22);
}

.nav button:focus,
 .btn:focus {
    outline: 3px solid rgba(242, 110, 27, 0.25);
    outline-offset: 2px;
}

.nav button:disabled,
.nav .btn:disabled {
    background: #c8c8c8;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}


.nav .btn-secondary {
    background: #f3f4f6;
    color: #333;
    box-shadow: none;
    border: 1px solid #d8dce2;
}

.nav .btn-secondary:hover {
    background: #e8eaee;
    box-shadow: none;
}



.step-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hide{display: none;}

.w100{min-width: 97%;}
.w50{min-width: 48%;}
.w33{min-width: 31%;}
.w25{min-width: 23.5%;}

.step-item {
    text-align: center;
    cursor: pointer;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    line-height: 32px;
    margin: auto;
    font-size: 14px;
}

.step-circle.active {
    background: #0073aa;
}

.step-circle.done {
    background: #28a745;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #ccc;
}

.step-label {
    font-size: 12px;
    margin-top: 5px;
    max-width: 80px;
}
.step-bar {
    overflow-x: auto;
}

.booking-box { margin-top:20px; }

.time-slots {
    display:flex;
    gap:10px;
    margin-top:10px;
}

.slot {
    padding:10px;
    border:1px solid #ccc;
    cursor:pointer;
}

.slot.active {
    background:#0073aa;
    color:#fff;
}



.help-icon{
    position: relative;
    margin-left: 6px;
    cursor: pointer;
}

.tooltip{
    display: none;
    position: absolute;
    left: 0;
    top: 22px;
    background: #333;
    color: #fff;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 6px;
    white-space: normal;
    width: 300px;
    z-index: 10;
}

.opt-text{
	display: inline-block;
	white-space: nowrap;
}
.form-note{
	font-size:medium;
color: #920;
background-color: #fff5fa;
	padding: 5px;
	    padding-left: 4em;
    text-indent: -3.5em;
	
}

/* 🔥 hover 顯示 */
.help-icon:hover .tooltip{
    display: block;
}



.complete-box{

    padding:60px 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: larger;
}

.complete-icon{
    font-size:60px;
    margin-bottom:20px;
}

.complete-box h2{
    margin-bottom:10px;
}


.terms{
	font-size: larger;
	font-weight: bold;
}


.error-box{
    background:#ffecec;
    color:#d8000c;
    padding:10px;
    margin-bottom:10px;
    border:1px solid #f5aca6;
    display:none;
}


#couponResult{
    margin-top:10px;
    font-size:14px;
}

.coupon-ok{
    color:green;
}

.coupon-error{
    color:red;
}

.coupon-wrap {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.coupon-wrap .form-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 15px;
}

.coupon-wrap .input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.coupon-wrap .form-control {
    width: 150px !important;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coupon-wrap .form-control:focus {
    border-color: #f26e1b;
    box-shadow: 0 0 0 3px rgba(242, 110, 27, 0.18);
}

.coupon-wrap .btn {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.coupon-wrap .btn:hover {
    transform: translateY(-1px);
}

.coupon-wrap .btn-outline-primary {
    background: #f26e1b;
    border-color: #f26e1b;
    color: #fff;
}

.coupon-wrap .btn-outline-primary:hover {
    background: #d95f14;
    border-color: #d95f14;
}

.coupon-wrap .btn-outline-secondary {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.coupon-wrap .btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #c4c9d1;
}

.coupon-wrap #couponResult {
    display: block;
    margin-top: 9px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.coupon-wrap #couponResult.is-success {
    color: #15803d;
}

.coupon-wrap #couponResult.is-error {
    color: #b91c1c;
}

@media (max-width: 520px) {
    .coupon-wrap .input-group {
        align-items: stretch;
    }

    .coupon-wrap .form-control {
        width: 100% !important;
        flex: 1 1 100%;
    }

    .coupon-wrap .btn {
        flex: 1;
    }
}









/* 📱 小螢幕（改成多行） */
@media (max-width:768px){
.field{width: 100%;}


}
