* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}

.hidden {
    display: none !important;
}

/* 날씨 영역 (우측 상단 정렬) */
#weather {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: right;
}
#weather span {
    display: block;
    margin-bottom: 5px;
}

/* 시계 영역 */
#clock {
    font-size: 7rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* 로그인 폼 및 Greeting */
#login-form input, #todo-form input {
    background: none;
    border: none;
    border-bottom: 2px solid white;
    color: white;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 5px;
    outline: none;
}
#login-form input::placeholder, #todo-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
#login-form button {
    display: none; /* 엔터키로 제출하므로 버튼은 숨김 처리 */
}

#greeting {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

/* 투두리스트 영역 */
#todo-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#todo-form {
    width: 100%;
    margin-bottom: 15px;
}
#todo-form input {
    width: 100%;
    font-size: 1.3rem;
}
#todo-list {
    width: 100%;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}
#todo-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
}
#todo-list li button {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.1s ease;
}
#todo-list li button:hover {
    transform: scale(1.2);
}