@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  position: relative;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

body {
  background: url("../images/wallpaper.jpg") top center no-repeat;
}

.main {
  max-width: 865px;
  margin: 300px auto auto;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 15px 2px #b1b1b1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* === Container === */
.container {
  max-width: 576px;
  width: 100%;
}

.container .items {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.container .items .item {
  width: 135px;
  padding: 10px 5px;
  border-radius: 5px;
  background-color: #f3f3f3;
  text-align: center;
  box-shadow: 0 0 10px #dfdfdf;
}

.container .items .item .image img {
  width: 125px;
  height: 115px;
  border-radius: 5px;
}

.container .items .item .image .description > .btn {
  position: absolute;
  right: 3px;
  top: 3px;
  padding: 3px;
  font-size: 5px;
  border-radius: 5px;
  background-color: #2d6d90;
  color: #fff;
  z-index: 15;
}

.container .items .item .image .description > .text {
  position: absolute;
  bottom: 0;
  right: 3px;
  background-color: #252525;
  padding: 5px;
  border-radius: 5px 5px 0 5px;
  z-index: 400;
  width: 150px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

.container .items .item .image .description > .text .yellow {
  color: #ffc701;
  font-size: 12px;
  font-weight: 500;
}

.container .items .item .image .description > .text .blue {
  color: #01c2ff;
  font-size: 12px;
}

.container .items .item .image .description > .btn:hover + .text {
  visibility: visible;
  opacity: 1;
}

.container .items .item .quantity {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.container .items .item .quantity a {
  padding: 3px 8px 5px;
  border-radius: 5px;
  color: #fff;
  background: #90332d;
  transition: all 0.2s ease-in-out;
}

.container .items .item .quantity a i {
  font-size: 10px;
}

.container .items .item .quantity a.increment {
  background: #47902d;
}

.container .items .item .quantity a.decrement:hover {
  background: #5c0802;
}

.container .items .item .quantity a.increment:hover {
  background: #1a5504;
}

.container .items .item .count {
  font-weight: 500;
  width: 20px;
}

.container .items .item .name {
  color: #535353;
  font-weight: 500;
}

.container .items .item .price {
  color: #035079;
  font-weight: 500;
  padding: 10px 0;
  font-size: 12px;
}

.container .items .item .btn-buy,
.sidebar .btn_login {
  padding: 5px 10px;
  min-width: 100px;
  border-radius: 5px;
  background: #2d6d90;
  color: #ffff;
  transition: all 0.2s ease-in-out;
  border: 2px solid #0578b6;
}

.container .items .item .btn:hover,
.sidebar .btn_login:hover {
  background: #035079;
}

/* === SideBar === */
.sidebar {
  width: 253px;
  padding: 10px;
  background-color: #f3f3f3;
}

.sidebar .account_info {
  padding: 10px;
  background-color: #434343;
  border-radius: 5px;
}

.sidebar .account_info h1 {
  padding: 3px 0 10px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
}

.sidebar .account_info .sidebar .account_info div {
  margin: 3px auto;
}

.sidebar .account_info label {
  color: #ccc;
  display: inline-block;
  padding: 3px 0;
  font-size: 11px;
}

.sidebar .account_info input {
  padding: 7px;
  background-color: #292929;
  border-radius: 5px;
  color: #fff;
  width: 100%;
  border: 2px solid #555555;
}

.sidebar .account_info .btn_login {
  margin: 10px auto auto;
  display: block;
}

.sidebar .links {
  margin: 20px auto auto;
}

.sidebar .links li {
  padding: 5px 0;
  border-bottom: 1px solid #d8d8d8;
}

.sidebar .links a {
  color: #747474;
  padding: 0;
  margin: 3px 0;
  display: block;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.sidebar .links li a:hover {
  padding-left: 5px;
  color: #2d6d90;
}

.sidebar .account_info .info p {
  padding: 5px 10px;
  color: #cfcfcf;
  font-size: 12px;
  background: #333;
  border-radius: 5px;
  margin: 2px 0;
}

.sidebar .account_info .info p span {
  float: right;
  color: #fff;
}

.sidebar .account_info .info a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.sidebar .account_info .info ul li {
  padding: 5px 10px;
  background: #555;
  border-radius: 5px;
  margin: 3px 0;
}

.sidebar .account_info .info ul li a {
  transition: all 0.3s ease-in-out;
}

.sidebar .account_info .info ul li a:hover {
  padding-left: 5px;
}

/* === Messages === */

.message,
.payment {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background-color: #141414e0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.message.show,
.payment.show {
  visibility: visible;
  opacity: 1;
}

.message .box-message {
  padding: 15px 10px;
  background: #fff;
  border-radius: 5px;
  display: flex;
  gap: 10px;
}

.message .btn_closed {
  width: 15px;
  height: 15px;
  background: url(../images/icons/closed.png),
    url(../images/icons/closed-hover.png);
  position: absolute;
  right: 3px;
  top: 3px;
  transition: all 0.2s ease-in-out;
}

.message .btn_closed:hover {
  background: url(../images/icons/closed-hover.png);
}

.message .box-message p {
  font-size: 11px;
  padding: 4px 0 0;
  font-weight: 500;
}

.payment .qrcode {
  width: 250px;
  height: 250px;
  margin-bottom: 10px;
}

.payment h1 {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.payment .emv textarea {
  padding: 5px;
  border: 1px solid #333;
  background: #f1f1f1;
  width: 250px;
  height: 100px;
  display: block;
  resize: none;
}

.payment .emv button {
  padding: 5px 10px;
  background: #167cb8;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.success {
  color: #28a443;
}

.warning {
  color: #d0b317;
}

.error {
  color: #a42828;
}

.info {
  color: #17bad0;
}

.donate {
  color: #12394f;
}

/* === Donate === */
.box-donate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background-color: #141414e0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.box-donate.show {
  visibility: visible;
  opacity: 1;
}

.box-donate .donate {
  padding: 15px 10px;
  background: #fff;
  border-radius: 5px;
  display: flex;
  gap: 10px;
  width: 280px;
}

.box-donate .donate h3 {
  color: #0578b6;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.box-donate .donate div {
  margin: 5px auto;
}

.box-donate .donate div label {
  color: #979797;
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 5px;
}

.box-donate .donate div input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  background-color: #f8f8f8;
  border: 2px solid rgb(236, 236, 236);
}

.box-donate .btn_closed {
  width: 15px;
  height: 15px;
  background: url(../images/icons/closed.png),
    url(../images/icons/closed-hover.png);
  position: absolute;
  right: 3px;
  top: 3px;
  transition: all 0.2s ease-in-out;
}

.box-donate .btn_closed:hover {
  background: url(../images/icons/closed-hover.png);
}

.box-donate .btn_donate {
  margin: 5px auto auto;
  padding: 5px 10px;
  min-width: 100px;
  border-radius: 5px;
  background: #2d6d90;
  color: #ffff;
  transition: all 0.2s ease-in-out;
  border: 2px solid #0578b6;
  display: block;
}

.box-donate .btn_donate:hover {
  background: #035079;
}

/* === Cashback === */
.box-cashback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background-color: #141414e0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.box-cashback.show {
  visibility: visible;
  opacity: 1;
}

.box-cashback .cashback {
  padding: 15px 10px;
  background: #fff;
  border-radius: 5px;
  display: flex;
  gap: 10px;
  width: 280px;
}

.box-cashback .cashback h3 {
  color: #0578b6;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.box-cashback .cashback div {
  margin: 5px auto;
}

.box-cashback .cashback div label {
  color: #979797;
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 5px;
}

.box-cashback .cashback div input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  background-color: #f8f8f8;
  border: 2px solid rgb(236, 236, 236);
}

.box-cashback .btn_closed {
  width: 15px;
  height: 15px;
  background: url(../images/icons/closed.png),
    url(../images/icons/closed-hover.png);
  position: absolute;
  right: 3px;
  top: 3px;
  transition: all 0.2s ease-in-out;
}

.box-cashback .btn_closed:hover {
  background: url(../images/icons/closed-hover.png);
}

.box-cashback .btn_cashback {
  margin: 5px auto auto;
  padding: 5px 10px;
  min-width: 100px;
  border-radius: 5px;
  background: #2d6d90;
  color: #ffff;
  transition: all 0.2s ease-in-out;
  border: 2px solid #0578b6;
  display: block;
}

.box-cashback .btn_cashback:hover {
  background: #035079;
}

/* === Slider === */

.slider {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*=== History ===*/
.title {
  padding: 5px;
  color: #17bad0;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px dashed #9f9f9f;
}

.history {
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.history .info {
  padding: 10px;
  background: #434343;
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #9f9f9f;
  text-align: center;
}

.history .info h3 {
  padding: 5px;
}

.history .info p {
  padding: 2px;
  color: #fff;
  border-radius: 2px;
  margin: 3px 0;
  font-size: 11px;
}

.history .info p.pending {
  background: linear-gradient(20deg, #862929, #d64c10);
}

.history .info p.paid {
  background: linear-gradient(20deg, #348629, #85d610);
}

/*=== Admin ===*/

.information {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.information > div {
  padding: 10px;
  background: #eee;
  border-radius: 5px;
  text-align: center;
}

.information > div h3 {
  padding: 5px;
  font-weight: 500;
  text-transform: uppercase;
}

.information > div p {
  padding: 5px;
}

.information > div.pending {
  background: #fdf9d0;
  border: 2px solid #d1c97b;
}

.information > div.approved {
  background: #e0fdd0;
  border: 2px solid #87ca56;
}

footer {
  width: 400px;
  margin: 2rem auto 1rem;
  background: #f3f3f3;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  font-size: 12px;
  color: #707070;
}

footer p {
  padding: 2px;
}

.quantity_limited {
  position: absolute;
  top: 109px;
  padding: 1px 5px;
  z-index: 5;
  color: #fff;
  background: #333333;
  border-radius: 0 0 5px 5px;
  left: 5px;
  width: 93%;
  font-size: 11px;
}
