.cookie-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.cookie-modal {
    background: white;
    border-radius: 0px 0px;
    box-shadow: 0px 12px 65px rgba(0, 0, 0, .2);
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); */
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding-bottom: 0;
    padding-top: 16px;
}
.cookie-modal-inside{
    max-width: 1200px;
        margin: 0 auto;
}


.cookie-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 16px;
    margin-bottom: 8px;
    position: relative;
}

.cookie-tabs {
    display: flex;
    gap: 16px;
}

.cookie-tab {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-tab.active {
    color: #374151;
    border-bottom-color: #0056b3;
}

.cookie-close{
    position: absolute;
    right: 0;
    top: 0;
}
.cookie-close .close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.close-btn svg {
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

.close-btn:hover svg {
    stroke: #000;
}


.cookie-logo {
    margin-left: auto;
    width: 200px;
}

.cookie-content {
    font-size: 14px;
    line-height: 1.5;
    max-width: 780px;
    color: #555;
}

.cookie-content p{
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.cookie-section {
    /* border: 1px solid #e5e7eb; */
    /* border-radius: 8px; */
    overflow: hidden;
    /* margin-top: 2px; */
}

.wrap-sections-headers{
    display: flex;
    /* justify-content: center; */
    gap: 2px;
    flex-wrap: wrap;
}
.cookie-section-header {
    padding: 6px; /* Increased slightly for better alignment */
    display: flex;
    /* justify-content: flex-end; */
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    gap: 6px;
}

/* Container for the custom checkbox */
.checkbox-container {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

/* Hide the default browser checkbox */
.checkbox-container input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* The custom checkmark box */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px; /* Slight roundness for a modern look */
    transition: all 0.2s ease;
}

/* Background when checked */
input:checked + .checkmark {
    background-color: #1f2937;
    border-color: #1f2937;
}

/* Create the checkmark (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
input:checked + .checkmark:after {
    display: block;
}

/* Style the checkmark (the L-shape rotated) */
.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* Disable interaction */
.checkbox-container.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Ensure input doesn't react */
.checkbox-container input:disabled {
    pointer-events: none;
}

/* Disabled unchecked */
.checkbox-container input:disabled + .checkmark {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

/* Disabled checked */
.checkbox-container input:disabled:checked + .checkmark {
    background-color: #9ca3af;
    border-color: #9ca3af;
}

/* Disabled checkmark color */
.checkbox-container input:disabled:checked + .checkmark:after {
    border-color: #e5e7eb;
}

.cookie-section-content {
    padding: 16px;
    background: white;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.cookie-table th {
    padding: 8px 0;
    font-weight: normal;
    color: #0056b3;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cookie-table th:last-child,
.cookie-table td:last-child {
    text-align: right;
}

.cookie-table tbody tr:nth-child(odd) {
    background: rgba(249, 250, 251, 0.5);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: .3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #1f2937;
}

input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 16px;
    position: sticky;
    bottom: 0;
    background: #fff;
    width: 100%;
    z-index: 222;
    padding-bottom: 32px;
}

.cookie-btn {
    padding: 12px 16px;
    /* border-radius: 2px; */
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    width: 100%;
    font-weight: 700;
}

.cookie-btn-secondary {
    background: #374151;
    color: white;
}

.cookie-btn-secondary:hover {
    background: #1f2937;
}

.cookie-btn-primary { 
  background: #0056b3; 
  color: #ffffff; 
} 
.cookie-btn-primary:hover { 
  background: #004494; 
}

.cookie-notification {
    position: fixed;
    top: 16px;
    right: 16px;
    background: #10b981;
    color: white;
    padding: 12px 16px;
    border-radius: 4px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: opacity 0.3s;
}

 

.hidden {
    display: none !important;
}

.cookie-badge {
    font-size: 12px;
    font-weight: bold;
    color: white;
    background: #9ca3af;
    padding: 2px 8px;
    border-radius: 12px;
}

.cookie-company-title {
    color: #374151;
    margin-bottom: 16px;
    padding-bottom: 8px;
    padding-top: 4px;
    border-bottom: 2px solid #D8232A;
    font-weight: 600;
}


#tab-info{
    max-height: 320px;
    overflow-y: auto;
       padding-bottom: 52px;
}

.cookie-group {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}

.cookie-group:last-child {
  border-bottom: none;
}

.cookie-group h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.cookie-group p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}


@media (max-width: 768px) {
    .cookie-modal {
        /* margin: 20px; */
        padding: 12px;
        padding-bottom: 0;
    }
    .cookie-buttons{
        padding-bottom: 28px;
    }

    .cookie-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-logo {
        margin-left: 0;
        width: 150px;
    }
    .cookie-buttons{
        flex-direction: column;
    }

    .cookie-close {
        position: absolute;
        right: -9px;
        top: -6px;
    }
    .cookie-tabs{
        width: calc(100% - 32px);
    }
    .cookie-section-header{
        padding: 3px;
    }
    .cookie-tab{
        font-size: 14px;
        /* width: 50%; */
        /* padding: 5px 8px; */
        line-height: 1.2;
    }
}