#google-consent-mode {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 99999999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#google-consent-mode-window {
    background-color: var(--google-consent-mode-background-color);
    color: var(--google-consent-mode-theme-color);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 420px;
    max-width: 90vw;
}
#google-consent-mode-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
#google-consent-mode-window-header-title {
    font-size: 18px;
}
#google-consent-mode-window-footer {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
#consent-window-customise,
#consent-window-back {
    background-color: transparent;
    border: 1px solid var(--google-consent-mode-theme-color);
    border-radius: 5px;
    color: var(--google-consent-mode-theme-color);
    padding: 5px 10px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
#consent-window-customise:hover,
#consent-window-back:hover {
    background-color: var(--google-consent-mode-theme-color);
    color: var(--google-consent-mode-theme-text-color);
}
#consent-window-accept {
    background-color: var(--google-consent-mode-theme-color);
    border: 1px solid var(--google-consent-mode-theme-color);
    border-radius: 5px;
    color: var(--google-consent-mode-theme-text-color);
    padding: 7px 17px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
#consent-window-accept:hover {
    background-color: var(--google-consent-mode-theme-text-color);
    color: var(--google-consent-mode-theme-color);
}
#consent-window-reject {
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 20px;
}

#google-consent-mode .consent-window-switch label {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#google-consent-mode .consent-window-switch input {
    display: none;
}

#google-consent-mode .consent-window-switch label .consent-window-switch-switcher {
    background-color: #ccc;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    height: 20px;
    position: relative;
    width: 40px;
    transition: background-color 0.3s;
}

#google-consent-mode .consent-window-switch .consent-window-switch-switcher::before {
    background-color: #fff;
    border-radius: 50%;
    content: '';
    height: 16px;
    left: 0;
    position: absolute;
    top: 0;
    transition: transform 0.3s;
    width: 16px;
    margin: 2px;
}

#google-consent-mode .consent-window-switch input:checked + label .consent-window-switch-switcher {
    background-color: var(--google-consent-mode-theme-color);
}

#google-consent-mode .consent-window-switch input:checked + label .consent-window-switch-switcher::before {
    transform: translateX(20px);
}

#google-consent-mode .consent-window-switch label .consent-window-switch-text {
    font-size: 14px;
    line-height: 20px;
}