/* Container */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 0.5rem; /* pb-2 */
    z-index: 999;
}

/* Centering container */
.cookie-consent .max-w-7xl {
    max-width: 80rem; /* ~1280px */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
}

/* Inner box */
.cookie-consent .rounded-lg {
    border-radius: 0.5rem; /* lg rounding */
}
.cookie-consent .bg-yellow-100 {
    background-color: #ffffff; /* Tailwind yellow-100 */

    border: 1px solid #666;
}
.cookie-consent .p-4 {
    padding: 1rem;
}
.cookie-consent .md\:p-2 {
    padding: 0.5rem;
}

/* Flex layout */
/* Base: small screens = column */
.cookie-consent .flex {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* optional spacing between elements */
}

/* Large screens and up: row */
@media (min-width: 768px) {
    .cookie-consent .flex {
        flex-direction: row;
        align-items: center;   /* vertically center content */
        justify-content: space-between;
    }
}

.cookie-consent .items-center {
    align-items: center;
}
.cookie-consent .justify-between {
    justify-content: space-between;
}
.cookie-consent .flex-wrap {
    flex-wrap: wrap;
}
.cookie-consent .flex-1 {
    flex: 1 1 0%;
}
.cookie-consent .flex-shrink-0 {
    flex-shrink: 0;
}
.cookie-consent .w-full {
    width: 100%;
}
.cookie-consent .sm\:w-auto {
    width: auto;
}

/* Text */
.cookie-consent .text-black {
    color: #000;
}
.cookie-consent .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.cookie-consent .font-medium {
    font-weight: 500;
}
.cookie-consent .text-yellow-800 {
    color: #78350f;
}

/* Button */
.cookie-consent button.cookie-consent__agree {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem; /* px-4 py-2 */
    border-radius: 9999px; /* pill/fully rounded */
    background-color: #000000; /* yellow-400 */
    color: #ffffff; /* text-yellow-800 */
    transition: background-color 0.2s;
}
.cookie-consent button.cookie-consent__agree:hover {
    background-color: #bababa; /* yellow-300 */
}
