/* Base layout */
html {
  font-size: 20px;
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f4f6f9;
}

.navbar-logo {
  width: auto;
  height: 40px;
  margin-right: 10px;
}

.about-hero {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  border-radius: 12px;
  padding: 40px;
}

.about-hero .row {
    align-items: center;
}

.pepti-logo {
    max-width: 100%;
    height: auto;
    max-height: 260px;
}

.content-container {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 8rem;
  padding-right: 8rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin: 20px auto;
}

.content-container-table {
  background: #fff;
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin: 20px auto;
}

/* Remove container constraints */
main.container {
  max-width: none !important;
}

/* Navbar */
.navbar {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #dee2e6;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: #2c3e50 !important;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  height: 40;
}

.nav-link {
  font-size: 1.25rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-right: 0.5rem;
  padding: 0.4rem 0.9rem !important;
  color: #212529 !important;
}

.nav-link:hover {
  background-color: rgba(0,123,255,0.05);
}

.dropdown-menu {
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

/* Buttons */
.btn-outline-light,
.btn-outline-primary {
  border-radius: 6px;
}

.cart-btn {
  padding: 0.3rem 0.6rem;
}

/* Cards */
.card {
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  border: 1px solid #e9ecef
}

.card-header {
  background-color: #f8f9fa; 
  font-weight: 600;
  border-bottom: 2px solid rgba(0,0,0,.05);
}

/* Tables */
.card table.dataTable {
    margin-top: 0 !important;
}

.card:hover {
  transform: translateY(-4px);
  transition: 0.2s;
}

.table-wrapper{
  border: 1px solid #dee2e6;
  border-radius: 0px;
  background: #fff;
}

div.dataTables_info {
  padding-left: 10px !important;
  padding-top: 10px !important; 
}

div.dataTables_paginate {
  padding-right: 10px !important;
  padding-bottom: 10px !important;
}

.table thead th {
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid #dee2e6;
}

.table tbody th {
  margin-bottom: 1rem;
}

.table-hover tbody tr:hover {
  background-color: rgba(0,123,255,0.05);
}

/* Footer */
.footer {
  background-color: #212529;   /* dark */
  color: #ffffff;              /* all text white */
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer h5,
.footer p,
.footer li,
.footer a {
  color: #ffffff;
}

.footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #adb5bd;   /* soft gray on hover */
}

/* Welcome Box */
.welcome-container {
  background-color: #f8f9fa;
}

/* Stat Boxes */
.stat-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Optionally make numbers bigger */
.stat-number {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

/* wrap protein name text */
.wrap-text {
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 300px !important; 
}

