.dr-cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dr-cookie-consent-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.dr-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 15px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(100%);
    transition: transform 0.2s ease-in-out;
    display: none;
}

.dr-cookie-consent.visible {
    transform: translateY(0);
    display: block;
}

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

.dr-cookie-consent .cookie-text-content {
    flex: 1;
}

.dr-cookie-consent .cookie-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #000;
}

.dr-cookie-consent .cookie-description {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

.dr-cookie-consent .cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.dr-cookie-consent button {
    width: 100%;
    transition: all 0.2s;
    font-size: 14px;
    font-family: inherit;
    line-height: 24px;
    padding: 8px 27px;
    font-weight: 500;
    margin: 0 8px 0 0;
    border-radius: 2px;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    text-transform: none;
    min-height: 0;
    overflow-wrap: break-word;
}

.dr-cookie-consent .settings-button {
	color: var(--dark);
    border-color: var(--cta-color);
    background-color: transparent;
}

.dr-cookie-consent .settings-button:hover {
    background: var(--cta-hover);
	color: var(--cta-text-hover);
}

.dr-cookie-consent .accept-all {
    background: var(--cta-color);
    color: white;
}

.dr-cookie-consent .accept-all:hover {
    background: var(--cta-hover);
}

/* Cookie Preferences Modal */
.dr-cookie-preferences {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    border-radius: 8px;
    z-index: 10000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.dr-cookie-preferences.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    display: block;
}

.dr-cookie-preferences h2 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #333;
    font-weight: 800;
    border-bottom: 1px solid #eee;
    padding: 0 0 15px 0;
}

.dr-cookie-preferences > p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.dr-cookie-preferences .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.cookie-category {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.always-active {
    color: var(--cta-hover);
    font-size: 12px;
    font-weight: 600;
}

.cookie-category-description {
    color: #333;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.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: #ccc;
    transition: .4s;
    border-radius: 24px;
}

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

input:checked + .toggle-slider {
    background-color: var(--cta-color);
}

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

.preferences-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.preferences-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
	transition: 0.2s all ease;
}

.preferences-actions button:hover {
    background: var(--cta-hover);
}

.reject-all {
    background: #f5f5f5;
    color: var(--dark);
}

.save-preferences {
    background: #f5f5f5;
    color: var(--dark);
}

.accept-all-preferences {
    background: var(--cta-color);
    color: white;
}

.preferences-description {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.preferences-description p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.toggle-description {
    background: none;
    border: none;
    color: #2B5234;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 5px;
    display: block;
}

.toggle-description:hover {
    color: #1e3a24;
}

.expanded-content {
    margin-top: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expanded-content.visible {
    opacity: 1;
    max-height: 200px;
}


@media (max-width: 768px) {
    .dr-cookie-consent .cookie-content {
        flex-direction: column;
        text-align: left;
    }
    
    .dr-cookie-consent .cookie-text-content {
        margin-right: 0;
    }
    
    .dr-cookie-consent .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .preferences-actions {
        flex-direction: column;
    }

    .dr-cookie-preferences {
        width: 95%;
        max-height: 95vh;
        padding: 20px;
    }
}


@media (max-width: 460px) {
    .dr-cookie-consent .cookie-actions{
        flex-wrap: wrap;
    }
}