.consent-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px 50px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    font-family: "PingFang TC", "Noto Sans TC", sans-serif;
    line-height: 1.75;
    color: #333;
}

.consent-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 3px solid #70b88d;
    padding-bottom: 12px;
    margin-bottom: 1.5rem;
}

.consent-section h3 {
    font-weight: 600;
    font-size: 1.4rem;
    color: #495057;
    margin-bottom: 1rem;
}

.info-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 1.5rem;
}

.info-row {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .info-row:last-child {
        border-bottom: none;
    }

    .info-row i {
        font-size: 1.3rem;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .info-row strong {
        font-size: 1.1rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .info-row span {
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.6;
    }

.info-row-block {
    display: block !important;
}

    .info-row-block .info-content {
        display: block;
        padding-left: 2rem;
        white-space: pre-wrap;
        line-height: 1.8;
        color: #495057;
        margin-top: 0.5rem;
    }

.badge-large {
    display: inline-block;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    border-width: 2px;
    border-style: solid;
}

    .badge-large:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .badge-large i {
        font-size: 1.1rem;
    }

.alert {
    border-radius: 12px;
    border: none;
    padding: 20px;
}

    .alert i.fs-3 {
        opacity: 0.8;
    }

.text-primary {
    color: #70b88d !important;
}

.btn-primary {
    background-color: #70b88d;
    border-color: #70b88d;
}

    .btn-primary:hover {
        background-color: #5fa678;
        border-color: #5fa678;
    }

@media (max-width: 768px) {
    .consent-wrapper {
        margin: 20px;
        padding: 25px 20px;
        border-radius: 10px;
    }

    .consent-title {
        font-size: 1.5rem;
        padding-bottom: 10px;
        margin-bottom: 1rem;
    }

    .consent-section h3 {
        font-size: 1.2rem;
    }

    .info-box {
        padding: 20px 15px;
        margin-bottom: 1rem;
    }

    .info-row {
        padding: 12px 0;
        font-size: 1rem;
        flex-wrap: wrap;
    }

        .info-row i {
            font-size: 1.1rem;
        }

        .info-row strong {
            font-size: 1rem;
        }

    .alert {
        padding: 15px;
    }

        .alert i.fs-3 {
            font-size: 2rem !important;
        }
}

@media (max-width: 576px) {
    .consent-wrapper {
        margin: 10px;
        padding: 20px 15px;
    }

    .consent-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .consent-section h3 {
        font-size: 1.1rem;
    }

    .info-box {
        padding: 15px;
    }

    .info-row {
        padding: 10px 0;
        font-size: 1.2rem;
        display: block;
    }

        .info-row i {
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .info-row strong {
            font-size: 0.95rem;
            display: block;
            margin-bottom: 5px;
        }

    .badge-large {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

        .badge-large i {
            font-size: 0.9rem;
        }

    .thumb-nav {
        width: 80px !important;
        height: 60px !important;
    }

    .alert {
        padding: 12px;
    }

        .alert i.fs-3 {
            font-size: 1.5rem !important;
        }

        .alert strong {
            font-size: 1rem !important;
        }
}

@media (max-width: 400px) {
    .consent-wrapper {
        margin: 5px;
        padding: 15px 10px;
    }

    .consent-title {
        font-size: 1.2rem;
    }

    .badge-large {
        padding: 6px 10px;
        font-size: 1rem;
    }

    .thumb-nav {
        width: 70px !important;
        height: 52px !important;
    }

}
.form-input {
    border: 1.5px solid #dee2e6;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    color: #333;
}

.form-input:focus {
    outline: none;
    border-color: #70b88d;
    box-shadow: 0 0 0 3px rgba(112, 184, 141, 0.15);
}

.input-l {
    width: 100%;
    max-width: 600px;
}

.input-m {
    width: 220px;
}

.input-s {
    width: 90px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.input-s::-webkit-outer-spin-button,
.input-s::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-s[type=number] {
    -moz-appearance: textfield;
}

.unit-text {
    font-weight: 500;
    color: #495057;
    margin-right: 10px;
}

.info-row {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #e9ecef;
}

    .info-row strong {
        min-width: 80px;
        flex-shrink: 0;
        line-height: 44px;
    }

    .info-row i {
        line-height: 44px;
        font-size: 1.2rem;
    }

    .info-row .d-flex {
        flex-grow: 1;
        flex-wrap: wrap;
    }

.unit-text {
    font-weight: 500;
    color: #666;
    white-space: nowrap;
}

.field-error {
    width: 100%;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    min-height: 1.2rem;
}

@media (max-width: 576px) {
    .info-row {
        flex-direction: column;
        align-items: stretch;
    }

    .info-row strong {
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .info-row i {
        line-height: 1.5;
    }

    .input-l, .input-m, .input-s {
        max-width: 100%;
        flex-grow: 1;
    }
}
.info-row-block {
    padding: 5px 5px;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e9ecef;
}

    .info-row-block .label-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .info-row-block strong {
        font-size: 1.1rem;
        color: #2c3e50;
    }

    .info-row-block i {
        font-size: 1.2rem;
    }

.input-high {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    line-height: 1.8;
    resize: vertical;
    border-radius: 10px;
}

.info-row-block .field-error {
    margin-top: 8px;
    display: block;
}

.badge-clickable-container {
    display: inline-block;
}

.fee-check-input,
.equip-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.badge-clickable-label {
    display: inline-block;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background-color: #f1f3f5;
    color: #6c757d;
    user-select: none;
    line-height: 1.5;
}

.fee-check-input:checked + .badge-clickable-label {
    background-color: #d1e7dd !important;
    color: #198754 !important;
    font-weight: 600;
}

.fee-check-input:hover + .badge-clickable-label {
    background-color: #e2efea;
}

.equip-check-input:checked + .badge-clickable-label {
    background-color: #cff4fc !important;
    color: #0dcaf0 !important;
    font-weight: 600;
}

.equip-check-input:hover + .badge-clickable-label {
    background-color: #e1ebf7;
}
