/* MedTeq cookie consent banner */
.medteq-cc {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 9990;
    background: #1f2937;
    color: #f9fafb;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .25);
    padding: 16px 20px;
    font-size: 0.9rem;
}

.medteq-cc[hidden] {
    display: none;
}

.medteq-cc-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.medteq-cc-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.medteq-cc-body {
    margin: 0 0 6px;
    line-height: 1.4;
}

.medteq-cc-link a {
    color: #93c5fd;
    text-decoration: underline;
}

.medteq-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.medteq-cc-btn {
    border: 0;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}

.medteq-cc-btn:hover {
    opacity: .9;
}

.medteq-cc-btn-primary {
    background: #C4788A;
    color: #fff;
}

.medteq-cc-btn-secondary {
    background: #374151;
    color: #f9fafb;
}

.medteq-cc-prefs {
    grid-column: 1 / -1;
    border-top: 1px solid #374151;
    padding-top: 12px;
    margin-top: 8px;
}

.medteq-cc-prefs fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 12px;
}

.medteq-cc-pref {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    cursor: pointer;
}

.medteq-cc-pref input {
    width: 18px;
    height: 18px;
}

.medteq-cc-manage {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 9989;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #C4788A;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.medteq-cc-manage[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .medteq-cc-inner {
        grid-template-columns: 1fr;
    }

    .medteq-cc-actions {
        justify-content: flex-start;
    }
}