html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* ── Navbar Styling ── */
.navbar {
    min-height: 56px;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar .navbar-brand {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
}

.navbar .dropdown-toggle::after {
    color: rgba(255,255,255,0.85);
}

.navbar-nav-right {
    padding-right: 50px;
}

.customheadersecondary {
    background-color: lightgray;
    font-weight: bold;
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-right: 5px;
    border-radius: 5px;
    margin: 5px;
}

.rounded {
    padding-top: 5px;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-right: 5px;
    border-radius: 5px;
    margin: 5px;
}

/* ── Table Header Styling ── */
.customheaderprimary {
    background-color: #2C3E50;
    color: white;
}

.customheaderprimary th {
    padding: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    border-bottom: 2px solid #1a252f;
}

.customheaderlight {
    
    color: #2C3E50;
}

.customheaderlight th {
    padding: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2C3E50;
    border-bottom: 2px solid #b2babb;
}

/* ── Action Icon Styling ── */
.action-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.15s ease-in-out;
}

.action-icon:hover {
    opacity: 1.0;
}

.margined {
    margin: 5px;
}

.formlabel {
    font-size: small;
    color: black;
    font-weight: bold;
}

.text-right {
    text-align: right;
}

th {
    cursor: pointer;
}

    th:hover {
        text-decoration: underline;
    }

/* ── Standard Button Styles ── */
.btn-action {
    min-width: 100px;
}

.btn-sm-action {
    min-width: 75px;
    font-size: 0.85rem;
}

/* ── Button effects ── */
.btn-primary {
    background-color: #2C3E50;
    border-color: #2C3E50;
    color: #fff;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1a252f;
    border-color: #1a252f;
    color: #fff;
}

.btn-secondary {
    background-color: #95A5A6;
    border-color: #95A5A6;
    color: #fff;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #798d8f;
    border-color: #798d8f;
    color: #fff;
}

.btn-warning {
    background-color: #F39C12;
    border-color: #F39C12;
    color: #fff;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #d4860b;
    border-color: #d4860b;
    color: #fff;
}

/* ── Hyperlink Styling ── */
a {
    color: #2C3E50;
    font-weight: normal;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #1a252f;
    text-decoration: underline;
}

a.nav-link,
a.navbar-brand,
a.dropdown-item,
a.btn {
    text-decoration: none;
}

a.nav-link:hover,
a.navbar-brand:hover,
a.dropdown-item:hover,
a.btn:hover {
    text-decoration: none;
}

/* ── Card header styling ── */
.card-header-dark {
    background-color: #2C3E50;
    color: white;
}
