@import "./utilities/bootstrap-api-utilities";
@import "~bootstrap/scss/bootstrap";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import "~node_modules/bootstrap/scss/bootstrap";

:root {
  /**
   * color
   */
  --bg-primary: #ED1E28;
  --bg-primary-active: #670f13;
  --bg-primary-hover: #F6B8BB;
  --bg-secondary: #1C274C;
  --color-dark: #211f20;
  --color-light: #F9FAFB;
  --color-gray1: #333333;
  --color-gray2: #55565b;
  --color-gray3: #858585;
  --color-gray4: #bdbdbd;
  --color-gray5: #F3F4F6;
  --bg-danger: #EF665B;
  --bg-danger-active: #ffa39e;
  --bg-warning: #faad14;
  --bg-warning-bright: #FAF2E3;
  --bg-warning-active: #ffd666;
  --bg-success: #34a853;
  --bg-success-active: #95de64;
  --bg-success-bright: #D2EAD9;
  /**
   * button
   */
  --btn-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  --btn-border-radius-sm: 8px;
  --btn-border-radius: 12px;
  --btn-border-radius-lg: 24px;
  --btn-padding-sm: 8px 16px 8px 16px;
  --btn-padding: 16px 24px 16px 24px;
  --btn-padding-lg: 16px 24px 16px 24px;
  --btn-height: 48px;

  /**
   * typography
   */

  --bs-body-font-family: "Montserrat", sans-serif;

  --fs-1: 2rem;
  --fs-2: 1.3125rem;
  --fs-3: 1.125rem;
  --fs-4: 0.9375rem;
  --fs-5: 0.75rem;

  --fw-600: 600;
  --fw-500: 500;
  --fw-400: 400;
}

/*-----------------------------------*\
  #typoraphy
\*-----------------------------------*/

html{
  font-size: 12px;
  font-family: var(--bs-body-font-family);
}
.h1,
.h2,
.h3,
.h4 {
  line-height: 130%;
}

.body1 {
  line-height: 150%;
}

.h1 {
  font-size: var(--fs-1);
}
.h2 {
  font-size: var(--fs-2);
}

.h3,
.h4 {
  font-size: var(--fs-3);
}

.body1 {
  font-size: var(--fs-4);
}
.caption {
  font-size: var(--fs-5);
}

.h1,
.h2 {
  font-weight: var(--fw-600);
}
.h3 {
  font-weight: var(--fw-500);
}
.h4,
.body1,
.caption {
  font-weight: var(--fw-400);
}
/*-----------------------------------*\
  #end-typoraphy
\*-----------------------------------*/
/*-----------------------------------*\
  #button
\*-----------------------------------*/

.linear-primary{
  background: var(--Color-Linier-Red, linear-gradient(151deg, #ED1E28 26.76%, #670F13 117.75%));
}

.btn {
  border-radius: var(--btn-border-radius-lg);
  font-size: var(--fs-2);
  padding: var(--btn-padding);
  border: 1px solid transparent;
  max-height: var(--btn-height);
  transition: var(--btn-transition);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}

.btn-sm {
  border-radius: var(--btn-border-radius-lg);
  background: var(--color-light);
  color: var(--bg-primary);
  font-size: var(--fs-3);
  padding: var(--btn-padding-sm);
  font-weight: var(--fw-400);
  height: 40px;;
}
.btn-lg {
  border-radius: var(--btn-border-radius-sm);
  font-size: var(--fs-2);
  padding: var(--btn-padding-lg);
  font-weight: var(--fw-600);
}
.btn:hover {
  opacity: 1;
}
.btn:active {
  opacity: 0.9;
  outline: none !important;
  color: var(--color-light);
}
.btn-sm:hover {
  opacity: 1;
  background: var(--bg-primary);
  color: var(--color-light);
}

.btn-primer {
  background-color: var(--bg-primary);
  color: var(--color-light);
}
.btn-secondary {
  background: var(--bg-secondary) !important;
  color: var(--color-light) !important;
}
.btn-secondary:active {
  outline: none !important;
}
.btn-primer:hover {
  background-color: var(--bg-primary-active);
  color: var(--color-light);
}
.btn-primer:active {

  outline: none !important;
}

.btn-success {
  background-color: var(--bg-success);
  color: var(--color-dark);
}
.bg-success-bright {
  background-color: var(--bg-success-bright);
  color: var(--bg-success);
}
.bg-danger-bright {
  background-color: var(--bg-primary-hover);
  color: var(--bg-danger);
}

.btn-success:active {
  outline: none !important;
}

.btn-warning {
  background-color: var(--bg-warning);
  color: var(--color-dark);
}
.bg-warning-bright {
  background-color: var(--bg-warning-bright);
  color: var(--bg-warning);
}

.btn-warning:active {
  outline: none !important;
}

.btn-outline {
  border: 1px solid var(--color-gray4);
  background-color: transparent;
  color: var(--color-light);
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
}
.btn-outline-primary {
  border: 1px solid var(--bg-primary);
  color: var(--bg-primary);
  transition: background-color 0.2s ease-in-out;
}
.btn-outline-secondary {
  border: 1px solid var(--bg-secondary);
  color: var(--bg-secondary);
}
.btn-outline-secondary:hover {
  background-color: var(--bg-secondary);
  opacity: 0.8;
  color: var(--color-light);
}
.btn-outline-primary:hover {
  background-color: var(--bg-primary-hover);
  border: 1px solid var(--bg-primary);
  color: var(--bg-primary-active);
}
.btn-outline:hover {
  background-color: var(--bg-primary);
  opacity: 0.8;
  color: var(--color-light);
}
.btn-outline:active {
  border: 0 !important;
  outline: 0 !important;
}
/*-----------------------------------*\
  #end button
\*-----------------------------------*/
/*-----------------------------------*\
  #color
\*-----------------------------------*/
.bg-secondary {
  background: var(--bg-secondary);
}
.secondary {
  color: var(--bg-secondary);
}
.bg-primer{
  background: var(--bg-primary);
}
.bg-gray5 {
  background: var(--color-gray5) !important;
}
.bg-gray3 {
  background: var(--color-gray3) !important;
}
.bg-light {
  background-color: var(--color-light) !important;
}
.primary {
  color: var(--bg-primary);
}
.white {
  color: var(--color-light);
}
.success {
  color: var(--bg-success);
}
.bg-warning{
  background: var(--bg-warning);
}
.gray1 {
  color: var(--color-gray1);
}
.gray2 {
  color: var(--color-gray2);
}
.gray3 {
  color: var(--color-gray3);
}
.gray4 {
  color: var(--color-gray4);
}
.gray5 {
  color: var(--color-gray5);
}

.black {
  color: var(--color-dark);
}
/*-----------------------------------*\
  #color
\*-----------------------------------*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; color:inherit; cursor: pointer; }
a:active { text-decoration: none; }
a { color: inherit; }

body {
  font-family: var(--ff-montserrat);
  margin: 0;
  background: #eee;
  height: auto;
}

main {
  max-width: 540px;
  margin: auto;
  box-shadow: 30px 0px 40px rgba(0, 0, 0, 0.1),
    -30px 0px 40px rgba(0, 0, 0, 0.1);
}

/* Default: Hide the navbar by default */
#navbar-top {
  display: none;
}


/* Full-width style for desktop (large screens) */
@media (min-width: 1024px) {
  main {
    max-width: 100%; /* Full-width on large screens */
    margin: 0;
    box-shadow: none; /* Optionally remove box-shadow */    
  }
  .common-top-fixed{
    max-width: 100vw !important;
    width: 100%;
  }
  #navbar-shared-mobile {
    display: none;
  }
  #header {
    display: none;
  }
  #navbar-top {
    display: flex;
    position: fixed;
    top: 0; /* Adjust depending on the header height */
    width: 100%;
    height: 50px;
    background-color: #F9FAFB;
    align-items: center;
    justify-content: space-between;    
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  #navbar-top ul {
    list-style-type: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  #navbar-top ul li {
    margin: 0;
    padding: 0;
  }
  #navbar-top ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
  }
  #navbar-top ul li a:hover {
    text-decoration: underline;
  }

  .menu-feature {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(1, 1fr);
    row-gap: 16px;
    padding: 24px 8px;
    place-items: center;
    border-radius: 16px;
    border: 1px solid var(--Default-gray-200, #e5e7eb);
    background: rgba(249, 250, 251, 0.5);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(3px);
  }
  .container-search-bar {
    padding: 1.5rem 80px !important;
  }
  .floating-button-with-navbar {
    left: 78% !important;    
    transform: translate(0, 0);
  }
}

.divider-line {
  border: 0.5px solid var(--color-gray5) !important;
  padding: 0;
  margin: 0;
}
.divider-line-lg {
  border: 0.25rem solid var(--color-gray5) !important;
  padding: 0;
  margin: 0;
}


/* Circle icon */
.circle-icon {
  height: 40px !important;
  width: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ededed;
  position: relative;
  z-index: 1;
  border-radius: 100%;
}
.circle-icon img {
  height: 24px;
  width: 24px;
}
.circle-icon-red {
  background: linear-gradient(214deg, #ff545c 6.6%, #ed1e28 100%);
}
.circle-icon-blue {
  background: #2F80ED;
}
/* End Circle icon */

/* Search Bar */
.container-search-bar {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0 1.5rem;
}
.search-bar input:not([type="checkbox"]) {
  width: 100%;
  background-color: #F2F2F2;
  padding: 1.5rem;
  box-sizing: border-box;
  border: 1px solid #bdbdbd;
  border-radius: 32px;
  height: 48px;
  text-indent: 30px;
}
.search-bar input:focus{
  outline: none !important;
  border: 1px solid #3d8aff;
}
.search-bar .icon-search {
  background: url("/static/img/assets/icons/Ic_Search.svg") no-repeat left ;
  background-position: 9px 6px;
  background-size: 32px;
}
/*End Search Bar */
@media only screen and (max-width: 421px) {
 .btn{
  padding: 8px 16px;
 }
 .btn-lg{
  padding: 8px 16px;
 }
}
@media only screen and (max-width: 361px) {
  html {
    font-size: 8px;
  }
  .btn-sm{
    height: 32px !important;
  }
}
@media only screen and (max-width: 321px) {
  .search-bar .icon-search{
    background-position: 5px 7px;
    background-size: 24px;
  }
  .search-bar input{
    padding:1rem;
    height: 40px !important;
  }
  .btn{
    min-width:48px !important;
  }
}

/* Filter */
.container-filter {
  display: flex;
  gap: 0.75rem;
  overflow-y: scroll;
  padding: 0 1.5rem;
  margin-top: 1rem;
}
.hidden-horizontal-scroll::-webkit-scrollbar{
  height: 16px;
  overflow: visible;
  width: 100%;
  display: none;
}
/* End Filter */

/* Profile img */
.profile-img{
  border-radius: 100%;
  height: clamp(40px, 48px, 56px);
  width: clamp(40px, 48px, 56px);
}
.profile-img-lg {
  border-radius: 100%;
  object-fit: cover;
  height: max(150px, 100px);
  width: max(150px, 100px);
}

/* End Profile img */

/* Sticky */
.common-middle-sticky{
  position: sticky;
  position: -webkit-sticky;
  top: 63px;
  z-index: 99;
}
.common-middle-sticky-with-tab{
  position: sticky;
  position: -webkit-sticky;
  top: 119px;
  z-index: 98;
}
.common-top-fixed{
  position: fixed;
  max-width:540px;
  min-width:320px;
  z-index:100;
  top: 0;
  transition: background-color 0.3s ease;
}

.common-top-fixed.sticky {
  background-color: #F9FAFB; /* Background color when sticky */
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.06);
}
/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 16px;
  right: 0;
  background-color: #f1f1f1;
  min-width: 160px;
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 5;
}
.show {
  display: block;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #ddd;
}
/* End menu dropdown */

/* Floating buttn */
.floating-button {
  display: flex;
  max-width: 540px;
  width: 100%;
  padding: 0 1.5rem;
  min-width: 320px;
  position: fixed;
  z-index: 2;
  flex-wrap: wrap-reverse;
  flex-direction: row-reverse;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 0);
}
.floating-button-with-navbar {
  display: flex;
  max-width: 540px;
  width: 100%;
  padding: 0 1.5rem;
  min-width: 320px;
  position: fixed;
  z-index: 3;
  flex-wrap: wrap-reverse;
  flex-direction: row-reverse;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 0);
}


/* End Floating buttn */