/**
 * Web4budget - Cookie consent
 * Every rule is prefixed so that it cannot affect the page around it.
 */
.w4b-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    box-sizing: border-box;
    color: #1f2937;
    background: #ffffff;
    border-top: 1px solid #d1d5db;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.w4b-consent__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}

.w4b-consent__text,
.w4b-consent__status {
    flex: 1 1 28rem;
    margin: 0;
    color: #1f2937;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.w4b-consent__status {
    order: 3;
    flex-basis: 100%;
    font-weight: 600;
}

.w4b-consent__status:empty {
    display: none;
}

.w4b-consent__more {
    order: 4;
    flex-basis: 100%;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.w4b-consent__link {
    color: #1f2937;
    text-decoration: underline;
}

.w4b-consent__link:hover {
    color: #374151;
}

.w4b-consent__link:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.w4b-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
}

.w4b-consent__button {
    flex: 1 1 0;
    box-sizing: border-box;
    min-width: 9.5rem;
    min-height: 44px;
    margin: 0;
    padding: 0.625rem 0.75rem;
    color: #ffffff;
    background: #1f2937;
    border: 2px solid #1f2937;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}

.w4b-consent__button:hover {
    background: #374151;
    border-color: #374151;
}

.w4b-consent__button:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.w4b-consent-page-link {
    margin: 0;
    padding: 1rem;
    color: inherit;
    font-size: 0.875rem;
    text-align: center;
}

.w4b-consent-page-link a {
    color: inherit;
    text-decoration: underline;
}

.w4b-policy {
    padding: 3rem 0;
}

.w4b-policy .container {
    max-width: 860px;
}

.w4b-policy h2 {
    margin: 2rem 0 0.75rem;
}

.w4b-policy h3 {
    margin: 1.25rem 0 0.5rem;
}

.w4b-policy p,
.w4b-policy ul {
    margin: 0 0 0.875rem;
}

.w4b-policy ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.w4b-policy a {
    text-decoration: underline;
}

.w4b-policy__updated {
    font-weight: 600;
}

.w4b-policy__table {
    margin: 0 0 1rem;
    overflow-x: auto;
}

.w4b-policy table {
    width: 100%;
    border-collapse: collapse;
}

.w4b-policy th,
.w4b-policy td {
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .w4b-consent__inner {
        padding: 0.875rem 1rem;
    }

    .w4b-consent__actions {
        width: 100%;
    }
}

@media (max-width: 350px) {
    .w4b-consent__actions {
        flex-direction: column;
    }

    .w4b-consent__button {
        flex: 0 0 auto;
    }
}
