.consent_mode_btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px
}

.consent_mode_btn-accept {
    background-color: #4CAF50;
    color: #fff
}

.consent_mode_btn-reject {
    background-color: #f44336;
    color: #fff
}

.consent_mode_btn:hover {
    opacity: .8
}

.consent_mode_slider {
    position: relative;
    width: 60px;
    height: 34px;
    margin: 20px auto
}

.consent_mode_slider input[type=checkbox] {
    position: absolute;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    opacity: 0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    filter: alpha(opacity=0)
}

.consent_mode_slider label,.consent_mode_slider label span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition-duration: .2s
}

.consent_mode_slider label {
    border-radius: 20px;
    background-color: #ddd
}

.consent_mode_slider label:before,.consent_mode_slider label:after {
    position: absolute;
    top: 0;
    width: 34px;
    line-height: 34px;
    color: #fff;
    text-align: center
}

.consent_mode_slider label span {
    z-index: 1;
    width: 28px;
    height: 28px;
    margin: 3px;
    border-radius: 50%;
    background-color: #fff
}

.consent_mode_slider label:before {
    left: 0;
    font-size: 11px;
    content: 'ON'
}

.consent_mode_slider label:after {
    right: 0;
    font-size: 10px;
    content: 'OFF'
}

.consent_mode_slider input:checked+label {
    background-color: #00c73c
}

.consent_mode_slider input:checked+label span {
    transform: translateX(26px)
}

body {
    font-family: Arial,sans-serif
}

.webyouridea-consent-cookies.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.webyouridea-consent-cookies .modal-content {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
    border-radius: 12px;
    margin: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Desktop - Large Screens */
@media screen and (min-width: 1025px) {
    .webyouridea-consent-cookies .modal-content {
        max-width: 800px;
        max-height: 85vh;
    }
}

/* Tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .webyouridea-consent-cookies.modal {
        padding: 15px;
    }
    .webyouridea-consent-cookies .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
}

/* Mobile - Full Screen */
@media screen and (max-width: 768px) {
    .webyouridea-consent-cookies.modal {
        padding: 0;
        align-items: stretch;
    }
    .webyouridea-consent-cookies .modal-content {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        margin: 0;
    }
}

.webyouridea-consent-cookies .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.webyouridea-consent-cookies .modal-header .logo {
    font-weight: 700;
    font-size: 18px;
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.webyouridea-consent-cookies .modal-header .webyouridea-consent-nav-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: 15px;
    flex: 1;
    white-space: nowrap;
}

.webyouridea-consent-cookies .modal-header .webyouridea-consent-nav-container a {
    text-decoration: none;
    color: #000;
    padding: 10px 15px;
    border: 2px solid transparent;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.webyouridea-consent-cookies .modal-header .webyouridea-consent-nav-container a.active {
    background: #000;
    color: #fff;
}

/* Mobile Header */
@media screen and (max-width: 768px) {
    .webyouridea-consent-cookies .modal-header {
        padding: 10px 15px;
        gap: 5px;
    }
    .webyouridea-consent-cookies .modal-header .logo {
        width: 50px;
    }
    .webyouridea-consent-cookies .modal-header .webyouridea-consent-nav-container {
        gap: 5px;
        margin-left: 5px;
    }
    .webyouridea-consent-cookies .modal-header .webyouridea-consent-nav-container a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.webyouridea-consent-cookies .modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.webyouridea-consent-cookies .modal-body h2 {
    font-size: 20px;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.webyouridea-consent-cookies .modal-body p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    word-wrap: break-word;
}

.webyouridea-consent-cookies .webyouridea-consent-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.webyouridea-consent-cookies .webyouridea-consent-option {
    text-align: center;
    min-width: 120px;
}

.webyouridea-consent-cookies .webyouridea-consent-option label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    word-wrap: break-word;
}

.webyouridea-consent-cookies .webyouridea-consent-option input[type="checkbox"] {
    transform: scale(1.5);
    cursor: pointer;
}

/* Mobile Body */
@media screen and (max-width: 768px) {
    .webyouridea-consent-cookies .modal-body {
        padding: 15px;
    }
    .webyouridea-consent-cookies .modal-body h2 {
        font-size: 18px;
    }
    .webyouridea-consent-cookies .modal-body p {
        font-size: 13px;
    }
    .webyouridea-consent-cookies .webyouridea-consent-options {
        flex-direction: column;
        gap: 10px;
    }
    .webyouridea-consent-cookies .webyouridea-consent-option {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        width: 100%;
        padding: 10px;
        background: #f9f9f9;
        border-radius: 5px;
    }
    .webyouridea-consent-cookies .webyouridea-consent-option label {
        margin-bottom: 0;
        font-size: 13px;
        flex: 1;
    }
}

.webyouridea-consent-cookies .modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.webyouridea-consent-cookies .modal-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.webyouridea-consent-cookies .modal-footer button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.webyouridea-consent-cookies .modal-footer button.deny {
    background-color: #e0e0e0;
}

.webyouridea-consent-cookies .modal-footer button.deny:hover {
    background-color: #d0d0d0;
}

.webyouridea-consent-cookies .modal-footer button.allow-selection {
    background-color: #fff;
    border: 1px solid #000;
}

.webyouridea-consent-cookies .modal-footer button.allow-selection:hover {
    background-color: #f5f5f5;
}

.webyouridea-consent-cookies .modal-footer button.allow-all {
    background-color: #000;
    color: #fff;
}

.webyouridea-consent-cookies .modal-footer button.allow-all:hover {
    background-color: #333;
}

/* Mobile Footer */
@media screen and (max-width: 768px) {
    .webyouridea-consent-cookies .modal-footer {
        padding: 10px 15px;
        gap: 8px;
        flex-direction: column;
    }
    .webyouridea-consent-cookies .modal-footer button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Tablet Footer */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .webyouridea-consent-cookies .modal-footer button {
        padding: 10px 15px;
        font-size: 13px;
    }
}
.webyouridea-consent-tab-container-1,
.webyouridea-consent-tab-container-2,
.webyouridea-consent-tab-container-3 {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    min-height: 200px;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */
.webyouridea-consent-tab-container-1::-webkit-scrollbar,
.webyouridea-consent-tab-container-2::-webkit-scrollbar,
.webyouridea-consent-tab-container-3::-webkit-scrollbar {
    width: 8px;
}

.webyouridea-consent-tab-container-1::-webkit-scrollbar-track,
.webyouridea-consent-tab-container-2::-webkit-scrollbar-track,
.webyouridea-consent-tab-container-3::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.webyouridea-consent-tab-container-1::-webkit-scrollbar-thumb,
.webyouridea-consent-tab-container-2::-webkit-scrollbar-thumb,
.webyouridea-consent-tab-container-3::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.webyouridea-consent-tab-container-1::-webkit-scrollbar-thumb:hover,
.webyouridea-consent-tab-container-2::-webkit-scrollbar-thumb:hover,
.webyouridea-consent-tab-container-3::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Desktop Tab Containers */
@media screen and (min-width: 1025px) {
    .webyouridea-consent-tab-container-1,
    .webyouridea-consent-tab-container-2,
    .webyouridea-consent-tab-container-3 {
        max-height: calc(85vh - 250px);
    }
}

/* Tablet Tab Containers */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .webyouridea-consent-tab-container-1,
    .webyouridea-consent-tab-container-2,
    .webyouridea-consent-tab-container-3 {
        max-height: calc(90vh - 250px);
    }
}

/* Mobile Tab Containers */
@media screen and (max-width: 768px) {
    .webyouridea-consent-tab-container-1 {
        max-height: calc(100vh - 320px);
        min-height: 150px;
    }
    .webyouridea-consent-tab-container-2,
    .webyouridea-consent-tab-container-3 {
        max-height: calc(100vh - 220px);
        min-height: 150px;
    }
}

.consent_mode_floating-icon {
    position: fixed;
    bottom: 20px;
    background-color: transparent;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
    width: 65px;
    transition: all 0.3s ease;
}

.consent_mode_floating-icon:hover {
    transform: scale(1.1);
}

.consent_mode_floating-icon.right {
    right: 20px;
}

.consent_mode_floating-icon.left {
    left: 20px;
}

/* Mobile Floating Icon */
@media screen and (max-width: 768px) {
    .consent_mode_floating-icon {
        bottom: 15px;
        width: 55px;
        padding: 8px;
    }
    .consent_mode_floating-icon.right {
        right: 15px;
    }
    .consent_mode_floating-icon.left {
        left: 15px;
    }
}

/* Tablet Floating Icon */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .consent_mode_floating-icon {
        bottom: 18px;
        width: 60px;
    }
}
