:root {
    /* Light skin colors */
    --hv-color-bg-light: #f4f5f5;
    --hv-color-text-light: #090909;
    --hv-color-text-accent-light: #47a369;
    /* Dark skin colors */
    --hv-color-bg-dark: #090909;
    --hv-color-text-dark: #EDF2F4;
    --hv-color-text-accent-dark: #47a369;
    --hv-color-text-accent: #47a369;

    --hv-color-bg-mid: #EDF2F4;
    --hv-color-text-header: #47a369;
    --hv-color-text-default: #090909;
    --hv-color-text-link: #47a369;
;

    /* Default to light theme */
    --hv-color-bg: var(--hv-color-bg-light);
    --hv-color-text: var(--hv-color-text-light);
    --hv-color-text-accent: var(--hv-color-text-accent-light);

    /* Inverse colors for default mode */
    --hv-color-bg-inverse: var(--hv-color-bg-dark);
    --hv-color-text-inverse: var(--hv-color-text-dark);
    --hv-color-text-accent-inverse: var(--hv-color-text-accent-dark);

    /* Disabled colors */
    --hv-color-bg-disabled: #e0e0e0;
    --hv-color-text-disabled: #a0a0a0;

    --hv-color-border: #090909;

    --hv-default-font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--hv-default-font);
    color: var(--hv-color-text-accent);
}

body { margin: 0; font-family:var(--hv-default-font);}

.header {
    background: var(--hv-color-bg-dark);
    color: var(--hv-color-text-dark);
    padding: 16px;
    text-align: center;
    font-size: 1.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}   

.header h1 {
   color: var(--hv-color-text-accent-dark);
}
       
.container {
    display: flex;
    height: 100vh;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0px !important;
    padding-left: 0px !important;
}
.sidebar {
    background: var(--hv-color-bg-dark);
    color: var(--hv-color-text-dark);
    width: 220px;
    padding: 24px 0;
    min-height: 100vh;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar li {
    padding: 12px 24px;
}
.sidebar li:hover {
    background: #3d566e;
    cursor: pointer;
}
.main-content {
    flex: 1;
    padding: 32px;
    background: var(--hv-color-bg-light);
    color: var(--hv-color-text-light);
}

.sidebar a {
    color: var(--hv-color-text-dark);
    text-decoration: none;
    display: block;
}

.hv-btn {
    background-color: var(--hv-color-bg-inverse);
    color: var(--hv-color-text-inverse);
    border: 2px solid var(--hv-color-text-inverse);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.hv-btn.selected {
    color: var(--hv-color-text-dark);
    background-color: var(--hv-color-text-accent);
    background-image: var(--bs-gradient);
    border-color: var(--hv-bg-dark);
    box-shadow: inset 0 1px 0 rgba(32, 44, 42, 0.15), 0 1px 1px rgba(15, 66, 58, 0.075);
}

.hv-btn.disabled {
    color: gray;
    background-color: lightgrey;
    background-image: var(--bs-gradient);
    border-color: lightgray;
    box-shadow: inset 0 1px 0 rgba(53, 56, 56, 0.15), 0 1px 1px rgba(15, 66, 58, 0.075);
    pointer-events: none;
    opacity: 0.7;
}


.hv-card {
    background: var(--hv-color-bg-mid);
    color: var(--hv-color-text-default);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}


.terms-scroller {
    max-height: 300px;
    max-width: 90%;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px solid var(--hv-color-border);
    padding: 16px;
    margin-bottom: 16px;
}

.terms-box {
    display:flex;
    flex-direction: row;
    align-items: start;
    margin-top: 10px;

}