* {
  box-sizing: border-box;
}
html,
body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}
body {
  /* base-100 배경색 */
  background: #1e2124;
  font-family: "Inter", "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 26px;
  /* base-content 기본 텍스트 색상 */
  color: #e5e7eb;
}
a {
  /* primary 링크 색상 */
  color: #4ade80;
  /* primary 약한 버전으로 밑줄 */
  text-decoration-color: rgba(74, 222, 128, 0.3);
}
a:hover {
  /* secondary 링크 호버 색상 */
  color: #5eead4;
}
label {
  cursor: pointer;
  /* base-content 약간 연한 버전 */
  color: #cbd5e1;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}
.section {
  margin-bottom: 45px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  padding: 10px 15px;
  /* neutral 테두리 */
  border: 1px solid #374151;
  border-radius: 1rem; /* --radius-field에 맞춤 */
  width: 100%;
  /* base-300 그림자 */
  box-shadow: 2px 2px 0 #111827;
  font-size: 1em;
}
input:focus {
  /* primary 포커스 테두리 */
  border-color: #4ade80;
}

input:focus::placeholder {
  color: transparent;
}

input[disabled] {
  opacity: 0.5;
}

.center {
  text-align: center;
}
.right {
  text-align: right;
}
.error {
  /* error 색상 */
  color: #f87171;
}
.button {
  /* primary 버튼 배경색 */
  /* background: #4ade80;*/
  background: #4c483f;
  padding: 15px 30px;
  border-radius: 1rem; /* --radius-box에 맞춤 */
  border: 0;
  cursor: pointer;
  text-decoration: none;
  /* primary-content 텍스트 색상 */
  color: #eeeeee;
  display: inline-block;
  min-width: 150px;
  font-size: 1.1em;
  text-align: center;
}
.button:hover {
  /* accent 호버 배경색 */
  /* background: #67e8f9; */
  background: #f4cb6f;
  /* accent-content 텍스트 색상 */
  color: #4c483f;
}
.button.button-outline {
  /* base-100 배경색 */
  background: #1e2124;
  /* primary 테두리 */
  border: 1px solid #4ade80;
  /* primary 텍스트 색상 */
  color: #4ade80;
}
.button.button-outline:hover {
  /* accent 테두리 */
  border-color: #67e8f9;
  /* accent 배경색 */
  background-color: #67e8f9;
  /* accent-content 텍스트 색상 */
  color: #075985;
}

.container {
  margin: 60px auto 15px auto;
  width: 40%;
}

.wrap {
  /* base-300보다 살짝 어두운 배경 */
  background: #5f5a50;
  padding: 40px;
  /* base-300 그림자 */
  box-shadow: 2px 2px 0 #111827;
  /* neutral 테두리 */
  border: 1px solid #374151;
  border-radius: 1rem; /* --radius-box에 맞춤 */
}

.header {
  /* neutral 테두리 */
  border-bottom: 1px solid navajowhite;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.header .logo img {
  width: auto;
  max-width: 150px;
}

.unsub-all {
  margin-top: 30px;
  padding-top: 30px;
  /* neutral 테두리 */
  border-top: 1px solid #374151;
}

.row {
  margin-bottom: 20px;
}
.lists {
  list-style-type: none;
  padding: 0;
}
.lists li {
  margin: 0 0 5px 0;
}
.lists .description {
  margin: 0 0 15px 0;
  font-size: 0.875em;
  line-height: 1.3rem;
  /* neutral-content 연한 색상 */
  color: #9ca3af;
  margin-left: 25px;
}
.form .nonce {
  display: none;
}
.form .captcha {
  margin-top: 30px;
}

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}
.archive .date {
  display: block;
  /* neutral-content 색상 */
  color: #9ca3af;
  font-size: 0.875em;
}
.archive li {
  margin-bottom: 15px;
}
.feed {
  margin-right: 15px;
}

.home-options {
  margin-top: 30px;
}
.home-options a {
  margin: 0 7px;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}
.pg-page {
  display: inline-block;
  padding: 0 10px;
  text-decoration: none;
}
.pg-page.pg-selected {
  text-decoration: underline;
  font-weight: bold;
  /* primary 색상 */
  color: #4ade80;
}

.login .submit {
  margin-top: 20px;
}
.login button {
  width: 100%;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login button img {
  max-width: 24px;
  margin-right: 10px;
}

#btn-back {
  display: none;
}

footer.container {
  margin-top: 15px;
  text-align: center;
  /* neutral-content 색상 */
  color: #9ca3af;
  font-size: 0.775em;
  margin-top: 30px;
  margin-bottom: 30px;
}
footer a {
  /* neutral-content 색상 */
  color: #9ca3af;
  text-decoration: none;
}
footer a:hover {
  /* base-content 색상 */
  color: #e5e7eb;
}

@media screen and (max-width: 650px) {
  .wrap {
    margin: 0;
    padding: 30px;
    width: 90%;
    background: #5f5a50;
    max-width: none;
  }
}

.centered-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem; /* 모바일에서 너무 꽉 차지 않도록 */
  box-sizing: border-box;
}
