/* -------------------------------------------
   BASE TYPOGRAPHY
------------------------------------------- */
html {
    font-size: 14px;
}

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

/* Focus styling */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


/* -------------------------------------------
   GLOBAL PAGE LAYOUT
------------------------------------------- */
html,
body {
    height: 100%;
}

/* Add bottom padding so page content never sits under fixed footer */
body {
    margin: 0;
    padding-bottom: 70px; /* adjust if footer height changes */
}


/* -------------------------------------------
   WAVES BACKGROUND
------------------------------------------- */
.ts-bg-waves {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.ts-bg-wave {
    position: absolute;
    width: 140%;
    min-width: 900px;
    opacity: 0.75;
}

.ts-bg-wave-top {
    top: -140px;
    left: -12%;
}

.ts-bg-wave-bottom {
    bottom: -260px;
    right: -15%;
}

/* Action button style (Create User) */
.ts-btn-action {
    padding: 0.45rem 1.1rem;
    font-weight: 600;
    border-radius: 6px;
}

/* Admin table refinement */
.ts-admin-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-admin-table td {
    font-size: 0.9rem;
}

/* Optional: Sticky header */
.ts-admin-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f8f9fa;
}



/* Hide waves entirely on content/legal pages */
body.ts-content .ts-bg-waves {
    display: none !important;
}


/* -------------------------------------------
   NAVBAR ADJUSTMENTS FOR LEGAL PAGES
------------------------------------------- */
body.ts-content .ts-nav-logo-title {
    max-height: 40px;
}

body.ts-content .ts-nav-logo {
    max-height: 32px;
}

body.ts-content .navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}


/* -------------------------------------------
   FIXED MINIMAL FOOTER
------------------------------------------- */
.ts-footer-minimal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0; /* Slimmer height */
}

.ts-footer-links a {
    text-decoration: none;
    color: #475569; /* slate-600 */
    font-size: 0.85rem;
    padding-left: 0.75rem;
    white-space: nowrap;
}

    .ts-footer-links a:hover {
        color: #0B9AFD;
        text-decoration: underline;
    }

.ts-footer-copy {
    color: #64748b; /* slate-500 */
    font-size: 0.85rem;
    white-space: nowrap;
}

/* -------------------------------------------
   COOKIE BANNER
------------------------------------------- */

.ts-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0; /* <-- no gap; banner sits at bottom of viewport */
    z-index: 1080;
    padding: 0.75rem 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    color: #e5e7eb;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 -0.35rem 1.25rem rgba(15, 23, 42, 0.45);
}

/* Hide the cookie icon entirely */
.ts-cookie-icon {
    display: none !important;
}

/* Make all links inside the banner white */
.ts-cookie-banner a,
.ts-cookie-text a {
    color: #ffffff;
    text-decoration: underline;
}

    .ts-cookie-banner a:hover,
    .ts-cookie-text a:hover {
        color: #d1d5db;
    }

/* Primary/secondary buttons */
.ts-cookie-btn-primary {
    background-image: linear-gradient(135deg, #0B9AFD, #5627F7);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding-inline: 1rem;
    border-radius: 999px;
    box-shadow: 0 0.25rem 0.8rem rgba(37, 99, 235, 0.4);
}

.ts-cookie-btn-secondary {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: transparent;
    color: #e5e7eb;
}

/* Force white links in the cookie banner (but not the buttons) */
#cookieBanner a:not(.btn) {
    color: #ffffff !important;
    text-decoration: underline;
}

    #cookieBanner a:not(.btn):hover {
        color: #d1d5db !important;
    }

/* Make the "Do Not Sell My Info" button white text inside the cookie banner */
#cookieBanner .ts-cookie-btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
}

    #cookieBanner .ts-cookie-btn-secondary:hover {
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.9) !important;
        background: rgba(255, 255, 255, 0.1); /* subtle hover */
    }



@media (max-width: 575.98px) {
    .ts-cookie-banner {
        padding: 0.6rem 0.2rem;
    }
}



