/* ------------ GOOGLE FONTS ------------ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* ------------ VARIABLES ------------ */
:root{
  /* FONT */
  --font: 'Poppins', sans-serif;

  /* COLORS */
  /* --body-color: #e4e9f7;*/
  --sidebar-color: #fff; 
  --text-color: #707070;
  /* --color: #fc00ff; */
  --color: #21D192;
  --color2: #d4ae8d;
}

/* ------------ BASE ------------ */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html ,body{
  font-family: var(--font);
  height: 100%;
  /* background-color: var(--body-color); */
}

#wrapper {
  height: 100%;
  width: 100%;
  /* overflow-x: scroll; */
  overflow: auto;
  white-space: nowrap; 
  /* background-image: linear-gradient(
    to left,
    #fc00ff,
    #00dbde

    ); */
    /* opacity: 0.5; */
    /* background: linear-gradient(270deg, #4b556c,#a6837b); */
    /* background-image: url("../images/background.jpg"); */
    /* background-repeat: inherit; */
    background-image: linear-gradient(
    to right,
    rgb(241 242 246/ 85%),
    rgb(75 85 108/ 35%)
  ), url("../images/decor.jpg");
  

  /* background: -webkit-linear-gradient(90deg, #1b1c55,#2f2888);background: linear-gradient(90deg, #1b1c55,#2f2888); */
  /* background: -webkit-linear-gradient(120deg, #9977ce,#543883,#241f5b) */
  /* background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%); */
}

.carousel-indicators li {
  /* height: 50px; */
  /* border-color: #777; */
  border-spacing: 20px;
  border-radius: 25px;
  background-color: #999;
  background-color: rgba(70, 70, 70, 0.25);
}

.carousel-indicators .active {
  background-color: #444;
}

.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%);
}
.bgcount_panal{
  background-color: #9977ce;
}
.bg_sold_out{
  background-color: #f1f1f1;
}

#bgg-take{
  background-color: #d1e7dd;
}
#bgg-give{
  background-color: #f8d7da;
}
#bgg-credit{
  background-color: #d4ae8d;
}
#price-color{
  color: var(--color);
}
.bgg-home{
  background-color: var(--color);
}

.grayscale {
  filter: grayscale(100%);
}

/* .custom-btn-pry, .custom-btn-pry:active {
  background-color: #8064A2 !important;
}
 .custom-btn-pry:hover,  .custom-btn-pry:visited {
  background-color: #543883 !important;
}
.btn-danger, .btn-danger:active {
  background-color: #241f5b !important;
}
 .btn-danger:hover,  .btn-danger:visited {
  background-color: #4e0c88 !important;
} */


.login-page {
  width: 100%;
  height:100%;
  display: inline-block;
  display: flex;
  align-items: center;
}
/* .form-left i {
  font-size: 100px;
} */
.primary-text {
  color: var(--main-text-color);
}

.second-text {
  color: var(--second-text-color);
}

.primary-bg {
  background-color: var(--main-bg-color);
}

.secondary-bg {
  background-color: var(--second-bg-color);
}

.rounded-full {
  border-radius: 100%;
}

#page-content-wrapper {
    min-width: 80vw;
  }

@media (min-width: 768px) {
    /* .sidebar {
      margin-right: 0;
    }
   */
  #page-content-wrapper {
    /* min-width: 0; */
    width: 100%;
    overflow: auto;
    white-space: nowrap;
  }
  
    /* #wrapper.toggled .sidebar {
      margin-right: -10rem;
    } */
    
  }
ul,
li,
a{
  text-decoration: none;
  list-style: none;
}
p{
  /* width: 40px; */
  overflow:hidden;
  white-space: pre-line;
  text-overflow: ellipsis;
}
#sizeoffontcp{
  font-size: small;
}
/* ----------- CLOSE SIDEBAR ---------- */
.sidebar{
  background-color: var(--sidebar-color);
  position: fixed;
  top: 0;
  right: 0;
  /* left: 10em; */
  height: auto;
  width: 5.1em;
  padding: 1em 0;
  box-shadow: 0 1em 1em rgba(0, 0, 0, .1);

  display: flex;
  flex-direction: column;
  align-items: center;

  position: relative;
  transition: width .4s ease;
}

.sidebar__logo-name,
.sidebar__link-name{
  display: none;
  /* white-space: nowrap; */
  padding-left: 1em; /*for left side*/
}

.sidebar__top-content{
  display: flex;
  align-items: center;
  
}

.sidebar__logo{
  width: 2em;
  border-radius: .3em;
}

.sidebar__arrow{
  background-color: var(--color);
  position: absolute;
  left: -0.5em;
  top: 3.1em;
  font-size: 2rem;
  color: #fff;
  border-radius: 50%;
  box-shadow: .1em 0 .2em rgba(0, 0, 0, .2);
  cursor: pointer;
}

.sidebar__links{
 margin-top: 4em;
 height: 100%;
}

.sidebar__link{
  margin-bottom: 1.4em;
}

.sidebar__link a{
  color: var(--text-color);

  display: flex;
  align-items: center;
}

.sidebar__link-icon{
  font-size: 1.8rem;
}

.sidebar__link-name{
  font-size: 1.0rem;
  margin-right: 0.4em;
}

.sidebar__link--logout{
  position: absolute;
  margin-bottom: 3em;
  /* bottom: 0; */
}

/* tooltip */
.sidebar__link a:hover .sidebar__link-name{
  display: inline-block;
  position: absolute;
  right: 100%;

  background-color: #fff;
  padding: .3em;
  border-radius: .5em;
}

.sidebar__link--logout a:hover .sidebar__link-name{
  right: 200%;
}

/* ----------- OPEN SIDEBAR ---------- */
.sidebar.active{
  width: 15em;
  align-items: start;
  padding-right: 1em;
}

.sidebar.active .sidebar__logo-name,
.sidebar.active .sidebar__link-name{
  display: inline-block;
}

.sidebar.active .sidebar__logo-name{
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-right: .8em;
}

.sidebar.active .sidebar__arrow{
  transform: rotate(180deg);
}

.sidebar.active .sidebar__links{
  padding-right: 1em;
}

.sidebar.active .sidebar__link:hover a{
  color: var(--color);
}
.sidebar__link:hover a{
  color: var(--color);
}

/* remove tooltip */
.sidebar.active .sidebar__link a:hover .sidebar__link-name{
  position: relative;
  right: 0;

  background-color: transparent;
  padding: 0;
  border-radius: 0;
}
.self-footer{
  /* position: absolute; */
  margin-bottom: 3em;
}
/* .right {
    direction: rtl;
    unicode-bidi: bidi-override;
} */
input[type=number] {
  text-align:right;
}
.product-image {
    max-width: 50px;
    max-height: 70px;
    border-radius: 4px;
}
/* #divforwarning {
  height: 80px;
  border: double 1em transparent;
  border-radius: 5px;
  background-image: linear-gradient(white, white), 
                    linear-gradient(to right, green, gold);
  background-origin: border-box;
  background-clip: content-box, border-box;
} */
 .box {
  position: relative;
  padding: 10px 20px;
  margin: 5px;
  display: inline-block;
  font-size: 20px;
}

.box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  padding: 10px; /* control the border thickness */
  background: linear-gradient(45deg, red, blue);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
#divforwarning{
    /* width: 300px; */
    justify-content: center;
    font-size: 20px;
    height: 60px;
    margin: 1rem;
    border: solid 5px transparent;
    border-radius: 5px;
    background:
        linear-gradient( white, white) padding-box,
        linear-gradient(92.7deg, #0071D8,#2cdbf1, #83EB8A) border-box;
}
.navbar {
  color: #fff;
            padding: 1px 0;
            transition: all 0.3s;
}

.navbar-brand img {
    height: 60px;
    transition: all 0.3s;
}

.nav-link {
    position: relative;
    padding: 8px 15px;
    margin: 0 5px;
    color: #fff !important;
    font-weight: 500;
}

.underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #007bff;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-item.active .nav-link::after {
    width: 100%;
    left: 0;
}
/* Search */
.search-container {
    position: relative;
    width: 96%;
    margin: 4px auto;
}

#search-input {
    width: 96%;
    padding: 10px;
    margin-right: 10px;
    margin-left: 10px;
    padding-right: 10px;
    padding-left: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#suggestions-box {
    position: absolute;
    width: 96%;
    margin-right: 10px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-top: none;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    display: none; /* Hidden by default */
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.suggestion-item span {
    font-weight: bold;
}

.suggestion-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
}

/* Styling for the product display area, if you load content dynamically */
/* #product-display {
    margin-top: 50px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
} */
.suggestion-title{
    font-size: 14px;
    margin-right: 10px;
    font-weight: 600;
    color: #333;
    max-width: 200px; /* Adjust based on your layout */
}
.suggestion-price{
    font-size: 12px;
    margin-right: 10px;
    color: #666;
}
.suggestion-gender{
    font-size: 8px;
    margin-right: 10px;
    color: #666;
    font-weight: 500;
    font-style: italic;
}
.product-detail-container {
  /* center of page */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
    /* max-width: 800px; */
    /* margin: 20px auto; */
    /* padding: 20px; */
    /* background-color: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
}
