/**
 * Biscotti CMP Frontend Shortcode Styles
 * Used for cookie tables, consent links, data export, and legal content
 */

/* Cookie Table Styles */
.biscotti-cookie-table {
    margin: 20px 0;
}

.biscotti-category-title {
    margin: 24px 0 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #9B6B3C;
}

.biscotti-category-desc {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 16px;
}

.biscotti-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.biscotti-table th,
.biscotti-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.biscotti-table th {
    background: #f5f5f5;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.biscotti-table code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.biscotti-last-updated {
    color: #999;
    margin-top: 16px;
}

/* Data Export Styles */
.biscotti-data-export {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

.biscotti-export-btn {
    background: #9B6B3C;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.biscotti-export-btn:hover {
    background: #855530;
}

/* Do Not Sell (CCPA) Styles */
.biscotti-dns-container {
    margin: 16px 0;
}

.biscotti-dns-link {
    color: #9B6B3C;
    text-decoration: underline;
    font-weight: 600;
}

.biscotti-dns-desc {
    color: #666;
    font-size: 0.9em;
    margin-top: 8px;
}

/* Legal Content Styles (Impressum, Privacy Policy, Cookie Policy) */
.biscotti-legal-content {
    line-height: 1.7;
}

.biscotti-legal-content h1,
.biscotti-legal-content h2,
.biscotti-legal-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.biscotti-legal-content h2 {
    border-bottom: 2px solid #9B6B3C;
    padding-bottom: 0.25em;
}

.biscotti-legal-content ul,
.biscotti-legal-content ol {
    margin-left: 1.5em;
}

.biscotti-error {
    color: #c0392b;
    padding: 1em;
    background: #fdf0ef;
    border-radius: 6px;
}

/* Consent Link Styles */
.biscotti-consent-link {
    color: #9B6B3C;
    text-decoration: underline;
    cursor: pointer;
}

.biscotti-consent-link:hover {
    color: #8B5A2B;
}
