.cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cookie-consent-content {
    background-color: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-md, 0 4px 10px rgba(0, 0, 0, 0.25));
    position: relative;
}

.cookie-consent-settings-scrollable {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 15px;
}

.cookie-consent-card {
    background-color: #161616f0;
    padding: 1.25rem;
    box-shadow: var(--shadow-md, 0 4px 10px rgba(0,0,0,0.25));
}

.cookie-consent-close {
    position: absolute;
    top: 10px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cookie-consent-initial h2, .cookie-consent-settings h2 {
    max-width: 90%;
    font-size: 24px;
    margin-bottom: 15px;
    color: #0085d2;
}

.cookie-consent-initial p, .cookie-consent-setting p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgb(1 82 122 / var(--tw-text-opacity, 1));
}

.cookie-consent-buttons {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-consent-buttons-row {
    display: flex;
    gap: 15px;
}

.cookie-consent-buttons-row .button {
    flex: 1;
}

#cookie-consent-accept-all {
    width: 100%;
}

.cookie-consent-buttons .button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    color: #0085d2;
    cursor: pointer;
    font-size: 16px;
}

.cookie-consent-buttons .button-primary {
    background-color: var(--intraservis-blue, #0085d2);
    padding: 15px 15px;
    color: #fff;
    border-color: #0073aa;
}

.cookie-consent-settings {
    margin-top: 20px;
    display: none;
}

.cookie-consent-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.cookie-consent-setting-text {
    flex-grow: 1;
    margin-right: 20px;
}

.cookie-consent-setting-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cookie-consent-setting-toggle input[type="checkbox"] {
    display: none;
}

.cookie-consent-setting-toggle label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-consent-setting-toggle label::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.cookie-consent-setting-toggle input[type="checkbox"]:checked + label {
    background-color: #0073aa;
}

.cookie-consent-setting-toggle input[type="checkbox"]:checked + label::after {
    transform: translateX(24px);
}

.cookie-consent-setting-toggle input[type="checkbox"]:disabled + label {
    background-color: #ddd;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 20px;
        width: 95%;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        padding-top: 10px;
    }

    .cookie-consent-buttons .button {
        width: 100%;
    }
}

.cookie-consent-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-consent-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cookie-consent-content::-webkit-scrollbar-thumb {
    background: #888;
}

.cookie-consent-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
