.madwise-cookie-notice-holder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #4D4D4D;
    z-index: 9999;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.madwise-cookie-notice {
    padding: 48px 20px;
    background-color: #fff;
}

@media (min-width: 992px) {
    .madwise-cookie-notice {
        padding: 48px 20px;
    }
}

.madwise-cookie-notice-lower {
    text-align: center;
}

.madwise-cookie-notice-additional-text {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

.madwise-cookie-notice-additional-text a {
    color: rgb(23 0 244 / 1);
    padding-top: 12px;
}

.madwise-cookie-notice-upper .text {
    margin-top: 0;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.madwise-cookie-notice-upper .text a {
    color: #fff;
}

@media (min-width: 992px) {
    .madwise-cookie-notice-upper .text {
        font-size: 14px;
        line-height: 1.25rem;
    }
}

.madwise-cookie-notice-button {
    border-radius: 4px;
    padding: 10px 24px;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    margin-right: 12px;
    min-height: 48px;
}

@media (min-width: 992px) {
    .madwise-cookie-notice-button {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-right: 24px;
    }
}

.madwise-cookie-notice-button:last-child {
    margin-right: 0;
}


.madwise-cookie-notice-button#mwcn-accept,
.madwise-cookie-notice-button#mwcn-accept-all {
    box-shadow: 0 0 #0000, 0 0 #0000, 0px 20px 20px #0000001a, 0px 10px 10px #0000001a;
    background-color: rgb(23 0 244 / 1);
    border-radius: 9999px;
    border: none;
    transition: all .2s;
}

.madwise-cookie-notice-button#mwcn-accept:hover,
.madwise-cookie-notice-button#mwcn-accept-all:hover {
    background-color: rgb(0 9 91 / 1);
    box-shadow: 0px 10px 10px #0000001a, 0px 20px 20px #0000001a, 0px 30px 30px #00000026;
}

.madwise-cookie-notice-button#mwcn-cookie-settings,
.madwise-cookie-notice-button#mwcn-accept-selected
 {
    box-shadow: 0 0 #0000, 0 0 #0000, 0px 20px 20px #0000001a, 0px 10px 10px #0000001a;
    border-radius: 9999px;
    color: rgb(0 9 91 / 1);
    border: 1px solid rgb(0 9 91 / 1);
    transition: all .2s;
}

.madwise-cookie-notice-button#mwcn-cookie-settings:hover,
.madwise-cookie-notice-button#mwcn-accept-selected:hover {
    background-color: rgb(23 0 244 / 1);
    border-color: rgb(23 0 244 / 1);
    color: rgb(255 255 255 / 1);
    box-shadow: 0 0 #0000, 0 0 #0000, 0px 10px 10px #0000001a,0px 20px 20px #0000001a,0px 30px 30px #00000026;    
}


.madwise-cookie-notice-settings-popup {
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: block;
    color: #fff;
    overflow-y: scroll;
    z-index: 9999;
}

.madwise-cookie-notice-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    background-color: #fff;
    color: #4D4D4D;
}

.madwise-cookie-notice-settings-popup-title {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 20px;
    font-weight: 600;
}

@media (min-width: 992px) {
    .madwise-cookie-notice-settings-popup-title {
        font-size: 30px;
        line-height: 38px;
    }
}

.madwise-cookie-notice-settings-popup-text {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
}

.madwise-cookie-notice-settings-popup-text a {
    color: rgb(23 0 244 / 1);

}

.madwise-cookie-notice-settings-popup-option-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.madwise-cookie-notice-settings-popup-option {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.madwise-cookie-notice-settings-popup-option:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.madwise-cookie-notice-settings-popup-option-title {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 0;
}

@media (min-width: 992px) {
    .madwise-cookie-notice-settings-popup-option-title {
        font-size: 20px;
        line-height: 24px;
    }
}

.madwise-cookie-notice-settings-popup-option-text {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 0;
    margin-top: 0;
}

@media (min-width: 992px) {
    .madwise-cookie-notice-settings-popup-option-text {
        font-size: 16px;
        line-height: 24px;
    }
}

.hidden {
    display: none;
}

.no-scroll {
    overflow: hidden;
}




/* hide the default checkbox */
.madwise-cookie-notice-settings-popup-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* wrapper is clickable (label already handles that) */
.madwise-cookie-notice-settings-popup-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  padding: 0.5rem 0;
}

.madwise-cookie-notice-settings-popup-option-checkbox-wrapper {
    position: relative;
    display: flex;
    gap: 1rem;
}

/* toggle track */
.madwise-cookie-notice-settings-popup-option-checkbox-wrapper::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 22px;
  background-color: #ccc;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.3s;
}

/* toggle knob */
.madwise-cookie-notice-settings-popup-option-checkbox-wrapper::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

/* checked state */
.madwise-cookie-notice-settings-popup-option input[type="checkbox"]:checked
  + .madwise-cookie-notice-settings-popup-option-checkbox-wrapper::before {
  background-color: #1700f4;
}

.madwise-cookie-notice-settings-popup-option input[type="checkbox"]:checked
  + .madwise-cookie-notice-settings-popup-option-checkbox-wrapper::after {
  transform: translateX(18px);
}

/* disabled state */
.madwise-cookie-notice-settings-popup-option input[type="checkbox"]:disabled
  + .madwise-cookie-notice-settings-popup-option-checkbox-wrapper::before {
  background-color: #e0e0e0;
  cursor: not-allowed;
}

.madwise-cookie-notice-settings-popup-option input[type="checkbox"]:disabled
  + .madwise-cookie-notice-settings-popup-option-checkbox-wrapper::after {
  background-color: #bdbdbd;
}
