.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #ffffff, #f8f8f8);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    font-family: 'Work Sans', sans-serif;
    border-top: 3px solid #FF7214;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.consent-banner-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.consent-banner-content p {
    margin: 0;
    flex: 1 1 580px;
}

.consent-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 0 1 auto;
}

.consent-banner button {
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
}

.consent-banner button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 206, 176, 0.3);
}

.consent-accept-all {
    background: #FF7214;
    color: white;
}

.consent-accept-all:hover {
    background: #e56200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 114, 20, 0.2);
    --button__hover__background: #333;
}

.consent-accept-necessary {
    background: white;
    color: #444;
    border: 1px solid #ddd;
}

.consent-accept-necessary:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    --button__hover__background: #333;
}

.consent-accept-necessary button:hover {
    color: #333;
}

.consent-settings {
    background: #29ceb0;
    color: white;
}

.consent-settings:hover {
    background: #25ba9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 206, 176, 0.2);
    --button__hover__background: #333;
}

/* Modal styles for cookie settings */
.consent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    overflow: auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.consent-modal-content {
    background: white;
    margin: 60px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 780px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-top: 4px solid #C82367;
}

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

.consent-modal-title {
    font-size: 22px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.consent-modal-close {
    background: none;
    border: none;
    font-size: 30px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.consent-modal-close:hover {
    color: #C82367;
    background: rgba(200, 35, 103, 0.1);
}

.consent-modal-body {
    margin-bottom: 25px;
}

.consent-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

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

.consent-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.consent-group-header h3 {
    margin: 0;
    font-size: 17px;
    color: #333;
    font-weight: 600;
}

.consent-group-toggle {
    position: relative;
    display: inline-block;
    width: 58px;
    height: 28px;
}

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

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

.consent-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .consent-slider {
    background-color: #29ceb0;
}

input:disabled + .consent-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

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

input:focus + .consent-slider {
    box-shadow: 0 0 0 3px rgba(41, 206, 176, 0.3);
}

.consent-group-description {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.consent-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.consent-accept-all {
    background: #FF7214;
    color: white;
}

.consent-save {
    background: #29ceb0;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(41, 206, 176, 0.2);
}

.consent-save:hover {
    background: #25ba9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(41, 206, 176, 0.2);
}

/* Responsywne style */
@media (min-width: 1600px) {
    .consent-banner-content {
        max-width: 1400px;
    }
}

@media (max-width: 980px) {
    .consent-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .consent-banner-content p {
        margin-bottom: 15px;
    }

    .consent-banner-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .consent-banner {
        padding: 15px;
    }

    .consent-banner-content {
        font-size: 14px;
    }

    .consent-banner-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .consent-banner button {
        width: 100%;
        padding: 10px 15px;
    }

    .consent-modal-content {
        margin: 15px;
        padding: 20px;
        width: auto;
    }

    .consent-modal-header {
        margin-bottom: 15px;
    }

    .consent-modal-title {
        font-size: 18px;
    }

    .consent-group-header h3 {
        font-size: 16px;
    }

    .consent-group-description {
        font-size: 13px;
    }

    .consent-banner-content p {
        margin: 0;
        flex: 1 1 90px;
    }
}