/* Cookie 偏好設定區塊 - compiled from privacy.scss */
.cookiePreferBox {
    margin-top: 40px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}
.cookiePreferBox .preferTitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}
.cookiePreferBox .preferList .preferItem {
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
}
.cookiePreferBox .preferList .preferItem:last-child {
    border-bottom: none;
}
.cookiePreferBox .preferList .preferTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.cookiePreferBox .preferList .preferSubtitle {
    font-weight: 600;
    font-size: 0.95rem;
}
.cookiePreferBox .preferList .alwaysOn {
    font-size: 0.85rem;
    color: #888;
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 20px;
}
.cookiePreferBox .preferList .preferText {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}
.cookiePreferBox .preferList .preferToggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.cookiePreferBox .preferList .preferToggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cookiePreferBox .preferList .preferToggle input[type="checkbox"]:checked + span {
    background-color: #333;
}
.cookiePreferBox .preferList .preferToggle input[type="checkbox"]:checked + span::after {
    transform: translateX(20px);
}
.cookiePreferBox .preferList .preferToggle span {
    display: inline-block;
    width: 44px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    transition: background 0.25s;
    position: relative;
}
.cookiePreferBox .preferList .preferToggle span::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}
.cookiePreferBox .preferBtnBox {
    margin-top: 20px;
    text-align: right;
}
.cookiePreferBox .preferBtnBox .preferSaveBtn {
    cursor: pointer;
}
