/* Licensely cookie consent — standard bottom-left corner pop-up */

#lic-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1F2937;
    line-height: 1.5;
    font-size: 14px;
    animation: licConsentFadeIn 0.25s ease-out;
}

@keyframes licConsentFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#lic-consent-banner .lic-consent-inner {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#lic-consent-banner .lic-consent-body {
    display: block;
}

#lic-consent-banner .lic-consent-icon { display: none; }

#lic-consent-banner .lic-consent-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

#lic-consent-banner .lic-consent-text {
    font-size: 13px;
    color: #4B5563;
    margin: 0;
    line-height: 1.5;
}

#lic-consent-banner .lic-consent-text a {
    color: #2563EB;
    text-decoration: underline;
}

#lic-consent-banner [hidden] { display: none !important; }

#lic-consent-banner .lic-consent-options {
    margin-top: 12px;
    padding: 10px 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#lic-consent-banner .lic-consent-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12.5px;
    color: #4B5563;
    line-height: 1.45;
    cursor: pointer;
}
#lic-consent-banner .lic-consent-row strong { color: #1F2937; font-weight: 600; }
#lic-consent-banner .lic-consent-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
}
#lic-consent-banner .lic-consent-row input[disabled] { cursor: not-allowed; opacity: 0.6; }

#lic-consent-banner .lic-consent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#lic-consent-banner .lic-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    padding: 8px 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.12s ease, border-color 0.12s ease;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

#lic-consent-banner .lic-btn-primary {
    background: #1F2937;
    color: #FFFFFF;
    border-color: #1F2937;
}
#lic-consent-banner .lic-btn-primary:hover {
    background: #111827;
}

#lic-consent-banner .lic-btn-secondary {
    background: #FFFFFF;
    color: #1F2937;
    border-color: #D1D5DB;
}
#lic-consent-banner .lic-btn-secondary:hover { background: #F3F4F6; }

#lic-consent-banner .lic-btn-tertiary {
    background: transparent;
    color: #4B5563;
    border-color: #D1D5DB;
    text-decoration: none;
}
#lic-consent-banner .lic-btn-tertiary:hover { background: #F9FAFB; }

#lic-consent-banner .lic-consent-reject-row {
    text-align: center;
    margin-top: 4px;
}
#lic-consent-banner .lic-consent-reject-row a {
    font-size: 11.5px;
    color: #6B7280;
    text-decoration: underline;
    cursor: pointer;
}
#lic-consent-banner .lic-consent-reject-row a:hover {
    color: #1F2937;
}

@media (max-width: 500px) {
    #lic-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
    }
    #lic-consent-banner .lic-consent-inner { padding: 16px 18px; }
    #lic-consent-banner .lic-consent-actions { flex-wrap: wrap; }
}
