

/* ---------------------------
   Base typography & layout
----------------------------*/
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    /* Dark enterprise background with subtle gradient */
    background: radial-gradient(circle at top, #10263d 0, #050b12 55%, #02060a 100%);
    color: #e4edf5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------------------------
   Links & text
----------------------------*/
a {
    color: #3da9f5;
    text-decoration: none;
}

    a:hover,
    a:focus {
        color: #7fd2ff;
        text-decoration: underline;
    }

.text-light {
    color: #e4edf5 !important;
}

.text-muted {
    color: #9aa6b7 !important;
}

.text-info {
    color: #4db8ff !important;
}

.text-success {
    color: #4fd19a !important;
}

/* ---------------------------
   Buttons & focus states
----------------------------*/
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #ffffff, 0 0 0 0.25rem #258cfb;
    outline: none;
}

/* Slightly more modern button rounding */
.btn {
    border-radius: 0.45rem;
}

/* Primary / outline-light alignment with blue / green accents */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

.btn-outline-light {
    color: #e4edf5;
    border-color: #e4edf5;
}

    .btn-outline-light:hover,
    .btn-outline-light:focus {
        background-color: #e4edf5;
        color: #0b1722;
    }

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

    .btn-success:hover,
    .btn-success:focus {
        background-color: #157347;
        border-color: #146c43;
    }

/* ---------------------------
   Cards, sections & containers
----------------------------*/
section {
    color: inherit;
}

    /* Page section spacing */
    section.py-4,
    section.py-5 {
        /* ensure readable spacing on dark background */
    }

/* Elevated dark cards (used in Privacy page) */
.card.bg-dark {
    background-color: #111827 !important;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

    .card.bg-dark .card-body {
        color: #e4edf5;
    }

/* Generic shadow look */
.card,
.card-elevated {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* ---------------------------
   Badges & alerts (LIDS vibe)
----------------------------*/
.badge {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Brand-style badges similar to inline style used on the page */
.badge-lids {
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
}

/* Green accent alerts matching the privacy header alert */
.alert-lids {
    background: rgba(25, 135, 84, 0.12);
    color: #d1f7df;
    border-left: 4px solid #198754;
}

/* Make default alerts work on dark background */
.alert {
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

/* ---------------------------
   Navbar & footer (if using)
----------------------------*/
.navbar,
.navbar-dark {
    background: linear-gradient(90deg, #020712, #051426, #061b33);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

    .navbar .navbar-brand,
    .navbar .nav-link {
        color: #e4edf5 !important;
    }

        .navbar .nav-link.active,
        .navbar .nav-link:hover,
        .navbar .nav-link:focus {
            color: #7fd2ff !important;
        }

/* Footer area */
footer {
    background-color: #020712;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    color: #9aa6b7;
}

/* ---------------------------
   Forms & inputs
----------------------------*/
.form-control,
.form-select {
    background-color: #020712;
    border-color: #1f2933;
    color: #e4edf5;
}

    .form-control:focus,
    .form-select:focus {
        background-color: #020712;
        border-color: #258cfb;
        color: #e4edf5;
    }

/* Placeholder alignment from original site.css */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Checkbox / radio alignment with dark theme */
.form-check-input {
    background-color: #020712;
    border-color: #4b5563;
}

    .form-check-input:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

/* ---------------------------
   Tables
----------------------------*/
.table {
    color: #e4edf5;
}

    .table thead th {
        border-bottom-color: rgba(148, 163, 184, 0.55);
    }

    .table tbody tr {
        border-color: rgba(148, 163, 184, 0.25);
    }

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-striped-bg: rgba(15, 23, 42, 0.7);
}

/* ---------------------------
   Utilities for spacing / layout
----------------------------*/
.page-header {
    margin-bottom: 1.5rem;
}

.page-header-title {
    font-weight: 600;
}

/* Optional: subtle divider line */
.hr-soft {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    margin: 1.5rem 0;
}

/* TOP TEXT SLIDER ------------------------------------------------------- */

.lids-banner {
    width: 100%;
    background: linear-gradient( 90deg, rgba(0,40,60,0.95), rgba(0,70,90,0.95) );
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.lids-banner-track {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: lidsBannerScroll 18s linear infinite;
}

.lids-banner-text {
    display: inline-block;
    padding-right: 100%;
}

@keyframes lidsBannerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.lids-banner:hover .lids-banner-track {
    animation-play-state: paused;
}
