@import url(variables.css);
@import url(reset.css);
@import url(icons.css);
@import url(worship.css);
@import url(login.css);
@import url(create.css);
@import url(my.css);

/*
 * GLOBAL
 * ========================================================================= */
body {
  font-family: var(--font);
  padding: 0 0 50px 0;
}

h1 {
  font-size: var(--t11);
  font-weight: 500;
}

h2 {
  font-size: var(--t10);
  font-weight: 500;
}

h3 {
  font-size: var(--t9);
  font-weight: 500;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-light);
}

#navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 16px;
  background: #fff;
  font-weight: 500;
  font-size: 16px;
}

#navbar a {
  position: absolute;
  left: 16px;
  color: var(--primary);
}

#tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  font-size: 12px;
  background: #fff;
  color: #646566;
  z-index: 999;
  border-top: 1px solid var(--border);
}

#tabbar .tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#tabbar .tab svg {
  height: 22px;
  width: 22px;
}

#tabbar .tab svg path {
  fill: #646566;
}

#tabbar .tab.active,
#tabbar .tab.active svg path,
#tabbar .tab:focus,
#tabbar .tab:focus svg path {
  fill: #a413aa;
  color:#a413aa;
}

.pagination {
  grid-column: span 3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
}

.pagination li {
  padding: 2px 8px;
  color: #646566;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.pagination a {
  color: var(--primary);
}

.pagination a:focus {
  background: var(--primary);
  color: #fff;
}

form .input-group {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  color: var(--color-dark);
  font-size: 14px;
  line-height: 24px;
  background: #fff;
}

form .input-group:nth-of-type(1) {
  border-radius: 8px 8px 0 0;
}

form .input-group:nth-last-of-type(1) {
  border-radius: 0 0 8px 8px;
}

form .input-group::after {
  position: absolute;
  content: " ";
  right: 16px;
  bottom: 0;
  left: 16px;
  border-bottom: 1px solid var(--border);
  transform: scaleY(0.5);
}

form .input-group:nth-last-of-type(1)::after {
  display: none;
}

form .input-group label {
  flex: none;
  width: 86px;
  color: #646566;
  word-wrap: break-word;
}

form .input-group input,
form .input-group textarea {
  display: block;
  width: 100%;
  color: var(--color-dark);
  background: transparent;
  border: 0;
  font-family: var(--font);
  font-size: 14px;
}

form .input-group input[type="radio"] {
  width: auto;
}

form .input-group textarea {
  height: 22.15px;
}

form .input-group .radio {
  display: flex;
  gap: 16px;
}

form .input-group .radio .radio-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

form input[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	margin: 16px 0;
	padding: 0 15px;
	width: 100%;
	border: 1px solid #FFFFFF;
	color: #fff;
	border-radius: 999px;
	font-size: 14px;
	background-color: #048943;
}

form .input-upload {
  display: flex;
  align-items: center;
  justify-content: center;
}

form .input-upload i {
  font-size: 24px;
  color: var(--border-dark);
  cursor: pointer;
}

.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 0;
}

.empty img {
  width: 16px;
  height: 16px;
}

.empty p {
  margin: 16px;
  padding: 0 60px;
  color: var(--color-light);
  font-size: 14px;
  line-height: 20px;
}

.empty a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0 0;
  padding: 0 15px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  border-radius: 999px;
}

.box-title {
  margin: 0;
  padding: 32px 16px 16px;
  color: rgba(69, 90, 100, 0.6);
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 70%);
}

.popup {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 16px;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  background-color: #fff;
  z-index: 99;
  transform: translateY(100%);
}

.popup .close {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup .close i {
  font-size: 24px;
  color: var(--color-light);
}

#footer {
  padding: 36px 52px;
  display: flex;
  justify-content: space-between;
}

#footer p {
	font-size: 12px;
	color:#a413aa;
	font-family: "微软雅黑";
}

.container {
  position: relative;
  background: var(--background);
}

.tip {
  display: none;
}

@media screen and (min-width: 640px) {
  .container {
    width: 375px;
    height: 667px;
    overflow-y: auto;
    border: 2px solid var(--primary);
  }

  body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    height: 100vh;
    width: 100vw;
  }

  .tip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
}
