#privacy-preferences-modal {
    z-index: 100002;
    color: #27272a;
    font-family: 'Nunito Sans', sans-serif;
    text-align: left;
    overflow-y: auto;
}

.modal-backdrop.privacy-preferences-backdrop {
    display: block;
    z-index: 100001;
    background: #000;
    opacity: 0.5;
}

#privacy-preferences-modal *,
#privacy-preferences-modal *::before,
#privacy-preferences-modal *::after {
    box-sizing: border-box;
}

#privacy-preferences-modal .modal-dialog {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: calc(100% - 40px);
    max-width: 540px;
    min-height: 100%;
    max-height: none;
    margin: 0 auto;
    padding: 20px 0;
}

#privacy-preferences-modal .modal-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: 32px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    box-shadow: none;
}

#privacy-preferences-modal h2,
#privacy-preferences-modal h3,
#privacy-preferences-modal p {
    margin: 0;
    padding: 0;
    font-family: inherit;
    text-align: left;
    text-transform: none;
}

#privacy-preferences-modal h2 {
    color: #27272a;
    font-size: 28.8px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01px;
}

#privacy-preferences-modal h3 {
    color: #27272a;
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0.01px;
}

#privacy-preferences-modal p {
    color: #52525b;
    font-size: 16.67px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02px;
}

#privacy-preferences-modal .privacy-preferences-header p {
    margin-top: 8px;
    font-size: 20px;
}

#privacy-preferences-modal .privacy-preferences-close-row {
    display: flex;
    justify-content: flex-end;
}

#privacy-preferences-modal .privacy-preferences-close {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent url('close.svg') center / 24px 24px no-repeat;
    box-shadow: none;
    cursor: pointer;
}

#privacy-preferences-modal .privacy-preferences-category {
    display: flex;
    align-items: center;
    gap: 16px;
}

#privacy-preferences-modal .privacy-preferences-category + .privacy-preferences-category {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #d4d4d8;
}

#privacy-preferences-modal .privacy-preferences-info {
    flex: 1;
    min-width: 0;
}

#privacy-preferences-modal .privacy-preferences-category-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

#privacy-preferences-modal .privacy-preferences-required {
    padding: 4px 8px;
    border-radius: 5px;
    background: #f4f4f5;
    color: #71717a;
    font-size: 13.89px;
    font-weight: 700;
    line-height: 1.6;
}

#privacy-preferences-modal .privacy-preferences-switch {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 24px;
    margin: 0;
    padding: 0;
}

#privacy-preferences-modal .privacy-preferences-switch input {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

#privacy-preferences-modal .privacy-preferences-track {
    display: block;
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #d4d4d8;
}

#privacy-preferences-modal .privacy-preferences-track::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

#privacy-preferences-modal input:checked + .privacy-preferences-track {
    background: #3f3f46;
}

#privacy-preferences-modal input:checked + .privacy-preferences-track::after {
    left: 20px;
}

#privacy-preferences-modal input:disabled {
    cursor: not-allowed;
}

#privacy-preferences-modal input:disabled + .privacy-preferences-track {
    opacity: 0.25;
}

#privacy-preferences-modal .privacy-preferences-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #d4d4d8;
}

#privacy-preferences-modal .privacy-preferences-save {
    max-width: 100%;
    margin: 0;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: #23537c;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.02px;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

#privacy-preferences-modal button:focus-visible,
#privacy-preferences-modal input:focus-visible + .privacy-preferences-track {
    outline: 2px solid #23537c;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    #privacy-preferences-modal .modal-content {
        padding: 28px;
    }
}

#privacy-choices-banner {
    position: fixed;
    z-index: 100000;
    left: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 48px);
    max-width: 460px;
    padding: 24px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    color: #27272a;
    font-family: 'Nunito Sans', sans-serif;
    text-align: left;
}

#privacy-choices-banner,
#privacy-choices-banner *,
#privacy-choices-banner *::before,
#privacy-choices-banner *::after {
    box-sizing: border-box;
}

#privacy-choices-banner h2,
#privacy-choices-banner p {
    margin: 0;
    padding: 0;
    font-family: inherit;
    text-align: left;
    text-transform: none;
}

#privacy-choices-banner h2 {
    color: #27272a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

#privacy-choices-banner p {
    color: #52525b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

#privacy-choices-banner a {
    color: #23537c;
    text-decoration: underline;
}

#privacy-choices-banner button {
    width: 100%;
    margin: 0;
    border: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

#privacy-choices-banner .privacy-choices-accept {
    margin-top: 4px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #23537c;
    color: #fff;
}

#privacy-choices-banner .privacy-choices-customize {
    padding: 4px;
    border-radius: 4px;
    background: transparent;
    color: #23537c;
    text-decoration: underline;
}

#privacy-choices-banner button:focus-visible,
#privacy-choices-banner a:focus-visible {
    outline: 2px solid #23537c;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    #privacy-choices-banner {
        left: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
        max-width: none;
        padding: 20px;
    }
}
