/* Post Viewer */
.ws-post-viewer {
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  position: fixed;
  bottom: -100vh;
  transition: 0.3s;
  backdrop-filter: blur(40px);
  border-radius: 20px;
  overflow-y: scroll;
}
.ws-post-viewer.active {display: flex; align-items: center; justify-content: center; flex-direction: column; bottom: 0; z-index: 2;}
/*
.ws-post-viewer .dismiss-button {position: absolute; right: 2.5%; top: 2.5%; width: 40px;}
.ws-post-viewer .dismiss-button img {width: 100%;}

.ws-post-viewer .identity {margin-bottom: 20px;}
.ws-post-viewer .identity img {width: 100%;}
.ws-post-viewer .identity .username {color: #777; font-size: small;}

.ws-post-viewer .photo {display: block; width: 100%; margin: auto;}
.ws-post-viewer .photo img {width: 100%; object-fit: cover; object-position: center top; border-radius: 10px;}

.ws-post-viewer .post-interaction img {width: 1.75rem;}
.ws-post-viewer .description .season {width: 50%;}
.ws-post-viewer .description p {font-weight: normal; color: #777; font-size: 0.8rem;}
*/

.ws-post-viewer .identity {
  /* position: absolute; */
  /* bottom: 22.5%; */
  padding-left: 0;
  padding-right: 0;
  background-color: #FFF;
  border-radius: 500px;
  /* border: 2px solid #C2C2C2; */
  align-self: center;
  /* z-index: 1; */
}
.ws-post-viewer .identity .profile-picture {padding: 0; transform: scale(1.1);}
.ws-post-viewer .identity img {width: 100%;}
.ws-post-viewer .identity .names {line-height: 0.8rem; color: #A76B74; padding: 10px;}
.ws-post-viewer .identity .names .fullname {text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.7rem;}
.ws-post-viewer .identity .username {font-size: x-small;}

.ws-post-viewer .photo {display: block; width: 80%; margin: 20px auto; position: relative;}
.ws-post-viewer .photo > img {width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center center; border-radius: 10px 10px 0 0;}

.ws-post-viewer .comment-item {font-size: 0.8rem; color: #777;}
.ws-post-viewer .commenter {color: #000;}

.ws-post-viewer .description {
  background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 80%, rgba(255,255,255,0) 100%);
  padding-top: 50px;
  padding-bottom: 20px;
  margin-top: -40px;
  position: relative;
  border-radius: 0 0 10px 10px;
  --bs-gutter-x: 0;
}
.ws-post-viewer .description .sub {margin-top: -1rem;}
.ws-post-viewer .description p {font-weight: normal; color: #777; font-size: 0.8rem; white-space: pre-line; margin: 2rem 1rem; max-width: 90%;}
.ws-post-viewer .description p.comment-text {margin: 0 0 1rem 0;}
.ws-post-viewer .description p .recommend {border-radius: 500px; border: 1px solid #82373B; color: #82373B; padding: 10px;}
.ws-post-viewer .description .season-box {
  font-family: 'Montserrat Bold Italic';
  border-radius: 10px;
  background-size: cover;
  color: #FFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1px;
  width: 19%;
  margin-left: 5%;
}
.ws-post-viewer .description .season-box.warm {background-image: url(../images/warm.png);}
.ws-post-viewer .description .season-box.cool {background-image: url(../images/cool.png);}
.ws-post-viewer .description .season-box.warm-spring {background-image: url(../images/warm-spring.png);}
.ws-post-viewer .description .season-box.cool-summer {background-image: url(../images/cool-summer.png);}
.ws-post-viewer .description .season-box.warm-autumn {background-image: url(../images/warm-autumn.png);}
.ws-post-viewer .description .season-box.cool-winter {background-image: url(../images/cool-winter.png);}
.ws-post-viewer .description .season-box span:first-child {font-size: 1.2rem;}
.ws-post-viewer .description .season-box span:last-child {font-size: 0.4rem;}

.ws-post-viewer .shades-complexion {
  position: absolute;
  top: -15%;
  right: 2.5%;
  font-family: 'Montserrat Bold Italic';
  border-radius: 500px;
  background-size: cover;
  background-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(30px);
  color: #000;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
}
.ws-post-viewer .shades-complexion span {font-size: 0.7rem;}
.ws-post-viewer .shades-complexion .complexion-color {border-radius: 50%; width: 40px; height: 40px;}
.ws-post-viewer .color-palette {
  width: 100%;
  /* height: 100%; */
  line-height: 0;
  border-radius: 10px;
  margin-top: 2px;
}
.ws-post-viewer .color-palette .color {
  display: inline-block;
  width: 10%;
  height: 15px;
}

/* Product Recommendation */
.ws-product-recommendation {
  background-image: url(../images/product_bg.png);
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  position: fixed;
  bottom: -100vh;
  transition: 0.3s;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 3;
}
.ws-product-recommendation.active {display: block; bottom: 0;}

.ws-product-recommendation .ws-logo {
  /* position: absolute; */
  width: 30%;
  height: auto;
  margin: 40px auto 40px;
  /* top: 10rem; */
  left: 0;
  right: 0;
}
.ws-product-recommendation .ws-logo img {width: 100%;}

.ws-product-recommendation .identity-container {
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  /* box-shadow: inset 0px 0px 0px 1px #fff; */
  /* border-radius: 500px; */
}
.ws-product-recommendation .identity-container > span {font-size: 0.6rem; color: #FFF;}
.ws-product-recommendation .identity {
  /* position: absolute; */
  /* bottom: 22.5%; */
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  background-color: #FFF;
  border-radius: 500px;
  /* border: 2px solid #C2C2C2; */
  align-self: center;
  /* z-index: 1; */
}
.ws-product-recommendation .identity .profile-picture {padding: 0; transform: scale(1.1);}
.ws-product-recommendation .identity img {width: 100%;}
.ws-product-recommendation .identity .names {line-height: 0.8rem; color: #A76B74; padding: 2px 10px;}
.ws-product-recommendation .identity .names .fullname {text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.7rem;}
.ws-product-recommendation .identity .username {font-size: x-small;}

.ws-product-recommendation .season-box {
  font-family: 'Montserrat Bold Italic';
  border-radius: 10px;
  background-size: cover;
  color: #FFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1px;
  width: 19%;
  margin-left: 5%;
}
.ws-product-recommendation .season-box.warm {background-image: url(../images/warm.png);}
.ws-product-recommendation .season-box.cool {background-image: url(../images/cool.png);}
.ws-product-recommendation .season-box.warm-spring {background-image: url(../images/warm-spring.png);}
.ws-product-recommendation .season-box.cool-summer {background-image: url(../images/cool-summer.png);}
.ws-product-recommendation .season-box.warm-autumn {background-image: url(../images/warm-autumn.png);}
.ws-product-recommendation .season-box.cool-winter {background-image: url(../images/cool-winter.png);}
.ws-product-recommendation .season-box span:first-child {font-size: 1.2rem;}
.ws-product-recommendation .season-box span:last-child {font-size: 0.4rem;}

.ws-product-recommendation .product-category {
  position: relative;
  width: 100%;
  padding: 40px 0 20px 40px;
  border-radius: 10px;
  margin: 30px 0 0 30px;
  background-color: rgba(255, 255, 255, 0.3);
}
.ws-product-recommendation .product-category-title {
  font-family: 'Montserrat Bold Italic';
  color: #82373B;
  font-size: 0.7rem;
  position: absolute;
  top: -5%;
  left: 25%;
  backdrop-filter: blur(40px);
  padding: 5px 10px;
  border-radius: 500px;
  background-color: rgba(255, 255, 255, 0.3);
}
.ws-product-recommendation .product-category-thumbnail {
  width: 80px;
  position: absolute;
  top: -10%;
  left: 5%;
}
.ws-product-recommendation .product-list {
  margin-left: 55px;
  overflow-x: scroll;
  white-space: nowrap;
}
.ws-product-recommendation .product-list .product {
  width: 7rem;
  margin-right: 20px;
  display: inline-block;
}
.ws-product-recommendation .product-list .product img {width: 100%;}

.ws-product-recommendation .close-popup {width: 40px;}
.ws-product-recommendation .close-popup img {width: 100%;}

/* Register/Login */
.ws-register-login {
  position: fixed;
  bottom: -100vh;
  transition: 0.3s;
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  backdrop-filter: blur(40px);
  z-index: 4;
}
.ws-register-login.active {display: block; bottom: 0;}

.ws-register-login .ws-logo {
  position: absolute;
  width: 30%;
  height: auto;
  margin: auto;
  top: 4rem;
  left: 0;
  right: 0;
}
.ws-register-login .ws-logo img {width: 100%;}
.ws-register-login > div {width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.ws-register-login .ws-text-button {margin: 10px;}
.ws-register-login .close-popup {width: 40px;}
.ws-register-login .close-popup img {width: 100%;}

.ws-register-login .register-form,
.ws-register-login .login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 20px 0;
}
.ws-register-login input {
  border-radius: 500px;
  margin: 10px 50px;
  padding: 5px 10px;
  text-align: center;
  color: #82373B;
  border: 2px solid #C2C2C2;
  min-width: 66%;
}
.ws-register-login input:focus {outline: none;}
.ws-register-login .warning-message {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  color: #82373B;
  font-family: 'Montserrat Regular';
  font-size: 0.7rem;
}

/* Comment */
.comment-bar {
  position: relative;
  width: 90%;
  height: 2rem;
  margin: auto;
}
.comment-bar #comment_button {height: 2rem; position: relative; z-index: 2; float: right;}
.comment-bar #comment_button img {height: 100%;}
.comment-bar input {
  width: 85%;
  height: 100%;
  position: absolute;
  left: 0;
  border-radius: 500px;
  text-indent: 5%;
  border: 2px solid #C2C2C2;
  background-color: rgba(255,255,255,0.3);
  /* font-size: small; */
  /* background-color: #EEE; */
}
.comment-bar input:focus {outline: none;}

.comment-section {
  /* max-height: 15vh;
  overflow-y: scroll; */
  margin-bottom: 20px;
}

.post-content-scroll {
  max-height: 25vh;
  overflow-y: scroll;
}

/* Main Menu */
.ws-main-menu {
  position: fixed;
  bottom: -100vh;
  transition: 0.3s;
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  backdrop-filter: blur(80px);
  z-index: 3;
  font-family: 'Montserrat Regular';
  padding-left: 10%;
  color: #82373B;
}
@media only screen and (min-width: 480px) {
  .ws-main-menu {
    padding-left: 5%;
    padding-right: 5%;
  }
}
.ws-main-menu.active {display: block; bottom: 0;}

.ws-main-menu .ws-logo {
  position: absolute;
  width: 30%;
  height: auto;
  margin: auto;
  top: 40px;
  left: 10%;
}
.ws-main-menu .ws-logo img {width: 100%;}
.ws-main-menu .close-popup { width: 20px; position: absolute; right: 5%; top: 40px;}
.ws-main-menu .close-popup img {width: 100%;}
.ws-main-menu .intro {margin-top: 120px; font-size: 1rem;}
.ws-main-menu .intro span {font-family: 'Montserrat Bold Italic';}
.ws-main-menu .menu-list {margin-top: 40px;}
.ws-main-menu .menu-item {width: 100%; margin-bottom: 20px;}
.ws-main-menu .menu-item img {width: 25px;}
.ws-main-menu .menu-item .menu-text {font-weight: normal; font-size: 0.8rem;}
.ws-main-menu .pixielab {position: absolute; left: 7.5%; bottom: 5%; width: 75px;}

/* Popup */
.ws-confirm-delete,
.ws-success {
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  position: fixed;
  bottom: -100vh;
  transition: 0.3s;
  backdrop-filter: blur(40px);
  border-radius: 20px;
  overflow-y: scroll;
  z-index: 5;
}
.ws-confirm-delete.active,
.ws-success.active {display: flex; align-items: center; justify-content: center; flex-direction: column; bottom: 0;}

.phone-code-button {
  border-color: transparent;
  border-radius: 500px 0 0 500px;
  background-color: #FFF;
}
.phone-code-menu {
  min-width: 0;
}