/* =============================================
   GDPR Pages - Shared Styles
   Used by: cookie-preferences, cookies-policy,
   data-request, legal-info, privacy-policy, terms
   ============================================= */

/* Card hover effects (shared by all GDPR pages) */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Accordion styling (cookies-policy, data-request, privacy-policy, terms) */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #212529;
}

/* Section anchor offset (cookies-policy, privacy-policy, terms) */
section {
    scroll-margin-top: 80px;
}

/* Table styles (cookies-policy) */
.table code {
    background-color: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Table header weight (privacy-policy, terms) */
.table th {
    font-weight: 600;
}

/* Orange text utility (cookies-policy) */
.text-orange {
    color: #ff6c37;
}

/* Form switch large variant (cookie-preferences) */
.form-switch-lg .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

/* Button group (cookie-preferences) */
.btn-group .btn {
    white-space: nowrap;
}

/* Form focus styles (data-request) */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* List group hover (legal-info) */
.list-group-item-action {
    transition: all 0.2s;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
    padding-left: 1.5rem;
}

/* Responsive adjustments - scoped to GDPR card content only */
@media (max-width: 767px) {
    .card-body > .btn-group,
    .card-body .btn-group[role="group"] {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .card-body > .btn-group .btn,
    .card-body .btn-group[role="group"] .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Note: Previously had .sticky-top { position: static !important } here,
   removed because it globally broke mobile header positioning.
   No GDPR views use .sticky-top so the rule was orphaned. */
