/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1;
}

.col-6, .col-4{
    padding-bottom: 10px !important;
}
/* Header */
header {
    background-color: #F5F5F5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
    z-index: 2;
    height: 60px;
}

header > div, header > h2, header > form {
    flex: 1 1 0;
}

#header_title {
    color: #333333;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}

#nhpc_logo {
    height: auto;
    width: 227.66px;
}

#header_logo {
    height: 59px;
    width: 130px;
}

.logout-btn {
    background: linear-gradient(180deg, #e0e0e0 0%, #cfcfcf 100%);
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 0.2675rem 0.9rem;
    margin-right: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.logout-btn:hover, .logout-btn:focus {
    background: linear-gradient(180deg, #d0d0d0 0%, #bdbdbd 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.logout-btn:active {
    background: linear-gradient(180deg, #bdbdbd 0%, #ababab 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

/* Row helper */
.row:nth-of-type(2) {
    flex: 1 0 auto;
}

/* Sidebar */
.sidebar {
    background-color: #F5F5F5;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    position: relative;
    box-shadow: 6px 0 12px rgba(0, 0, 0, 0.24);
    z-index: 1;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 0.75rem;
}

.sidebar ul li a {
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #666;
    background: linear-gradient(180deg, #e0e0e0 0%, #cfcfcf 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar ul li a:hover {
    background: linear-gradient(180deg, #d4d4d4 0%, #bcbcbc 100%);
    color: #222;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.sidebar ul li.active a {
    background: linear-gradient(180deg, #bfbfbf 0%, #9f9f9f 100%);
    color: #111;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.10);
    border-left: 4px solid #444;
}

.sidebar ul li.active a:hover {
    background: linear-gradient(180deg, #b0b0b0 0%, #909090 100%);
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.10);
    transform: translateY(-1px);
}

.sidebar ul li.active-parent > a {
    background: linear-gradient(180deg, #bfbfbf 0%, #9f9f9f 100%);
    color: #111;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.10);
    border-left: 4px solid #444;
}

.sidebar ul li.active-parent > a:hover {
    background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
}

/* Main content */
.content {
    background-color: #FFFFFF;
}

/* Optional elements */
.choices {
    height: 38px;
}

.choices__inner {
    padding-top: 0;
    padding-bottom: 0 !important;
    min-height: 38px !important;
    border-radius: 0.5rem;
}

.choices__list--single {
    padding-top: 6px;
    padding-bottom: 6px;
}

.choices__placeholder {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(33, 37, 41, 0.75) !important;
    font-weight: 400 !important;
}

.choices__list--dropdown {
    border-radius: 0.5rem;
    z-index: 5 !important;
}

.choices__item--selectable {
    font-size: 1rem;
    font-weight: 400 !important;
    line-height: 1.5;
    color: rgba(33, 37, 41, 1) !important;
}

.choices__item--choice {
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.choices__item--choice.is-highlighted {
    background-color: #f0f0f0 !important;
}

.form-control {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    border-color: #888;
    box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.2), inset 0 0 4px rgba(0, 0, 0, 0.08);
    background-color: #fefefe;
    outline: none;
}

/* Footer */
#footer {
    background-color: #F5F5F5;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    position: relative;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.24);
    z-index: 2;
    padding: 0 20px 0 20px;
    font-size: 10px;
    text-transform: uppercase;
    color: #3f3f3f;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
}

#footer p {
    display: inline-block;
    margin: 0;
    padding: 10px 0;
}


.graph-heading {
    font-size: 1.7rem !important;
    font-weight: bold;
    text-transform: uppercase;
}

.cliff-valley {
  width: 100%;
  height: 40px;  /* taller for better V */
  margin: 40px 0;
  position: relative;
}

.cliff-valley::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #111, #555, #111);
  clip-path: polygon(0 0, 50% 100%, 100% 0); /* V-shape */
}
