/* Hide starry background */
.white-theme .stars,
.white-theme .twinkling,
.white-theme .clouds {
    display: none !important;
}

/* Global Background to White */
body.white-theme, 
.white-theme .wrapper, 
.white-theme .gofam_fn_main, 
.white-theme .content, 
.white-theme .header, 
.white-theme .footer, 
.white-theme .gofam_fn_header,
.white-theme footer,
.white-theme #footer,
.white-theme .fn_footer,
.white-theme .footer_bottom,
.white-theme .gofam_fn_prevnext .prev,
.white-theme .gofam_fn_prevnext .next,
.white-theme .default,
.white-theme div.default,
.white-theme .funnel_container,
.white-theme .funnel_container .row,
.white-theme .col-lg-4,
.white-theme .col-lg-8,
.white-theme .col-12,
.white-theme .container {
    background-color: #ffffff !important;
}

/* Add a light border to prev/next boxes so they are visible on white bg */
.white-theme .gofam_fn_prevnext .prev,
.white-theme .gofam_fn_prevnext .next {
    border: 1px solid #ddd !important;
}

/* Global Text to Black */
body.white-theme, 
.white-theme p, 
.white-theme span, 
.white-theme a, 
.white-theme h1, 
.white-theme h2, 
.white-theme h3, 
.white-theme h4, 
.white-theme h5, 
.white-theme h6, 
.white-theme div,
.white-theme li,
.white-theme ul {
    color: #000000 !important;
}

/* Ensure buttons and inputs don't become invisible */
.white-theme input, 
.white-theme select, 
.white-theme textarea, 
.white-theme button:not(.gofam_fn_button):not(.bg-transparent) {
    border: 1px solid #ccc !important;
    color: #000 !important;
    background-color: #fff !important;
}

/* Button hover text color */
.white-theme button:not(.gofam_fn_button):not(.bg-transparent):hover {
    color: #ffffff !important;
    background-color: #000 !important;
}

.white-theme .gofam_fn_button:hover {
    color: #ffffff !important;
}

/* Fix search icon color */
.white-theme .search_button svg path {
    fill: #000000 !important;
}

/* Change placeholder color to black */
.white-theme ::-webkit-input-placeholder { color: #000000 !important; }
.white-theme ::-moz-placeholder { color: #000000 !important; }
.white-theme :-ms-input-placeholder { color: #000000 !important; }
.white-theme :-moz-placeholder { color: #000000 !important; }
.white-theme ::placeholder { color: #000000 !important; opacity: 1 !important; }

/* Force text-white to be black */
.white-theme .text-white {
    color: #000000 !important;
}

/* Header Links */
.white-theme .header a {
    color: #000000 !important;
}

/* Reverse initially white sections & Fix dark buttons */
.white-theme .btn-light, 
.white-theme .bg-white, 
.white-theme .bg-light, 
.white-theme .cyber-attack-emergency {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.white-theme .btn-dark,
.white-theme .btn-primary,
.white-theme .btn-secondary,
.white-theme .btn-success,
.white-theme .btn-danger,
.white-theme .btn-info,
.white-theme .btn-warning {
    color: #ffffff !important;
}

/* Funnel Specific Styles - MAKE IT WHITE */
.white-theme .left_container,
.white-theme .right_container {
    background-color: #ffffff !important;
    border-color: #cccccc !important;
}

/* Fix funnel text to be black on the white background */
.white-theme .left_container h2,
.white-theme .left_container p,
.white-theme .left_container span,
.white-theme .right_container h2,
.white-theme .right_container h3,
.white-theme .right_container h5,
.white-theme .right_container p,
.white-theme .right_container label,
.white-theme .right_container span,
.white-theme .right_container .main_question {
    color: #000000 !important;
}

/* Fix funnel buttons */
.white-theme .right_container button.submit,
.white-theme .right_container button.forward,
.white-theme .right_container button.backward {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px;
    font-weight: bold;
}

.white-theme .right_container button.submit:hover,
.white-theme .right_container button.forward:hover,
.white-theme .right_container button.backward:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* Funnel inputs should have white background and black text */
.white-theme .right_container input,
.white-theme .right_container select {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Cookie Popup Button Fix */
.white-theme .datenhoheit-cookie-policy .cookie-modal .modal-dialog .modal-content .modal-footer ul li:nth-child(2) a {
    color: #ffffff !important;
}

/* Fix search icon for white theme */
.white-theme img.search {
    filter: brightness(0);
}


.white-theme button:hover img.search { filter: none !important; }



.white-theme .datenhoheit-cookie-policy .datalaw-modal .modal-dialog .modal-content .modal-footer button {
    color: #000000 !important;
}



.white-theme .datenhoheit-cookie-policy .datalaw-modal .modal-dialog .modal-content .modal-footer button:hover {
    color: #ffffff !important;
}


/* Fix FAQ Accordion for white theme */
.white-theme .material-accordion-item {
    background-color: #ffffff !important;
    border-color: #cccccc !important;
}
.white-theme .accordion-body {
    color: #000000 !important;
}


/* Fix gofam_fn_button text color for white theme */
.white-theme .gofam_fn_button {
    color: #000000 !important;
}


/* Fix Mobile Header for white theme */
.white-theme .gofam_fn_mobile_menu .mobile_menu_inner {
    background-color: #ffffff !important;
    border-bottom: 1px solid #ccc !important;
}
.white-theme .gofam_fn_mobile_menu .hamburger-inner,
.white-theme .gofam_fn_mobile_menu .hamburger-inner:before,
.white-theme .gofam_fn_mobile_menu .hamburger-inner:after {
    background-color: #000000 !important;
}


.white-theme .search_button:hover svg path {
    fill: #ffffff !important;
}

