
/* BASIC LAYOUT CONTAINERS */
/* These control the basic layout of the page */
.side-bar-container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-start;
    width: 13vw;
    background-color: #424242;
    min-height: 100vh;
}
.catalog-container{
    display: flex;
    flex-direction: row;
    background-color: #303030;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    color: white;
    font-family: Arial;
}
.catalog-side-bar-container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-start;
    width: 8vw;
    background-color: #232323;
    min-height: 100vh;
}
.page-container{
    display: flex;
    flex-direction: row;
    height: 100%;
}
.top-bar-container{
    display: flex;
    flex-direction: row;
    background-color: #727272;
    height:96px;
    width:100%;
    color: white;
    font-family:Arial;
}
.main-content-container{
    display: flex;
    flex-direction: column;
    background-color: #303030;
    width: 87vw;
    min-height: 100vh;
    /* height: 100%; */
    color: white;
    font-family: Arial;
}
.body{
    margin:0px;
    height: 100%;
}

/* TOP BAR STUFF */

.top-bar-logo-container{
    width: 13vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-bar-logo{
    width: 90%; 
    height: auto; /* Maintains aspect ratio */
    object-fit: contain;
}
.top-bar-info-container{
    width:87vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.top-bar-title{
    padding-left:10px;
    padding-bottom: 10px;
    font-family: Arial;
    font-weight: bold;
    font-size: 40px;
    display: flex;
    align-items: flex-end;
}
.account-info-container{
    display: flex;
    flex-direction: row;
}

.user_profile_pic{
     height: inherit;
}

.account_name_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.profile_name{
    font-size: 25px;
    padding-bottom: 5px;
}
/* SIDEBAR STUFF */
.side-panel-item{
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-weight: bold;
    font-family: Arial;
    color: white;
}
.catalog-side-bar-item{
    padding: 5px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-weight: bold;
    font-family: Arial;
    color: white;
}
.side-panel-header{
    padding: 5px;
    align-self: flex-start;
    font-size: 20px;
    font-weight: bold;
    font-family: Arial;
    color: white;

}
/* Dashboards */
.dashboard-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 10px;
    width: 100%;
}
.dashboard-item{
    align-self: flex-start;
    margin: 10px;
}
.pd-iframe{
    height: 100%;
    width: 100%;
    min-height: 100vh;
}
/* MAIN CONTENT STUFF */
.main-content-text{
    padding: 10px;
    color: white;
    font-family: Arial;
}

/* BUTTONS */

.catalog-side-bar-button {
  background-color: #58C368;
  border-radius: 10px;
  border: none;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  width: 80%;
}
.catalog-side-bar-button:hover {
	background-color:#476e9e;
}
.catalog-side-bar-button:active {
    background-color:#476e9e;
	position:relative;
	top:1px;
}
.side-bar-button {
  background-color: #58C368;
  border-radius: 10px;
  border: none;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width: 80%;
}
.side-bar-button:hover {
	background-color:#476e9e;
}
.side-bar-button:active {
    background-color:#476e9e;
	position:relative;
	top:1px;
}
.active{
    background-color:#476e9e;
}

.logout_button {
	background-color:#58C368;
	border-radius:10px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:17px;
	padding:10px;
    width:100%;
}
.logout_button:hover {
	background-color:#476e9e;
}
.logout_button:active {
	position:relative;
	top:1px;
}

/* ERROR 500 PAGE */
.error-section {
    margin: 15px 0;
    padding: 10px;
    border-left: 4px solid #e74c3c;
    /* background-color: #f8f9fa; */
}

.error-label {
    font-weight: bold;
    color: #c0392b;
    margin-bottom: 5px;
}

.traceback-container {
    /* background-color: #2c3e50; */
    color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-x: auto;
    margin-top: 10px;
}

.exception-text {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

.exec-type {
    color: #8e44ad;
    font-weight: bold;
}

/* CATALOG PAGES */

.product-container{
    margin: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    border: #ffffff;
    border-style: groove;
    border-radius: 10px;
    align-items: center;
    height: fit-content;
}
.catalog-entries-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 100%;
}
.product-info{
    margin-top: 15px;
    margin-bottom: 15px;
}
.product-image-container{
    display: flex;
    flex-direction: column;
}
.product-image{
    max-width: 200px;
    min-width: 150px;
    width: 175px;
    /* height: auto; */
}
.barcode-image{
    width: 175px;
    max-width: 200px;
    min-width: 150px;
    align-self: center;
    /* height: auto; */
}