﻿
:root {
    --header-height: 60px; /* Define once, use everywhere */
    --footer-height: 40px; /* Define once, use everywhere */
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* The full height of the viewport */
    margin: 0;
    padding: 0;
}


html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

main {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}


header {
    height: var(--header-height);
    z-index: 1000;
}

footer {
    background-color: #00008b; /* Dark blue */
    color: #ffff00; /* Yellow text */
    height: var(--footer-height);
    padding: 6px;
    z-index: 1000;
}

footer {
    background-color: #00008b; /* Dark blue */
    color: #ffff00; /* Yellow text */
    height: var(--footer-height);
    padding: 6px;
    z-index:1000;
}

.header-color {
    background-color: #00008b; /* Dark blue */
    color: #ffff00; /* Yellow text */
}

.error-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff4444;
    font-size: 18px;
    text-align: center;
    max-width: 80%;
}

.max-container {
    flex: 1;
    min-height: 0; /* Prevents flex item from exceeding container */
    background-color: #070027; /* Very dark blue */
    padding: 1px; /* Ensure border visibility */
}

.max-panel {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #070027; /* Very dark blue */
    background-size: 100% 100%;
    border: 1px solid #ffff00; /* Yellow border */
    box-sizing: border-box; /* Include border in dimensions */
}

.svg-container {
    flex: 1;
    min-height: 0;
    position: relative; /* â† important */
    background-color: #070027; /* fallback color */
    padding: 1px;
    overflow: hidden;
}

/* This layer holds ONLY the background image (full brightness; no filter). */
.bg-image {
    position: absolute;
    inset: 0;
    background: url('../images/WPD4.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Nav Thing page: bg-image stretches to 100% of container, top not clipped */
.nav-thing-page.svg-container {
    overflow: visible;
    padding: 0;
    min-height: 0; /* allow flex shrink so container gets correct height */
}
.nav-thing-page .bg-image {
    /* Stretch image to fill entire container (no cropping; top stays visible) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    box-sizing: border-box;
}

.bg-container {
    flex: 1;
    min-height: 0;
    position: relative; /* â† important */
    background-color: #070027; /* fallback color */
    padding: 1px;
    overflow: hidden;
}

.bg-image-bright {
    position: absolute;
    inset: 0;
    background: url('../images/WPD4.webp');
    background-size: 100% 100%;
    z-index: 1;
}

    .bg-image-bright .gate-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%; /* match container width */
        height: 100%; /* match container height */
        z-index: 2; /* on top of background */
        pointer-events: none;
        display: block; /* avoid inline SVG quirks */
    }

.bg-panel {
    position: relative; /* â† important */
    width: 100%;
    height: 100%;
    z-index: 2; /* â† stays on top */
    background: transparent;
    border: 1px solid #ffff00;
    justify-content: center; /* horizontal centering */
    align-items: center; /* vertical centering */
}

.child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 460px;
    width: 90%; /* or 100% */
}

/* Your SVG â€“ now completely immune to any filter */
.svg-panel {
    position: relative; /* â† important */
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2; /* â† stays on top */
    background: transparent;
    border: 1px solid #ffff00;
    box-sizing: border-box;
}
.background {
    margin: 0;
    padding: 0;
    background-image: url("../images/WPD4.webp");
    /*background-image: url('../animal-hospital-puppy.png');*/
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.background-library {
    margin: 0;
    padding: 0;
    background-image: url('../data-library.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 100%;
}


.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;
}


.smartbot {
    margin: 0;
    padding: 0;
    background-image: url("../images/HelpBot.svg");
    /*background-image: url('../animal-hospital-puppy.png');*/
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


.scheduler-table {
    margin: 0;
    padding: 0;
    /*background-image: url("../PetDoctor3.JPG");*/
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.dgbody-find::-webkit-scrollbar {
    width: 9px;
}

.dgbody-find::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px grey;
}

/* Handle */
.dgbody-find::-webkit-scrollbar-thumb {
    background: red;
}

/* Handle on hover */
.dgbody-find::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}


/*
.navbar-nav .nav-link {
    color: #fff;
}

.dropend .dropdown-toggle {
    color: salmon;
    margin-left: 1em;
}

.dropdown-item:hover {
    background-color: lightsalmon;
    color: #fff;
}
*/
.dropdown .dropdown-menu {
    display: none;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: .100em;
    margin-left: .120em;
}

.dropend:hover > .dropdown-menu {
    display: block;
    margin-top: .100em;
    margin-left: .120em;
}

@media screen and (min-width:992px) {
    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    .dropend .dropdown-toggle {
        margin-left: .5em;
    }
}


.chat-messages {
    border: 1px solid #004d4d;
    border-radius: 0 0 0px 6px;
    padding: 10px;
    margin-top: 0px;
    overflow-y: scroll;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    flex: 1;
}

.chat-question-name {
    color: red;
    margin: 0px 6px;
    height: 20px;
    width: 20px;
}

.chat-question {
    color: blue;
    width: 96%;
    background-color: lightcyan;
    border: 1px solid blue;
    border-radius: 10px;
    padding: 4px;
    margin: 8px 48px 8px 4px;
}

.chat-response-name {
    color: red;
}

.chat-response {
    color: blue;
    width: 96%;
    border: 1px solid red;
    background-color: lightyellow;
    border-radius: 10px;
    padding: 4px;
    margin: 8px 4px 8px 48px;
}

.chat-suggestions {
    border: 1px solid #004d4d;
    border-radius: 0 0 6px 0px;
    padding: 10px;
    margin-bottom: 0px;
    overflow-y: scroll;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    flex: 1;
}

