/* 접근성 관련 CSS */
.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

a {
  text-decoration: none;
  color: #666;
}

.container {
  text-align: center;
}

.logo {
  padding: 2.5rem;
}

.login-container {
  --default-font-size: 16px;
  --default-font-color: #121212;
  --warning-color: #ff1414;

  width: 500px;
  height: 13.875rem;
  padding: 0 20px;
  font-size: var(--default-font-size);
}

input {
  display: block;
  block-size: 2.8125rem;
  width: 100%;
  margin: 0.375rem 0;
  border: 1px solid #dadada;
  border-radius: 0.125rem;
  padding: 0.9375rem;
  box-sizing: border-box;
}
input:focus {
  border: 1px solid #03cf5d;
  outline: none;
}

button {
  width: 100%;
  background-color: #03cf5d;
  color: white;
  font-size: 1rem;
  block-size: 2.8125rem;
  align-items: center;
  border: none;
  border-radius: 0.125rem;
  cursor: pointer;
  margin-top: 1.25rem;
}

p {
  display: none;
  inline-size: 100%;
  color: var(--warning-color);
  line-height: 1.125 rem;
  margin-block-end: 0.625 rem;
}

.options {
  display: flex;
  flex-direction: row nowrap;
}

.login-options {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.625rem;
}

.svg-toggle {
  display: flex;
  flex-direction: row nowrap;
}
.svg-toggle span {
  font-size: 1rem;
  margin-left: 5px;
  flex-grow: 0;
}

/* 체크박스 숨김 */
.svg-toggle input {
  display: none;
}

.svg-toggle svg {
  display: block;
  cursor: pointer;
}

/* 기본은 첫 번째 SVG만 보임 */
.svg-toggle .default {
  display: block;
}
.svg-toggle .alt {
  display: none;
}

/* 체크되면 교체 */
.svg-toggle input:checked ~ .default {
  display: none;
}
.svg-toggle input:checked ~ .alt {
  display: block;
}

.ip-options {
  flex-grow: 1;
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.625rem;
  display: flex;
  a {
    flex-grow: 1;
    font-size: 1rem;
    text-align: right;
    margin-right: 4px;
  }
}

.text-toggle {
  font-size: 1rem;
  font-weight: 400;
  flex-grow: 0;
}
.text-toggle span {
  display: block;
  cursor: pointer;
  margin-left: 4px;
  flex-grow: 0;
}

/* 체크박스 숨김 */
.text-toggle input {
  display: none;
}

.text-toggle .default {
  display: block;
}

.text-toggle .alt {
  display: none;
}

/* 체크되면 교체 */
.text-toggle input:checked ~ .default {
  display: none;
}
.text-toggle input:checked ~ .alt {
  display: block;
}
