.cookie-wrapper button.accept-all,
.cookie-wrapper #save-cookie-settings {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: background 0.3s ease;
}
.cookie-wrapper button.accept-all:hover,
.cookie-wrapper #save-cookie-settings {
    background: #222;
}
.cookie-wrapper button.decline-all,
.cookie-wrapper button.settings {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: background 0.3s ease;
}
.cookie-wrapper button.decline-all:hover,
.cookie-wrapper button.settings:hover {
    background: #f0f0f0;
    border-color: #222;
    color: #111;
}
.cookie-wrapper button {
    font-weight: 600;
    text-indent: 0;
}

/* Cookie Basic Pop Up Start */
#cookiepopup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    color: #000;
    font-family: sans-serif;
    font-size: 14px;
    z-index: 9999;
    padding: 16px 0px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
#cookiepopup .cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0px 16px;
    gap: 12px 0;
}
#cookiepopup .cookie-text {
    width: 75%;
}
#cookiepopup .cookie-buttons {
    display: flex;
    gap: 10px;
}
/* Cookie Basic Pop Up End */

/* Cookie Customisations Panel Start */
#cookie-settings-panel-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    background: rgba(0,0,0,.5);
}
#cookie-settings-panel {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Make sure it's above everything */
    width: 90%;
    max-width: 800px;

    color: #000;
    background-color: #fff;
    
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto; /* Allows click inside */

    animation: slideUp 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideUp {
    from { transform: translate(-50%, calc(-50% + 30px)); opacity: 0; }
    to   { transform: translate(-50%, -50%); opacity: 1; }
}
.cookie-settings-panel-header {
    background-color: #000;
    padding-left: 32px;
    padding-right: 32px;
}
.cookie-settings-panel-title {
    display: block;
    color: #fff;

    font-weight: bold;
    font-size: 16px;
    
    height: 60px;
    line-height: 60px;
    margin: 0;
}

.cookie-settings-panel-body {
    padding: 20px 32px;
}
.cookie-settings-panel-body .cookie-popup-text {
    font-size: 14px;
}
.cookie-settings-panel-body .grid {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 32px 24px;
    width: 100%;
    max-height: 360px;
    overflow-y: auto;
    box-sizing: border-box;
}
.cookie-settings-panel-body .grid-item strong {
    color: #707070;
    display: inline-block;
    margin-bottom: 4px;
}

.cookie-settings-panel-footer {
    padding: 20px 32px;
    border-top: 2px solid #f7f3f3;
    text-align: right;
}
#cookie-settings-panel .popup-header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}
/* Cookie Customisations Panel End */


@media (max-width: 1279px) {
    #cookiepopup .cookie-text {
        width: 65%;
    }
}
@media (max-width: 767px) {
    #cookiepopup .cookie-text {
        width: 55%;
    }
}
@media (max-width: 639px) {
    #cookiepopup .cookie-content {
        justify-content: center;
    }
    #cookiepopup .cookie-text {
        width: 100%;
    }
    #cookie-settings-panel {
        width: 100%;
        height: 100%;
    }
    .cookie-settings-panel-body {
        height: 73%;
        overflow: auto;
    }
    .cookie-settings-panel-body .grid {
        max-height: 600px;
    }
}
.cookie-category {
    margin-bottom: 20px;
}
.cookie-category label {
    display: block;
    font-size: 14px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.cookie-category small {
    display: block;
    color: #555;
    margin-top: 4px;
    font-size: 12px;
}

.decline-btn-styles {
    border: solid 1px black;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.btn-styles {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-styles:hover {
    background: #222;
}

/* toggle button styles*/
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 25px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    top: 2px;
    left: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #222;
}

input:focus + .slider {
    box-shadow: 0 0 1px #222;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}