/* Risk Safety Services - Legal & Cookie Styles */

/* Legal typography and layout */
.rss-legal-content h4 {
    color: #1a1a1a;
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.rss-legal-content h5 {
    color: #2c3e50;
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.rss-legal-content p, 
.rss-legal-content li {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.7;
}

.rss-legal-content table th {
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 600;
    font-size: 0.9rem;
}

.rss-legal-content table td {
    font-size: 0.88rem;
    color: #495057;
}

/* Cookie Banner Component */
.rss-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    padding: 1.25rem 0;
    display: none;
}

.rss-cookie-banner.rss-show {
    display: block;
    animation: rssSlideUp 0.35s ease-out;
}

@keyframes rssSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.rss-cookie-banner__text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0;
}

.rss-cookie-banner__text a {
    color: #C82834;
    text-decoration: underline;
    font-weight: 500;
}

.rss-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Cookie Modal */
.rss-cookie-modal .modal-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.rss-cookie-pref-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
}

.rss-cookie-pref-item.active {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Print Styles */
@media print {
    .rs-navbar-wrapper,
    .rlms-footer,
    .rss-cookie-banner,
    .btn,
    .sticky-top {
        display: none !important;
    }
    .rss-legal-content {
        width: 100% !important;
    }
}
