:root {
    --primary-blue: #4db8ff;      /* Use for primary buttons, links, and call-to-action elements */
    --primary-green: #66ffcc;     /* Accent color for highlights, icons, and action hover effects */
    --dark-background: #1b2735;   /* Main background color for the header, footer, or entire page if a dark theme */
    --accent-light-blue: #66ccff; /* Secondary accent color, for icons, buttons, or highlights */
    --accent-dark-green: #33b27f; /* Used in borders or icons for added contrast and depth */
    --text-white: #ffffff;        /* Primary text color on dark backgrounds */
    --text-muted: #cfd8dc;        /* Muted text color for secondary information, like footers or labels */
    --border-light: #e0e0e0;      /* Light border color for dividing sections or form fields */
}

/* Suggested Application on Webpage Elements */
body {
    background-color: var(--dark-background);   /* Dark background for the main page */
    color: var(--text-white);                   /* White text for readability on dark backgrounds */
}

header, footer {
    background-color: var(--dark-background);   /* Header and footer in dark color for consistency */
    color: var(--text-white);                   /* White text in header and footer */
}

button.primary {
    background-color: var(--primary-blue);      /* Main button background color */
    color: var(--text-white);                   /* White text for primary button */
    border: none;
}

button.primary:hover {
    background-color: var(--primary-green);     /* Hover effect with green accent color */
}

button.secondary {
    background-color: var(--accent-light-blue); /* Secondary button or link style */
    color: var(--text-white);
}

section.highlight {
    background-color: var(--accent-dark-green); /* Background for highlighted or special sections */
    color: var(--text-white);                   /* White text for contrast */
}

a {
    color: var(--primary-blue);                 /* Link color in primary blue */
}

a:hover {
    color: var(--primary-green);                /* Link hover effect with green */
}

input, textarea {
    background-color: var(--text-white);        /* Light input background */
    color: var(--dark-background);              /* Dark text color for readability */
    border: 1px solid var(--border-light);      /* Light border for input fields */
}

.muted-text {
    color: var(--text-muted);                   /* Muted text color for secondary information */
}

.border-divider {
    border-top: 1px solid var(--border-light);  /* Border divider between sections */
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}
