.fk-consent-banner {
    position: fixed;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    left: 0;
    right: 0;
    font-size: 14px;
}

.fk-consent-banner h3 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 8px;
}

.fk-consent-banner p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.fk-consent-banner.fk-consent-pos-bottom {
    bottom: 0;
}

.fk-consent-banner.fk-consent-pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    bottom: auto;
}

.fk-consent-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

@media (max-width: 768px) {
    .fk-consent-inner {
        flex-direction: column;
        text-align: center;
    }

    .fk-consent-banner {
        padding: 15px;
    }

    .fk-consent-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .fk-consent-content p {
        font-size: 13px;
        line-height: 1.4;
    }

    .fk-consent-links {
        font-size: 11px;
    }
}

.fk-consent-buttons {
    display: flex;
    gap: 10px;
}

.fk-consent-buttons button,
.fk-consent-modal-footer button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 600;
}

.button-primary {
    background-color: #0073aa;
    color: #fff;
}

.button-secondary {
    background-color: #f0f0f1;
    color: #2271b1;
    border: 1px solid #2271b1 !important;
}

/* Modal */
.fk-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fk-consent-modal-content {
    background: #fff;
    width: 95%;
    max-width: 900px;
    /* Increased from 600px to fit tables */
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.fk-consent-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fk-consent-modal-body {
    padding: 20px;
    overflow-y: auto;
    /* Prevent horizontal scroll on body */
    overflow-x: hidden;
}

/* ... headers/footers ... */

.fk-consent-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

/* ... service groups ... */

.fk-service-group,
.fk-service-category {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

/* ... headers ... */

.fk-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    background: #dff0d8;
    color: #3c763d;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.fk-service-item {
    margin-left: 15px;
    margin-top: 15px;
    /* Slightly more spacing */
}

/* Service Item Label Container */
.fk-service-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Checkboxes */
.fk-service-item input[type="checkbox"],
.fk-service-toggle-all input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0073aa;
}

/* Service Name */
.fk-service-item strong {
    font-size: 18px;
    font-weight: 600;
}

/* ... warning ... */

.fk-usa-warning {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Cookie Table */
.fk-cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px;
    /* Slightly smaller font */
    background: #f9f9f9;
    table-layout: fixed;
    /* Force wrapping */
}

.fk-cookie-table th,
.fk-cookie-table td {
    border: 1px solid #eee;
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
    /* Ensure long words break */
    overflow-wrap: break-word;
    vertical-align: top;
}

.fk-cookie-table th {
    background: #eee;
    font-weight: 600;
}

.fk-consent-links {
    font-size: 12px;
    margin-top: 5px;
}

.fk-consent-links a {
    color: inherit;
    text-decoration: underline;
}

/* Placeholder Alignment overrides */
.fk-consent-placeholder.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.fk-consent-placeholder.alignwide {
    max-width: 1200px;
    /* Or whatever the theme wide width is */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}