#cc-modal { 
    position: fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    z-index:1000; 
}
.cc-overlay { 
    background:rgba(0,0,0,0.78); 
    position:absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
}
.cc-content {
    background:#fff;
    padding:20px 0px 25px 0px!important;
    width:700px;
	max-width:90%;    //to fit mobile screen
    //max-width:50%;
   // margin:16% auto;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    border-radius:8px; 
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    position:relative; 
    z-index:1001;
    font-family:"KlavikaWebBasicLight", Arial, Helvetica, sans-serif !important;
    font-weight: 500;
}
.cc-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 0 20px 5px; /* Added for consistency across buttons */
}

.cc-buttons-accept {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
    flex-grow: 1; /* Stretch buttons to fill space */
    text-align: center;
    white-space: nowrap; /* Prevent button text from wrapping */
}

/* Base style for light buttons */
.cc-buttons-accept:not(#cc-allow-all):not(#cc-allow-selection):not(#cc-allow-all-about) {
    background-color: #f0f0f0;
    color: #333;
    border-color: #ccc;
}
.cc-buttons-accept:not(#cc-allow-all):not(#cc-allow-selection):not(:disabled):hover {
    background-color: #e0e0e0;
}

/* Style for the blue "ALLOW ALL" button */
#cc-allow-all {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
#cc-allow-all:not(:disabled):hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Style for the blue "ALLOW SELECTION" button */
#cc-allow-selection {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
#cc-allow-selection:not(:disabled):hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


.cc-buttons-accept:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.tou_header{
    text-align: center !important;
    font-size: 1.25rem !important;
    font-weight: 750 !important;
    line-height:30px;
    color: black;
    padding-right: 45px !important; /* Added for space next to close button */
}
.tou_content {
    padding: 20px 23px 10px 23px !important;
    font-size:1.0rem !important;
    line-height:24px;
    color: black;
}




.tou_content_accept {
    text-align:center;
    font-size:1.0rem !important;
    line-height:24px;
    color: black;
}

/* Tab navigation styles */
.cc-tabs {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #ddd;
}
.cc-tab-button {
    flex: 1;
    padding: 12px 10px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.0rem;
    font-family: "KlavikaWebBasicLight", Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    transition: all 0.3s ease;
}
.cc-tab-button:hover, .cc-tab-button.active {
    border-color: #007bff;
    color: #007bff;
}

/* Tab content panes */
.cc-tab-content {
    padding: 0 23px 10px;
}
.cc-tab-pane {
    display: none;
}
.cc-tab-pane.active {
    display: block;
}
.cc-content .cc-tab-pane .tou_content {
    padding: 20px 0 10px 0 !important;
}

/* Close button for modal */
.cc-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}

/* Small overlay for confirmation */
.small-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.small-overlay-content {
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 450px;
 //   text-align: center;
    overflow: hidden;
}

.reject_confirm_content {
    font-size:0.92rem !important;
	font-weight: normal !important;
}

#reject-confirm-dialog .tou_header {
    padding: 20px 20px 0;
    border-bottom: none;
    font-size: 1.5rem !important;
    padding-right: 20px !important;
}

#reject-confirm-dialog .tou_content {
    padding: 10px 20px 20px;
    line-height: 1.5;
    font-size: 1rem;
}

#reject-confirm-dialog .cc-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 20px;
    //border-top: 1px solid #eee;    //remove cross line on top of Continue on the reject all popup
}

#reject-confirm-dialog .cc-buttons-accept {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
    flex-grow: 1;
    text-align: center;
}

#confirm-reject-cancel {
    background-color: #f0f0f0;
    color: #333;
}

#confirm-reject-cancel:hover {
    background-color: #e0e0e0;
}

#confirm-reject-continue {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

#confirm-reject-continue:hover {
    background-color: #c82333;
    border-color: #bd2130;
}


.cookie-category {
    //margin-bottom: 20px;
	margin-bottom: 10px;
}
.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cookie-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}
.status-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
}
.status-badge.active {
    background-color: #e0e0e0;
    //color: #666;
	color: #007bff;		//for always active essential cookies
}
.toggle-switch-container {
    display: flex;
    align-items: center;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: #007bff;
}
input:checked + .slider:before {
    transform: translateX(20px);
}
.slider.round {
    border-radius: 20px;
}
.slider.round:before {
    border-radius: 50%;
}
#cc-allow-all-about {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
#cc-allow-all-about:not(:disabled):hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

 /* CSS for mobile layout */
@media (max-width: 600px) {
    .cc-buttons {
        flex-direction: column;
    }
}
