.metrics-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Dark elegant background */
    color: #ffffff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999; /* Ensures it stays on top of other elements */
    padding: 15px 20px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.metrics-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.metrics-banner-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.metrics-banner-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-banner {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s ease;
}

.btn-accept {
    background-color: #2ecc71; /* Green */
    color: white;
}

.btn-accept:hover {
    background-color: #27ae60;
}

/* Opt-out link — same style as other links in the banner */
.metrics-optout-link {
    color: #3498db;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.metrics-optout-link:hover {
    text-decoration: underline;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    .metrics-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .metrics-banner-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}
/* Text block layout */
.metrics-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}

/* "show more / show less" toggle link */
.metrics-toggle-link {
    display: inline-block;
    margin-top: 4px;
    color: #3498db;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}

.metrics-toggle-link:hover {
    text-decoration: underline;
}

/* Foldable section */
.metrics-foldable {
    margin-top: 8px;
}

.metrics-foldable p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Privacy policy link */
.metrics-banner-text a:not(.metrics-toggle-link) {
    color: #3498db;
    text-decoration: none;
}

.metrics-banner-text a:not(.metrics-toggle-link):hover {
    text-decoration: underline;
}

/* Co-processor partner list */
.metrics-partners {
    margin: 8px 0 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
}

/* Main title */
.metrics-banner-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}
