/**
 * CareTrack — cookie consent banner (frontend)
 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    padding: 1rem 0;
    background: var(--ct-surface);
    border-top: 1px solid var(--ct-border);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

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

.cookie-consent-text {
    flex: 1 1 16rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ct-text-secondary);
}

.cookie-consent-read-more {
    font-weight: 600;
    color: var(--ct-primary);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-consent-read-more:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-actions .btn {
        flex: 1 1 calc(50% - 0.25rem);
    }
}
