* {
  box-sizing: border-box;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1200px 1fr;
  grid-template-rows: auto 104px;
  grid-template-areas:
    ". content ."
    "footer footer footer";
}

.loading {
  position: absolute;
  background-color: #ffffff;
  background-image: url("/static/images/loading.gif");
  z-index: 9;
  background-size: 200px;
  background-repeat: no-repeat;
  background-position: top;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
}

.content {
  grid-area: content;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 16px;
  color: #666666;
}

.member-info {
  margin: 50px 150px;
  box-shadow: rgb(0 0 0 / 8%) 0px 2px 12px 0px;
}

.member-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: white;
  width: inherit;
  height: 40px;
  background: linear-gradient(270deg, #337788 0%, #66aabb 100%);
}

.member-title {
  display: flex;
  align-items: center;
  height: 30px;
}

.member-information {
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.member-card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 200px;
}

.member-card img {
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.member-data {
  font-size: 20px;
  font-weight: 500;
  padding: 20px;
  width: 50%;
  border-left: 1px solid #d1d1d1;
}

.member-email {
  display: flex;
  align-items: center;
}

.member-name,
.member-password {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.normal-email,
.normal-name {
  display: flex;
  align-items: center;
  color: #666666;
  font-size: 16px;
  font-weight: 500;
  padding-left: 5px;
  height: 28px;
}

.mb-name,
.mb-password,
.mb-password-new {
  border: 1px solid #cccccc;
  border-radius: 5px;
  width: 150px;
  height: 30px;
  padding: 10px;
  color: #666666;
  outline: none;
  font-size: 14px;
  font-weight: 500;
}

.button-style {
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 6px;
  width: 90px;
  background-color: #fb854f;
  color: white;
  font-weight: 400;
  font-size: 17px;
  border-radius: 5px;
  position: relative;
}

.button-style > div {
  position: relative;
  z-index: 1;
}

.button-style::before {
  content: "";
  width: 0%;
  height: 0%;
  display: block;
  background-color: rgb(255, 83, 83);
  position: absolute;
  border-radius: 5px;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.button-style:hover {
  color: #fff;
}

.button-style:hover::before {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.order {
  font-size: 20px;
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 10px;
}

.order-number {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.atag:hover {
  color: #5a9fe4;
}

.popup {
  position: fixed;
  background-color: #ffffff;
  z-index: 100;
  width: 340px;
  height: 150px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  box-shadow: 0px 4px 60px #aaaaaa;
}

.popup-decorator-bar {
  width: inherit;
  height: 10px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(270deg, #237cc2 0%, #cacae6 100%);
}

.message-box {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.error-image {
  background-image: url("/static/images/error2.png");
  background-size: 25px;
  background-repeat: no-repeat;
  width: 26px;
  height: 24px;
  margin-right: 2px;
}

.error-message {
  padding-bottom: 2px;
  color: #fa5252;
}

.normal-message {
  color: #757575;
  padding-bottom: 2px;
}

.close-pop {
  cursor: pointer;
  width: 80px;
  text-align: center;
  padding-top: 3px;
  padding-bottom: 3px;
  margin: auto;
  background-color: #1799aa;
  color: #ffffff;
  border-radius: 5px;
  font-size: 16px;
}

.close-pop:hover {
  background-color: #9eecf6;
  color: #337788;
}

.none {
  display: none;
}

@media (max-width: 1200px) {
  .topic {
    margin-left: 10px;
  }
  .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "footer";
  }

  .member-info {
    margin: 50px 80px;
  }
}

@media (max-width: 900px) {
  .member-information {
    display: block;
  }

  .member-card {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #d1d1d1;
  }

  .member-data {
    width: 100%;
    border: 0;
  }

  .member-email {
    width: 250px;
    margin: 0 auto;
  }

  .member-name,
  .member-password {
    width: 250px;
    margin: 20px auto;
  }

  .mb-password,
  .mb-password-new {
    font-size: 13px;
  }

  .button-style {
    margin: 20px auto 0 auto;
  }
}

@media (max-width: 600px) {
  .member-info {
    margin: 50px 10px;
  }
}
