.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

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

.cookie-consent-title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.cookie-consent-text p {
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    flex-shrink: 0;
}

.cookie-consent button {
    border: 1px solid #222;
    padding: 0.65rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    background: #ffffff;
}

.cookie-consent button:hover {
    opacity: 0.85;
}

.cookie-consent-accept {
    background: #222 !important;
    color: #ffffff;
}

.cookie-consent-reject {
    background: #ffffff;
    color: #222;
}

.cookie-consent-settings {
    background: #f5f5f5 !important;
}

@media (max-width: 700px) {
    .cookie-consent {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

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