#st-cookies-popup.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: none; z-index: 1000; }
#st-cookies-popup.modal-overlay.is-visible { display: flex; }
.position-center { justify-content: center; align-items: center; }
.position-top { justify-content: center; align-items: flex-start; padding-top: 0; }
.position-bottom { justify-content: center; align-items: flex-end; padding-bottom: 0; }
.position-bottom-center { justify-content: center; align-items: flex-end; padding-bottom: 0; }
.position-left { justify-content: flex-start; align-items: center; padding-left: 0; }
.position-right { justify-content: flex-end; align-items: center; padding-right: 0; }
.position-bottom-left { justify-content: flex-start; align-items: flex-end; padding-left: 0; padding-bottom: 0; }
.position-bottom-right { justify-content: flex-end; align-items: flex-end; padding-right: 0; padding-bottom: 0; }
#st-cookies-popup .modal-box { padding: 30px;max-width: none; display: flex; flex-direction: column; max-height: 80vh; margin: 20px; position: relative;}
#st-cookies-popup .modal-box .st-cookies-title { font-size: 1.5rem; color: #333; margin-top: 0; margin-bottom: 10px; }
#st-cookies-popup .modal-intro {color: #555; line-height: 1.5; margin-bottom: 20px; }
#st-cookies-popup .modal-body { flex-grow: 1; overflow-y: auto; scrollbar-gutter: stable; }
#st-cookies-popup .cookie-options { list-style: none; padding: 0; margin: 0; }
#st-cookies-popup .cookie-option { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; }
#st-cookies-popup .cookie-option:last-child { border-bottom: none; }
#st-cookies-popup .cookie-option p { margin: 0; flex-grow: 1; font-weight: bold; color: #333; font-size: 1rem; }
#st-cookies-popup .cookie-option span { font-size: 0.9rem; color: #888; margin-right: 15px; text-transform: uppercase; }
#st-cookies-popup .modal-close-btn {position: absolute; top: 10px; right: 10px;  width: 30px; height: 30px; border: none; background: transparent; cursor: pointer; font-size: 1.5rem;line-height: 1; transition: color 0.2s; }
#st-cookies-popup .switch-container { display: flex; align-items: center; }
#st-cookies-popup .switch-container input { display: none; }
#st-cookies-popup .switch-label { position: relative; display: inline-block; width: 45px; height: 25px; background-color: #ccc; border-radius: 20px; cursor: pointer; transition: background-color 0.4s; margin-left: 10px; }
#st-cookies-popup .switch-label::after { content: ''; position: absolute; width: 21px; height: 21px; border-radius: 50%; background-color: #fff; top: 2px; left: 2px; transition: transform 0.4s; }
#st-cookies-popup .switch-container input:checked + .switch-label { background-color: #28a745; }
#st-cookies-popup .switch-container input:checked + .switch-label::after { transform: translateX(20px); }
#st-cookies-popup .expandable-option { padding: 15px 0; border-bottom: 1px solid #eee; }
#st-cookies-popup .checkmark{display:none;}
#st-cookies-popup .style-1.switch-container input[type="checkbox"]:checked + .switch-label {border-color: #4CAF50;background-color: #4CAF50;box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);}
#st-cookies-popup .style-1.checkmark{display:block;position: absolute;top: 30%;left: 60%;color: #555555;font-size: 26px;line-height: 1;font-weight: bold;transform: translate(-50%, -50%) scale(0) rotate(0deg);opacity: 0;transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease-in-out;}
#st-cookies-popup .style-1.switch-container input[type="checkbox"]:checked + .switch-label .checkmark {transform: translate(-50%, -60%) scale(1.1) rotate(0deg);opacity: 1;}
#st-cookies-popup .style-1.switch-label:hover {border-color: #aaa;box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);}
#st-cookies-popup .expandable-option summary { list-style: none; cursor: pointer; display: flex; align-items: center; position: relative; padding: 0; }
#st-cookies-popup .expandable-option summary .switch-container { margin-left: auto; }
#st-cookies-popup .expand-icon { position: relative; width: 20px; height: 20px; margin-right: 20px; flex-shrink: 0; }
#st-cookies-popup .expand-icon::before, #st-cookies-popup .expand-icon::after { content: ''; position: absolute; background-color: #9b9b9b; border-radius: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
#st-cookies-popup .expand-icon::before { width: 16px; height: 3px; }
#st-cookies-popup .expand-icon::after { width: 3px; height: 16px; }
#st-cookies-popup details[open] .expand-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
#st-cookies-popup .expand-icon ~ p{height:20px;line-height:35px;}
#st-cookies-popup .content-wrapper { padding-left: 40px; }
details:not([open]) .content-wrapper { display: none; }
#st-cookies-popup .content-wrapper p { font-size: 0.9rem; color: #555; margin-top: 15px; margin-bottom: 10px; }
#st-cookies-popup .cookie-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.8rem; margin-top: 10px; }
#st-cookies-popup .cookie-table th, #st-cookies-popup .cookie-table td { padding: 10px; border-bottom: 1px solid #eee; }
#st-cookies-popup .cookie-table th { background-color: #f9f9f9; color: #333; font-weight: bold; }
#st-cookies-popup .modal-footer { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; text-align: right; flex-shrink: 0; border-top:0;}
#st-cookies-popup .modal-buttons { display: flex; gap: 20px; justify-content: center; width: 90%; margin: 0 auto; }
#st-cookies-popup .btn { padding: 12px 20px; border-radius: 5px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s; text-decoration: none; text-align: center; display: inline-block; white-space: nowrap; font-weight: 700;}
#st-cookies-popup .btn-secondary { background-color: #fff; color: #555; border: 1px solid #ccc; }
#st-cookies-popup .btn-primary { background-color: #28a745; color: #fff; border: 1px solid #28a745; font-weight: bold; }
#st-cookies-fixed-button { position: fixed; z-index: 1000; cursor: pointer; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; }
#st-cookies-fixed-button:hover { transform: scale(1.1); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); }
#st-cookies-fixed-button:active { transform: scale(1.05); }
.pos-left-top { left: 20px; top: 20px; }
.pos-left-center { left: 20px; top: 45%; }
.pos-left-bottom { left: 20px; bottom: 20px; }
.pos-right-top { top: 20px; right: 20px; }
.pos-right-center { top: 45%; right: 20px; }
.pos-right-bottom { bottom: 20px; right: 20px; }
@media (max-width: 768px) { #st-cookies-popup .modal-box { padding: 20px; width: 95% !important; } #st-cookies-popup .modal-buttons { flex-direction: column; } #st-cookies-fixed-button { width: 40px; height: 40px; font-size: 20px; bottom: 15px; right: 15px; } }
@media (max-width: 480px) { #st-cookies-popup .modal-box { padding: 15px; width: 98% !important; } }
#st-cookies-popup.transition-effect-1{position: fixed;z-index: 9999}
#st-cookies-popup.transition-effect-1 .modal-box {width: 100%;border-radius: 0;margin: 0;transform: translateY(0);transition: all 0.5s ease-in-out;opacity: 1;}
#st-cookies-popup.transition-effect-1.shrinking .modal-box {width: 80%;max-width: 900px;height: auto;min-height: 80vh;margin: 0 auto;transform: translateY(-10vh);opacity: 1;}
#st-cookies-popup .hidden-btn{ display: none; }

/* Icon position on title and content */
#st-cookies-popup #st-cookies-title::before, #st-cookies-popup #st-cookies-title::after, #st-cookies-popup .modal-intro::before, #st-cookies-popup .modal-intro::after {content: ''; background-repeat: no-repeat; background-size: contain; background-position: center; display: none; width: 0; height: 0;}
#st-cookies-popup.icon-pos-above-title #st-cookies-title::before {display: block; width: 50px; height: 50px; margin-bottom: 15px; margin-left: auto; margin-right: auto;}
#st-cookies-popup.icon-pos-left-title #st-cookies-title::before {display: inline-block; width: 30px; height: 30px; margin-right: 10px; vertical-align: middle;}
#st-cookies-popup.icon-pos-right-title #st-cookies-title::after {display: inline-block; width: 30px; height: 30px; margin-left: 10px; vertical-align: middle;}
#st-cookies-popup.icon-pos-left-intro .modal-intro, #st-cookies-popup.icon-pos-right-intro .modal-intro {display: flex; flex-direction: row; align-items: flex-start;}
#st-cookies-popup.icon-pos-left-intro .modal-intro::before {display: block; width: 40px; height: 40px; margin-right: 15px; margin-top: 5px; flex-shrink: 0;}
#st-cookies-popup.icon-pos-right-intro .modal-intro::after {display: block; width: 40px; height: 40px; margin-left: 15px; margin-top: 5px; flex-shrink: 0; order: 1;}

/* icon postion for the popup  */
#st-cookies-popup .modal-box::before {content: ''; position: absolute; background-repeat: no-repeat; background-size: contain; background-position: center; width: 40px; height: 40px; display: none;}
#st-cookies-popup.icon-corner-tl .modal-box::before {display: block; top: 0px; left: 0px;}
#st-cookies-popup.icon-corner-tr .modal-box::before {display: block; top: 0px; right: 0px;}
#st-cookies-popup.icon-corner-bl .modal-box::before {display: block; bottom: 0px; left: 0px;}
#st-cookies-popup.icon-corner-br .modal-box::before {display: block; bottom: 0px; right: 0px;}