html {
  height: 100%;
}
.white {
  color: white;
}

/**
Bootstrap override
*/
.navbar-light .navbar-nav .nav-link {
  color: white !important;
}

.navbar-toggler {
  background-color: white !important;
}

.green {
  color: #21ba45;
}
.app-green {
  background-color: #1f8456;
}

.full {
  width: 100%;
}
.margin {
  margin-top: 10px;
  margin-bottom: 10px;
}

.margin-top {
  margin-top: 10px;
}

.width {
  display: flex;
  width: 98%;
}

.full-width {
  width: 100%;
}

.blue {
  color: #085594;
}

.light-blue {
  color: #2185d0;
}
.bold {
  font-weight: bold;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: black;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: black;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: black;
}

body {
  font-family: 'Pathway Gothic One', sans-serif;
}

a {
  text-decoration: none;
}

label {
  display: block;
}

nav a {
  display: inline-block;
}

/* App Structure */

#app {
  display: flex;
  width: 100%;
}

.app {
  display: flex;
  width: 100%;
  flex-direction: row;
}

.app-body-right {
  display: flex;
  width: 100%;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  background-color: white;
}

.site-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 98%;
}

/* Auth Form */

.auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.auth-header {
  display: flex;
  justify-content: center;
}
/* Nav Menu */

.nav-link-logo-container {
  display: flex;
  width: 100%;
}

.ac-logo {
  height: 55px;
  width: auto;
  margin: 1em;
}

/* Price Feed */

.price-feed-container {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-evenly;
  margin-top: 10px;
  margin-bottom: 10px;
}

.indiv-price-feed-container {
  display: flex;
  width: 32%;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  flex-direction: column;
}

.positive {
  background-color: #21ba45;
}
.negative {
  background-color: #db2828;
}

.neutral {
  background-color: #2185d0;
}

.hedge {
  background-color: rgb(7, 29, 57);
}

.indiv-price-feed-container:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.indiv-price-feed-top {
  display: flex;
  margin: 5px;
  justify-content: space-between;
  flex-direction: row;
  color: white;
  font-weight: bold;
}
.indiv-price-feed-bottom {
  display: flex;
  margin: 5px;
  justify-content: space-between;
  flex-direction: row;
  color: white;
  font-weight: bold;
}

.indiv-price-feed-bottom-angle {
}

.indiv-price-feed-bottom-prices {
  display: flex;
  flex-direction: row;
}

.margin-right {
  margin-right: 10px;
}

/* Dashboard */

.dashboard-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.dashboard-add-converter-btn {
  display: flex;
  width: 100%;
}

/* Converter Search */
.converter-search-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
}

.converter-search-input {
  display: flex;
  width: 100%;
}

/* IndividualConverter */
.indiv-converter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 10px;
  width: 98%;

  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 100vh;
}

.indiv-converter {
  margin: 5px;
}

/* .card-img-container {
  height: 250px;
  margin-top: 10px;
  width: 100%;
  display: flex;
} */

.card-img {
  display: flex;
  justify-content: center;
  height: auto;
  width: 100%;
  /* transform: rotate(90deg); */
}

/* Individual User */
.edit-user-btn {
  max-height: 35px;
  min-width: 140px;
}

/* Selected Converter && Selected User*/
.selected-converter-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.selected-info-container {
  display: flex;
  width: 100%;
  margin-top: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #085594;
  font-size: 32px;
}

.selected-info-top-row {
  display: flex;
  width: 98%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: white;
  height: 50px;
}
.selected-info-body {
  display: flex;
  width: 100%;
  flex-direction: row;
  background-color: white;
  justify-content: space-evenly;
  align-items: center;
}

.selected-info-body-left {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 175px;
  width: 49%;
  font-size: 50px;
}

.selected-info-body-right {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  align-items: center;
  height: 500px;
  width: 49%;
}

.selected-converter-info-body-right-error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  width: 98%;
}

.selected-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 49%;
}

.selected-converter-img {
  height: 300px;
  width: auto;
  /* transform: rotate(90deg); */
}

.edit-info-body {
  display: flex;
  width: 100%;
  flex-direction: row;
  background-color: white;
  justify-content: space-evenly;
  align-items: center;
}
.edit-info-body-left {
  display: flex;
  flex-direction: column;
  width: 49%;
  height: 370px;
  margin-bottom: 15px;
  justify-content: center;
}

.edit-info-body-price {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100px;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
  font-size: 80px;
}

.selected-info-body-left {
  display: flex;
  width: 49%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.edit-info-price {
  font-size: 80px;
}

.edit-info-body-row {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
}

.edit-input {
  font-size: 12px;
  margin-bottom: 5px;
}
.edit-input-admin {
  width: 100%;
  display: flex;
  flex-direction: column;
}

input {
  font-size: 12px;
}

#edit-input-error {
  font-size: 12px;
  width: 100%;
  margin-top: 5px;
}

.ui.labeled.input > .label {
  font-size: 12px;
  width: 120px;
}

.ui.cards > .card {
  min-height: 323px;
}

.edit-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  overflow: hidden; /* Ensures the image stays within the bounds */
  margin-top: 16px;
}

.edit-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the image scales without distortion */
}

.edit-cat-img {
  height: 300px;
  width: auto;
  /* transform: rotate(90deg); */
}

.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

/* Price List */

@media print {
  .hedge-alert,
  .nav-menu,
  .price-feed-container,
  .margin-update-container,
  .footer-container,
  .no-print {
    display: none !important;
  }
  /* #page-break {
    display: flex;
    width: 100%;
    page-break-after: always;
    flex-direction: column;
  } */
  .price-list-page {
    justify-content: start;
    height: 1458px;
  }

  #page-break {
    page-break-after: always;
  }

  .col-md-3 {
    width: 25%;
  }
}

.price-list-page-container {
  display: flex;
  flex-direction: column;
  background-color: white;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.invalid-feedback {
  display: block !important;
}

.price-list-page {
  /* margin: 0 auto; */
  width: 100%;
}

.price-list-page-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100px;
  text-align: center;
}

.header-img {
  display: flex;
  justify-content: center;
  height: 40px;
  width: auto;
}

.price-list-page-body {
  margin: 0 auto;
}

.price-list-page-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  margin-right: 4px;
  border: 1px solid black;
}

.price-list-page-serial-number {
  flex: 1; /* Take as much space as possible to push .price-list-page-price-container to the right */
  font-weight: bold;
  font-size: 12px;
  padding-left: 8px;
}

.price-list-page-price-container {
  flex: 1; /* Take as much space as possible to be pushed to the right by .price-list-page-serial-number */
  max-width: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.price-list-page-price-input {
  width: 100%;
  border: none;
  height: 100%;
}
.absolute-logo {
  position: absolute;
  height: 40px;
  width: auto;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #fff;
  z-index: 10;
}

.absolute-logo-2 {
  position: absolute;
  height: 40px;
  width: auto;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #fff;
  z-index: 10;
}

/* Margin Update */

/* Converter Search */

.margin-update-container {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  margin-top: 10px;
  margin-bottom: 10px;
}

.margin-update-input {
  display: flex;
  width: 40%;
}

.pdf-download-btn {
  display: flex;
  width: 100%;
  justify-content: center;
}

.update-margin-btn {
  width: 200px;
}

/* Admin All Users Page */

.all-users-page-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.search-all-users-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ui.card:first-child {
  margin: 1em 0;
}

.ui.card:last-child {
  margin: 1em 0;
}

.ui.button {
  margin: 0px;
}
.indiv-user-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-top: 10px;
  width: 98%;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Activity Logs */
.activity-log-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-top: 10px;
  justify-content: space-between;
}

.activity-log-column {
  display: flex;
  flex-direction: column;
  width: 35%;
  margin-top: 10px;
  height: 300px;
  overflow-y: scroll;
  height: 95vh;
  margin-left: 10px;
}

.activity-log-header {
  display: flex;
  width: 100%;
  justify-content: center;
  color: white;
}

.activity-user-card {
  display: flex;
  width: 28%;
  max-height: 650px;
  justify-content: center;
}

.no-recent-logs {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: lightgray;
  color: white;
  font-weight: bold;
  font-size: 30px;
}

.footer-container {
  display: flex;
  width: 100%;
  height: 40px;
  background-color: #071d39;
  color: white;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.user-error-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 370px;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
  color: #085594;
  font-weight: bold;
  font-size: 50px;
}

/* Analytics Page */

.analytics-body {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}

.analytics-body-left {
  display: flex;
  width: 65%;
  flex-direction: column;
}

.analytics-body-right {
  display: flex;
  width: 34%;
  flex-direction: column;
  height: 600px;
  border-radius: 20px;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.analytics-body-chart {
  display: flex;
  width: 100%;
  height: 350px;
  margin-bottom: 10px;
  border-radius: 20px;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.analytics-body-chart-top-row {
  display: flex;
  width: 100%;
  height: 30px;
  background-color: #085594;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: white;
  align-items: center;
}

.chart-title {
  margin-left: 10px;
  font-weight: bold;
}

.analytics-body-chart-container {
  display: flex;
  width: 98%;
  height: 98%;
}
.analytics-body-right-column {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-y: scroll;
  height: 550px;
  align-items: center;
}

.analytics-body-right-top-row {
  display: flex;
  width: 100%;
  height: 30px;
  background-color: #db2828;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  color: white;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.margin-left {
  margin-left: 5px;
}

.analytics-individual-error {
  display: flex;
  flex-direction: row;
  width: 100%;
  border-bottom: 1px solid black;
  justify-content: center;
}
.analytics-individual-error-left {
  display: flex;
  flex-direction: row;
  width: 40%;
  align-items: center;
  /* margin-top: 1em;
  margin-right: 0px;
  margin-left: 0px; */
}

.analytics-individual-error-left-photo {
  height: 20px;
  width: auto;
}
.analytics-individual-error-left-user-info {
  display: flex;
  width: 100%;
  flex-direction: column;
  /* align-items: flex-end; */
  margin-left: 14px;
}

.analytics-individual-error-right {
  display: flex;
  width: 48%;
  align-items: center;
  margin-top: 5px;
  margin-left: 0px;
}

/* Responsive Design */

@media (max-width: 100000px) {
  .app {
    flex-direction: column;
  }
}

@media only screen and (max-width: 1500px) {
  .analytics-body-right-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: scroll;
    height: 550px;
    align-items: center;
  }

  .analytics-body-right-top-row {
    display: flex;
    width: 100%;
    height: 30px;
    background-color: #db2828;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: white;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
  }

  .margin-left {
    margin-left: 5px;
  }

  .analytics-individual-error {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .analytics-individual-error-left {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-top: 5px;
  }

  .analytics-individual-error-left-photo {
    height: 20px;
    width: auto;
  }
  .analytics-individual-error-left-user-info {
    display: flex;
    width: 100%;
    flex-direction: column;
    /* align-items: flex-end; */
    margin-left: 14px;
  }

  .analytics-individual-error-right {
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .analytics-body-left {
    width: 77%;
  }
  .analytics-body-right {
    width: 22%;
  }
}

@media only screen and (max-width: 1300px) {
  .analytics-body-left {
    width: 69%;
  }
  .analytics-body-right {
    width: 30%;
  }
}

@media only screen and (max-width: 1000px) {
  .activity-user-card {
    display: none;
  }
  .activity-log-column {
    width: 49%;
  }
  .user-error-body {
    font-size: 35px;
  }
  .analytics-body-left {
    width: 65%;
  }
  .analytics-body-right {
    width: 34%;
  }
}

@media only screen and (max-width: 900px) {
  .edit-cat-img {
    height: 250px;
    width: auto;
    /* transform: rotate(90deg); */
  }
}

@media only screen and (max-width: 800px) {
  .analytics-body {
    flex-direction: column;
  }
  .analytics-body-left {
    width: 100%;
  }
  .analytics-body-right {
    width: 100%;
  }
  .analytics-individual-error {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid black;
    justify-content: center;
  }
  .analytics-individual-error-left {
    display: flex;
    flex-direction: row;
    width: 40%;
    align-items: center;
    /* margin-top: 1em;
    margin-right: 0px;
    margin-left: 0px; */
  }

  .analytics-individual-error-left-photo {
    height: 20px;
    width: auto;
  }
  .analytics-individual-error-left-user-info {
    display: flex;
    width: 100%;
    flex-direction: column;
    /* align-items: flex-end; */
    margin-left: 14px;
  }

  .analytics-individual-error-right {
    display: flex;
    width: 48%;
    align-items: center;
    margin-top: 5px;
    margin-left: 0px;
  }
  .edit-cat-img {
    height: 200px;
    width: auto;
    /* transform: rotate(90deg); */
  }
}

@media only screen and (max-width: 700px) {
  .nav-link-hover {
    width: 120px;
  }

  .margin-label {
    pointing: 'below';
  }

  .price-list-page-serial-number {
    font-size: 8px;
  }
  .price-list-page-price {
    font-size: 8px;
  }

  .price-list-page-header {
    font-size: 10px;
  }

  .edit-info-body {
    display: flex;
    width: 100%;
    flex-direction: column-reverse;
    background-color: white;
    justify-content: space-evenly;
    align-items: center;
  }
  .edit-info-body-left {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin-bottom: 15px;
    height: 350px;
    justify-content: center;
  }
  .edit-info-price {
    font-size: 80px;
    margin-bottom: 50px;
  }

  .selected-info-body-left {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 175px;
    width: 49%;
    font-size: 50px;
  }
  .user-error-body {
    font-size: 30px;
  }
  .edit-cat-img {
    height: 300px;
    width: auto;
    /* transform: rotate(90deg); */
  }
}

@media only screen and (max-width: 600px) {
  .nav-link-text {
    display: none;
  }
  .nav-link-hover {
    width: 60px;
  }

  .nav-menu {
    height: 50px;
    min-height: 50px;
  }

  .nav-sub-menu {
    font-size: 10px;
  }

  .selected-info-container {
    font-size: 20px;
  }

  .activity-user-card {
    display: none;
  }
  .activity-log-column {
    width: 100%;
    margin-left: 0px;
  }
  .activity-log-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    justify-content: space-between;
  }
  .user-error-body {
    font-size: 20px;
  }
}

@media only screen and (max-width: 510px) {
  .analytics-body-right-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-y: scroll;
    height: 550px;
    align-items: center;
  }

  .analytics-body-right-top-row {
    display: flex;
    width: 100%;
    height: 30px;
    background-color: #db2828;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: white;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
  }

  .margin-left {
    margin-left: 5px;
  }

  .analytics-individual-error {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .analytics-individual-error-left {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-top: 5px;
  }

  .analytics-individual-error-left-photo {
    height: 20px;
    width: auto;
  }
  .analytics-individual-error-left-user-info {
    display: flex;
    width: 100%;
    flex-direction: column;
    /* align-items: flex-end; */
    margin-left: 14px;
  }

  .analytics-individual-error-right {
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 450px) {
  .selected-converter-info-top-row {
    font-size: 20px;
  }

  .selected-converter-info-body {
    flex-direction: column;
  }

  .selected-converter-info-body-left {
    height: 150px;
    width: 100%;
  }

  .selected-converter-info-body-right {
    height: 200px;
    width: 100%;
  }
  .user-error-body {
    font-size: 16px;
  }
  .edit-cat-img {
    height: 250px;
    width: auto;
    /* transform: rotate(90deg); */
  }
}

@media only screen and (max-width: 400px) {
  .ac-logo {
    height: 25px;
    width: auto;
  }

  .price-list-page-serial-number {
    font-size: 6px;
  }
  .price-list-page-price,
  .price-list-page-price-input {
    font-size: 6px;
  }

  .price-list-page-header {
    font-size: 8px;
  }
  .selected-converter-info-top-row {
    font-size: 20px;
  }
  .user-error-body {
    font-size: 14px;
  }
  .edit-cat-img {
    height: 200px;
    width: auto;
    /* transform: rotate(90deg); */
  }
}

.card-hover:hover {
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
}
