@import url("https://fonts.googleapis.com/css2?family=Hubballi&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=League+Spartan&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");
::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #008684;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #000000;
}

html {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* background-image: linear-gradient(
      70.5deg,
      rgba(0, 81, 80, 1) 23.5%,
      rgba(0, 134, 132, 1) 91.3%
    ); */
  background-color: #f5f5f5;
  color: rgba(0, 81, 80, 1);
  font-weight: 400;
  font-family: "Hubballi";
  /* font-family: 'Josefin Sans', sans-serif; */
  /* font-family: 'League Spartan', sans-serif; */
  /* font-family: 'Roboto Mono', monospace; */
}
body {
  background-color: #f5f5f5;
  padding: 25px 8px;
}
a,
p,
h1,
h2,
h3,
h4,
h5,
span,
input,
select,
option {
  font-family: "Hubballi";
}
a {
  text-decoration: none;
  color: #008684;
}
.page-header {
  padding: 0 2vw;
  display: flex;
  justify-content: space-between;
  color: rgb(0, 128, 100);
}
.page-header > h2 {
  text-decoration: overline;
  font-size: 25px;
  font-weight: 500;
}
.page-header h2:hover {
  color: orangered;
}
.links {
  display: flex;
  align-items: center;
  width: 30vw;
  justify-content: space-around;
  cursor: pointer;
}
.links > a:hover {
  color: orangered;
  /* font-size: large; */
}
.hov-red:hover {
  color: orangered !important;
}
.card-1 {
  padding: 2vh 20vw;
  justify-content: center;
}
.login {
  background-color: #f5f5f5;
  border-radius: 60px;
  color: rgba(0, 81, 80, 1);
  padding: 2vh 2vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-input {
  padding-top: 1vh;
}
.login-input > input {
  width: 30vw;
  height: 35px;
  padding: 10px 15px;
  text-align: center;
  background-image: linear-gradient(
    70.5deg,
    rgba(0, 81, 80, 1) 23.5%,
    rgba(0, 134, 132, 1) 91.3%
  );
  color: rgb(255, 202, 183);
  border-style: none;
  border-radius: 25px;
}
.login-input > input::placeholder {
  color: rgb(255, 202, 183);
}
.login-input > input:focus {
  outline: none;
}
.btn {
  margin-top: 20px;
  padding: 5px 30px 5px 30px;
  /* height: 35px; */
  text-align: center;
  color: wheat !important;
  background-image: linear-gradient(
    70.5deg,
    rgba(0, 81, 80, 1) 23.5%,
    rgba(0, 134, 132, 1) 91.3%
  );
  color: rgb(255, 202, 183);
  border-radius: 25px;
  cursor: pointer;
}
.btn:hover {
  background-image: linear-gradient(
    70.5deg,
    rgb(230, 57, 72) 23.5%,
    rgb(240, 167, 32) 91.3%
  );
  color: white;
}
.card {
  padding: 2vh 4vw;
  background-color: #f5f5f5;
  border: none;
}
.user {
  /* background-image: linear-gradient(
      70.5deg,
      rgba(0, 81, 80, 1) 23.5%,
      rgba(0, 134, 132, 1) 91.3%
    ); */
  background-color: #f5f5f5;
  /* color: white; */
  color: rgba(0, 81, 80, 1);
  padding: 1vh 4vw 3vh 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 45px;
}
.inner-card {
  background-color: #e5e5e5;
  background-image: linear-gradient(
    70.5deg,
    rgba(0, 81, 80, 1) 23.5%,
    rgba(0, 134, 132, 1) 91.3%
  );
  border-radius: 30px;
  padding: 5vh 4vw 5vh 4vw;
}
.ticker-card {
  background-image: none;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ticker-row > p {
  line-height: 6px;
}
.refreshBtn {
  padding: 4px 9px;
  /* margin-top: 5px; */
}
.flex-end {
  display: flex;
  justify-content: end;
}
.inner-card-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  color: white;
}
.ticker-row {
  gap: 8px;
  color: rgb(216, 152, 32);
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.inner-card h3 {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  /* font-family: 'League Spartan', sans-serif; */
  /* font-family: 'Roboto Mono', monospace; */
}

/* text scroller */
.flowtext-container {
  /* background: black; */

  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 10px 0;
  position: relative;
  margin-bottom: -20px;
}
.flowtext-content {
  display: inline-block;
  color: rgb(216, 152, 32);
  padding-left: 100%;
  font-size: 14px;
  font-weight: 300;
  animation: scroll-left 20s linear infinite;
}
.flowtext-slow {
  animation: scroll-left 30s linear infinite;
}
.flowtext-content > span {
  font-size: 15px;
  font-weight: 400;
}
.flowtext-content:hover {
  animation-play-state: paused;
}
@keyframes scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.search-icon {
  margin-left: 40px;
  position: absolute;
}
.search-scrip {
  width: 50vw;
  font-family: "Josefin Sans";
  background-color: white;
  color: rgb(216, 152, 32);
  outline: none;
  border: none;
  border-radius: 15px;
  font-weight: 300;
  font-size: 14px;
  padding-top: 5px;
  padding-bottom: 5px;
  /* color: #008684; */
}
.search-scrip:active,
.search-scrip:hover {
  width: 50vw;
  background-color: white;
  color: rgb(216, 152, 32);

  outline: none;
  border: none;
  border-radius: 15px;
  font-weight: 300;
  cursor: pointer;
}

.search-box {
  padding: 2vh 3vh;
  display: flex;
  align-items: center;
}
.search-box > input {
  width: 25vw;
  padding: 2vh 3vw;
  border-radius: 25px;
  height: 35px;
  outline: none;
  text-align: center;
  border-style: none;
  color: #008684 !important;
}
.search-box > input::placeholder {
  color: #008684;
}

.search-box i {
  position: absolute;
}
.icon {
  padding: 40px 0 40px 40px;
  min-width: 40px;
  color: #008684;
}

.sugg-item {
  margin-bottom: 5px;
  background-color: #0b5f5e;
  border-radius: 4px;
  padding: 6px 10px;
}
.place-order-details > input {
  width: 7vw;
  height: 6vh;
  border-radius: 25px;
  outline: none;
  text-align: center;
  border-style: none;
  color: #008684 !important;
}
.place-order-details > input::placeholder {
  color: #008684;
}
.place-order-qty {
  width: 80px;
  padding: 5px 10px;
  border-radius: 25px;
  text-align: center;
  border: none;
  outline: none;
}
.buttons {
  margin-top: 4vh;
}
.buttons > button {
  background-color: white;
  padding: 1vh 3vw;
  outline: none;
  text-align: center;
  border-style: none;
  color: #008684;
  border-radius: 25px;
  cursor: pointer;
  text-transform: uppercase;
}
.buttons > button:hover {
  background-image: linear-gradient(
    70.5deg,
    rgb(230, 57, 72) 23.5%,
    rgb(240, 167, 32) 91.3%
  );
  color: white;
}

.holding-status {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.holding-card {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1vh 1vw;
  /* background-image: linear-gradient(
    70.5deg,
    rgba(0, 81, 80, 1) 23.5%,
    rgba(0, 134, 132, 1) 91.3%
  ); */
  background-color: white;
  border-radius: 20px;
  color: #008684;
}
.red {
  color: rgb(238, 51, 88);
}
.green {
  color: #008684;
}
.holding-scrip {
  display: flex;
  justify-content: space-between;
}
.holding-scrip-status {
  display: flex;
  justify-content: space-between;
  margin-top: -20px;
}

@media only screen and (min-width: 700px) {
  .search-scrip {
    width: 20vw;
  }
  .search-scrip:hover,
  .search-scrip:active,
  .search-scrip:focus {
    width: 20vw;
  }
  .card-1 {
    padding: 1vh 15vw;
  }
  .holding-status {
    width: 85%;
  }
  .holding-card {
    width: 70%;
  }
}
@media only screen and (max-width: 700px) {
  .pc {
    display: none;
  }
  .new-order-inner-card-body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;

    padding-left: 10vw;
    padding-right: 10vw;
  }
  .fc {
    display: flex;
    flex-direction: column;
  }
  .fr {
    display: flex;
    flex-direction: row;
  }
  .login-input {
    display: flex;
  }
  .login-input > input {
    width: 40vw;
    height: 35px;
  }
  .card {
    padding: 1.5vh 0vw;
  }
  .search-box > input {
    width: 60vw;
    padding: 1.8vh 3vw;
  }
  .place-order-qty {
    margin-top: -5px;
  }
  .buttons > button {
    padding: 1.5vh 8vw;
  }
  .holding-card {
    display: flex;
    justify-content: center;
    padding: 1vh 2vw;
  }
  .holding-scrip {
    display: flex;
    justify-content: space-between;
  }
  .order-add_cards > .holding-card > .holding-scrip > p {
    margin-bottom: 0;
  }
  .order-add_cards > .holding-card > .holding-scrip {
    padding: 1vh 2vw 0 2vw;
    display: flex;
    justify-content: center;
  }
  .holding-add_cards > .holding-card > .holding-scrip {
    margin-bottom: 5px;
    padding: 1vh 4vw;
  }
}

.copyright {
  padding-top: 40px;
  text-align: center;
}
.copyright-text {
  text-decoration: none;
  color: #008684;
}
.copyright-text:hover {
  color: orangered;
  cursor: pointer;
}
#user_card,
#holding_section,
#order_section {
  display: none;
}

.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-controls button {
  padding: 6px 10px;
  border: none;
  background-color: #157f85;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.pagination-controls button:disabled {
  background-color: #888888;
  cursor: default;
}

.pagination-controls button:hover:not(:disabled) {
  background-color: #17c2c5;
}

.pagination-controls input {
  background-color: #222;
  color: #fff;
  border: none;
  outline: none;
}

.bottom-navbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: #111;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #333;
  z-index: 999;
}

.bottom-navbar .nav-item {
  color: #ccc;
  text-align: center;
  font-size: 12px;
  flex-grow: 1;
  cursor: pointer;
  transition: color 0.3s;
}

.bottom-navbar .nav-item i {
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}

.bottom-navbar .nav-item:hover {
  color: #fff;
}

.bottom-navbar .nav-item.active {
  color: #f39c12;
}
