.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    z-index: 9999;
}

.cookie-consent-banner .cookie-consent-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-consent-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.cookie-consent-button:hover {
    background-color: #45a049;
}
/* Custom Styles for the Cookie Consent Logs Table */
.wp-list-table th {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px;
    font-weight: bold;
}

.wp-list-table td {
    padding: 10px;
    color: #555;
}

.wp-list-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wp-list-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.wp-list-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Basic popup styling */
.cookie-consent-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999;
}

.cookie-consent-popup-content {
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    margin: 100px auto;
    border-radius: 5px;
    position: relative;
    text-align: center;
}

h2.customize-frontend-h2 {
    margin-top: 0px;
}

.cookie-consent-popup-close {
    position: absolute;
    right: 4px;
    font-size: 20px;
    cursor: pointer;
    top: -5px;
}

.cookie-consent-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
}

.cookie-consent-button:hover {
    background-color: #0056b3;
}
/* Action buttons in the popup */
.cookie-consent-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
}

.cookie-consent-button:hover {
    background-color: #0056b3;
}

.cookie-consent-popup-content button {
    margin-top: 15px;
}

.cky-switch {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
}
.cky-switch input[type="checkbox"] {
    position: relative;
    width: 44px;
    height: 24px;
    margin: 0;
    background: #d0d5d2 !important;
    -webkit-appearance: none;
    border-radius: 50px;
    cursor: pointer;
    outline: 0;
    border: none;
    top: 0;
}
.cky-switch input[type="checkbox"]:checked {
    background: #1863dc !important;
}

.cky-switch input[type="checkbox"]:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    margin: 0;
}
.cky-switch input[type="checkbox"]:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    margin: 0;
}
