/* Reduce overall font size */
body {
  font-size: 14px !important; /* Bootstrap 3 default */
}

/* Make <small> text lighter */
h1 small {
  color: #6c757d;  /* Bootstrap's default text-muted color */
  font-weight: normal;
}

/* Navbar font */
.navbar-nav .nav-link {
  font-size: 14px !important;
}

/* Reduce padding inside buttons */
.btn {
  padding: 6px 12px !important;
  font-size: 14px !important;
}

.btn-custom {
  background: linear-gradient(to bottom, #fafbf8, #d4e0c1);
  border-color: #d4e0c1;
  color: #333 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.26);
}
/* Form input text */
.form-control {
  font-size: 14px !important;
}

/* Limit container width for better readability 
.container-fluid {
  max-width: 1200px !important;
  margin: auto;
}
*/
.container-fluid {
  max-width: 1300px !important; /* Adjust to preference check 1200,1300,1400*/
  margin: auto; /* Keeps it centered */
  padding-left: 30px !important;
  padding-right: 30px !important;
}

/* added because of tabs scrolling onto second line on investment manager portfolio list */
.nav-tabs {
  flex-wrap: nowrap;
  overflow-x: auto; /* Allows scrolling if needed */
  white-space: nowrap;
}

/* Table Styles */

.table {
  margin-bottom: 1rem;
  background-color: transparent;
  font-size: 13px !important;  /* Reduced table font size */
  width: 100%; /* Ensure it doesn’t exceed the container */
}

.table td, .table th {
  padding: 6px !important; /* Reduce padding inside table cells */
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
}


.table-hover tbody tr:hover {
  background-color: rgba(0,0,0,.075);
}

.table-responsive {
  margin-bottom: 1rem;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,.05);
}

/* Table custom styles */
.bg-custom {
  background-color: #d0e7e0 !important;  /* Lighter shade darkseagreen */
}
.bg-custom-seagreen-divider {
  
  background-color: #d0e7e0 !important; /* Lighter shade of darkseagreen */
  
}
.table.bg-warning tr {
  background-color: transparent !important;
}

.table.bg-warning td,
.table.bg-warning th {
  background-color: transparent !important;
}

.table-divider-thick {
  height: 20px;
  padding: 0 !important;
}



.table-divider {
  height: 2px;
  padding: 0 !important;
}

/* Keep table links blue but remove underline */
.table a, .tab-pane a {
  color: #0d6efd !important; /* Bootstrap default link blue */
  text-decoration: none !important; /* Remove underline */
}

.table a:hover, .tab-pane a:hover {
  /*text-decoration: none !important; *//* No underline on hover */
  text-decoration: underline !important; /* Underline only on hover */
}


/* Ensure the right column doesn't overlap */
.col-md-3 {
  max-width: 100%;
  overflow: hidden; /* Prevents content from overflowing */
}

/* Ensure the graphs fit within their container */
#stock_price_graph_0,
#stock_price_graph_1,
#stock_price_graph_2,
#stock_price_graph_3,
#stock_price_graph_4 {
  max-width: 100%; /* Ensure graphs don’t exceed their container */
  overflow: hidden; /* Prevents content spillover */
  padding-left: 15px; /* Add some space to prevent overlap */
  margin: auto; /* Center graphs properly */
}

/* Ensure the graphs don't push into the table */
.col-md-9 {
  padding-right: 15px !important; /* Adds spacing between table and graphs */
}

/* Ensure proper spacing between the table and graphs */
.col-lg-3 {
  padding-left: 30px !important;  /* Add more spacing on the left side */
}

.col-lg-9 {
  padding-right: 30px !important; /* Add more spacing on the right side */
}

.stock-link {
  text-decoration: none;
  font-size: 1rem;  /* 16px */
  color: #0d6efd !important; /* Bootstrap default link blue */
  /*color: inherit;*/
}

.stock-link:hover {
  text-decoration: underline;
  color: var(--bs-link-hover-color);
}

/* Manager Performance Page Styles */
.manager-performance {
  background-color: #f8f9fa;
  padding: 2rem 0;
}

.manager-performance .summary-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.manager-performance .value-display {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.manager-performance .stats-table th {
  background-color: rgba(0,0,0,0.03);
}

.manager-performance .chart-container {
  min-height: 400px;
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.manager-performance .action-buttons {
  gap: 1rem;
  margin: 2rem 0;
}

.manager-performance .btn-info {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.manager-performance .collapse {
  margin-top: 1rem;
}

.manager-performance .table {
  margin-bottom: 0;
}










