body {
    font-family: arial, sans-serif;
    text-align: center;
    
    margin: 50px 0 0 0;
    padding: 0;
    /* background-color: #c5ffc4; */
    background-color: rgb(245, 245, 245);

    /* background-color: #caa187; */
    /* background: linear-gradient(to bottom, #ffffff 0%, #13a10e 100%) */
}

p {
    margin: 7px;
}

/* .hello {
width: 100%;
max-width: 420px;
margin: 0 auto 15px auto;

font-size: 14px;
line-height: 2;
text-align: left;
} */

h1 {
    font-size: 160px;
    margin-bottom: 0px;
}

h2 {
    margin: 0 0 -20px 0;
}

h3 {
    font-size: 60px;
    margin: 10px 0 30px 0;
    letter-spacing: -1px;
}

#option-icons {
    display: none;
    width: 270px;
    /* align-items: left; */
    justify-content: space-between;
    /* gap: 5px; */
}

#skin-area {
    display: flex;
    justify-content: center;
}

#menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /*팝업 옵션들과 윗선 맞추기 위함*/
    width: 340px;
}

#skin-icons {
    display: none;
    gap: 5px;
}

#triangle-indicator {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #f03a17;
    position: absolute;
    transition: top 0.3s ease, left 0.3s ease;
    z-index: 10;
}

.icon {
    width: 50px;
    cursor: pointer;
}

/* .icon-bg {
    width: 50px;
    cursor: pointer;
    background-color: #ececec;
    border-radius: 20px;
    outline: 2px solid #d8d8d8;
} */

.toggle-bg {
    width: 50px;
    cursor: pointer;
    background-color: #8686869c;
    border-radius: 50px;
    outline: 2px solid #d8d8d8;
}

button {
    padding: 10px 20px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    border: 5px solid #000000;
    background-color: #13a10e;
    color: #ffffff;
    margin: 30px 0 20px 0;

    transition: background-color 0.3s ease, color 0.3s ease;
}

.middlebtn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    border: 0px solid #000000;
    background-color: #fbc400;
    color: #000000;

    margin: 30px 5px 30px 5px;
}

#extra-buttons {
    /* display: flex; */
    justify-content: center;
    /* 부모 안에서 버튼들을 가운데 정렬 */
    gap: 10px;
    /* 버튼 사이 간격 */
    /* margin-top: 20px; */
}

.opbtn {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    /* 가로 중앙 정렬 */
    align-items: center;
    /* 세로 중앙 정렬 */
    text-align: center;
    /* 텍스트 정렬 */
    padding: 0;
    /* 불필요한 패딩 제거 */
    font-size: 20px;
    /* 글자 크기 조절 */
    cursor: pointer;
    border: 4.5px solid #000000;
}

#result {
    margin: 30px auto -20px auto;
    padding: 20px 0 20px 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    
    align-items: center;
    gap: 20px;
    width: 380px;
    /* background-color: white; */
}

.label {
    font-weight: bold;
    font-size: 18px;
    width: 30px;
    text-align: right;
    margin: 0 10px 0 -10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.divider {
    height: 1px;
    /* margin: 3px -15px 10px 0; */
    background-color: #aaaaaa;
    width: 320px;
}

/* .divider-img {
  display: block;
  margin: -10px -15px 0 0;
  height: 50px;
} */

.lastest {
    width: 380px;
    margin: 40px auto -20px auto;
    padding: 20px 0 20px 0;
    border-radius: 20px;
    background-color: white;
    /* margin-top: 100px; */
}

.lastest-number-row {
    display: flex;
    gap: 5px;
    margin-bottom: 7px;
    justify-content: center;
    align-items: center;
}

.number-row {
    display: flex;
    gap: 10px;
    margin: 4px 0 4px 0;
    justify-content: center;
}

.number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background-color: #ffffff; */
    /* border: 1px solid #000000; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    /* box-shadow: 2px 2px 4px rgba(0,0,0,0.1); */
}

.number.yellow {
    background-color: #fbc400;
    color: #000;
}

.number.blue {
    background-color: #69c8f2;
    color: #000;
}

.number.red {
    background-color: #ff7272;
    color: #000;
}

.number.gray {
    background-color: #aaaaaa;
    color: #000;
}

.number.green {
    background-color: #b0d840;
    color: #000;
}

.lastest-title1 {
    font-weight: bold;
    font-size: 18px;
}

.lastest-title2 {
    margin-bottom: 10px;
    font-size: 14px;
}

.plus-sign {
    font-size: 20px;
    display: flex;
    justify-content: center;

}

.footer {
    margin-top: 60px;
    font-size: 12px;
    color: #666666;
}

/* @media (prefers-color-scheme: dark) {
    body {
        background-color: white !important;
        color: black !important;
    }
} */


/* 체크박스 디자인 */

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;

  justify-content: space-between;
  margin: 12px 0 12px 0;
}

.toggle-switch input {
  display: none;
}

.toggle-switch .slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 999px;
  transition: background-color 0.3s;
}

.toggle-switch .slider::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch input:checked + .slider {
  background-color: #2ecc71;
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(20px);
}

.toggle-switch .label-text {
  font-weight: 500;
}