/* FP-008 (AUDIT_2026-05-20): extracted from Views/Shared/_LandingLayout.cshtml.
   Two inline <style> blocks (card components + cookie consent banner) moved here
   to reduce per-request HTML payload and enable client-side caching. Rule order
   preserved; no selector refactoring, normalization, or prefix changes applied. */

    /* ========================= Card Components ========================= */
    .card {
        border-radius: 0.75rem;
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
        border: none;
    }
    .card-body {
        padding: 1.5rem;
    }
    .card-header {
        padding: 1rem 1.5rem;
        border-radius: 0.75rem 0.75rem 0 0 !important;
    }
    .bg-gradient-dark {
        background: linear-gradient(135deg, #344767 0%, #1a1f36 100%);
    }
    .bg-gradient-primary {
        background: linear-gradient(135deg, var(--md-gradient-start) 0%, var(--md-gradient-end) 100%);
    }
    .bg-gradient-success {
        background: linear-gradient(135deg, #2dce89 0%, #26a17b 100%);
    }
    .bg-gradient-info {
        background: linear-gradient(135deg, #11cdef 0%, #1171ef 100%);
    }
    .bg-gradient-warning {
        background: linear-gradient(135deg, #fb6340 0%, #fbb140 100%);
    }
    .text-muted {
        color: #6c757d !important;
    }
    .font-weight-bold, .font-weight-bolder {
        font-weight: 700 !important;
    }
    .material-icons {
        vertical-align: middle;
    }
    .alert-warning {
        background-color: #fff3cd;
        border-color: #ffc107;
    }
    .alert-light {
        background-color: #f8f9fa;
        border-color: #dee2e6;
    }
    .text-primary {
        color: var(--md-gradient-start) !important;
    }
    .text-success {
        color: #2dce89 !important;
    }
    .text-info {
        color: #11cdef !important;
    }
    .border-top {
        border-top: 1px solid #dee2e6 !important;
    }
    /* Icon shapes for cards */
    .icon {
        width: 48px;
        height: 48px;
    }
    .icon-lg {
        width: 64px;
        height: 64px;
    }
    .icon-shape {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        vertical-align: middle;
    }
    .border-radius-xl {
        border-radius: 0.75rem;
    }
    .border-radius-md {
        border-radius: 0.5rem;
    }
    /* Accordion styling */
    .accordion-button:not(.collapsed) {
        color: #344767;
        background-color: #f0f2f5;
    }
    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(0,0,0,.125);
    }
    /* Quick links card icons */
    .icon-shape.bg-gradient-primary,
    .icon-shape.bg-gradient-success,
    .icon-shape.bg-gradient-info {
        color: #fff;
    }
    .icon-shape .material-icons {
        font-size: 24px;
    }
    .icon-lg .material-icons {
        font-size: 28px;
    }
    /* Shadow utilities */
    .shadow {
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15) !important;
    }
    .shadow-sm {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    }
    /* Button styles */
    .btn-outline-primary {
        color: var(--md-gradient-start);
        border-color: var(--md-gradient-start);
    }
    .btn-outline-primary:hover {
        background-color: var(--md-gradient-start);
        border-color: var(--md-gradient-start);
        color: #fff;
    }
    .btn-outline-success {
        color: #2dce89;
        border-color: #2dce89;
    }
    .btn-outline-success:hover {
        background-color: #2dce89;
        border-color: #2dce89;
        color: #fff;
    }
    .btn-outline-info {
        color: #11cdef;
        border-color: #11cdef;
    }
    .btn-outline-info:hover {
        background-color: #11cdef;
        border-color: #11cdef;
        color: #fff;
    }
    .btn-white {
        background-color: #fff;
        color: #344767;
    }
    .btn-outline-white {
        background-color: transparent;
        border: 1px solid #fff;
        color: #fff;
    }
    .btn-outline-white:hover {
        background-color: #fff;
        color: #344767;
    }
    /* Opacity utility */
    .opacity-8 {
        opacity: 0.8;
    }

    /* Mobile Navigation Fix */
    @media (max-width: 991px) {
        .navbar-collapse {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            z-index: 1031;
            box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.3);
            padding: 15px 20px;
            border-radius: 0 0 12px 12px;
        }

        .navbar-nav {
            padding: 10px 0;
        }

        .navbar-nav .nav-item {
            margin: 5px 0;
        }

        .navbar-nav .nav-item a {
            padding: 10px 15px !important;
            display: block;
            color: #fff !important;
        }

        .navbar-nav .nav-item .btn {
            margin: 10px 0 5px 0;
            width: 100%;
            text-align: center;
        }

        .navbar-toggler {
            border: none;
            padding: 5px;
        }

        .navbar-toggler:focus {
            box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
            outline: 2px solid transparent;
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
    }
    /* Skip to main content link for accessibility */
    .skip-link {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        background: var(--md-gradient-start);
        color: #fff;
        text-decoration: none;
        z-index: 10000;
        font-weight: 600;
    }
    .skip-link:focus {
        width: auto;
        height: auto;
        margin: 0;
        padding: 8px 16px;
        overflow: visible;
        clip: auto;
        white-space: normal;
        top: 0;
        left: 0;
        border-radius: 0 0 4px 0;
        color: #fff;
    }

    /* Scroll to top button */
    .scroll-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--md-gradient-start) 0%, var(--md-gradient-end) 100%);
        color: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(var(--md-gradient-start-rgb), 0.4);
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
    }
    .scroll-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(var(--md-gradient-start-rgb), 0.5);
    }
    .scroll-to-top.visible {
        display: flex;
    }
    /* Fix navbar rounded corners causing white space */
    .navbar {
        border-radius: 0 !important;
    }

    /* ========================= Cookie Consent Banner ========================= */
    .cookie-consent-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        color: #fff;
        padding: 1rem;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }
    .cookie-consent-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .cookie-consent-text {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        flex: 1;
        min-width: 300px;
    }
    .cookie-icon {
        font-size: 2rem;
    }
    .cookie-consent-text p {
        margin: 0.25rem 0 0 0;
        font-size: 0.875rem;
        opacity: 0.9;
    }
    .cookie-consent-text strong {
        font-size: 1rem;
    }
    .cookie-link {
        color: #90caf9;
        text-decoration: underline;
    }
    .cookie-consent-buttons {
        display: flex;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    @media (max-width: 768px) {
        .cookie-consent-content {
            flex-direction: column;
            text-align: center;
        }
        .cookie-consent-text {
            flex-direction: column;
            align-items: center;
        }
        .cookie-consent-buttons {
            width: 100%;
            justify-content: center;
        }
    }
