/* 전체 배경과 기본 폰트 설정 */
body {
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
    padding: 20px;
}

/* 앱 전체를 감싸는 글래스모피즘 카드 */
.app-container {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    padding: 30px;
    box-sizing: border-box;
}

/* 헤더와 언어 선택바 */
header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    border-radius: 15px;
    margin-bottom: 25px;
}

header h1 {
    font-size: 2.8rem;
    margin: 0;
    color: #FFD700;
    font-weight: 900;
    letter-spacing: 0.5px;
    background-color: rgba(60, 80, 200, 0.95);
    backdrop-filter: blur(5px);
    padding: 20px 25px;
    border-radius: 15px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

#header-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

#language-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(5px);
    width: auto;
    min-width: 120px;
}

#language-select option {
    background-color: #667eea;
    color: white;
}

#language-select:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 시계 부분 눈에 띄게 */
.clock-section {
    text-align: center;
    margin-bottom: 30px;
    background-color: #e8f4f8;
    padding: 20px;
    border-radius: 15px;
}

#current-time {
    font-size: 3rem; /* 시간을 아주 크게! */
    margin: 0;
    color: #2980b9;
    letter-spacing: 2px;
}

#current-date {
    margin: 5px 0 0 0;
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* 입력칸들 설정 */
.input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

input[type="text"], input[type="time"], select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
}

.time-settings {
    display: flex;
    gap: 10px;
}

/* 버튼 디자인 */
#add-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#add-btn:hover {
    background-color: #2980b9;
}

/* 리스트 디자인 */
.list-section h3 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

#schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 5px solid #3498db;
}

.schedule-info {
    display: flex;
    flex-direction: column;
}

.schedule-time {
    font-weight: bold;
    color: #2980b9;
    font-size: 1.1rem;
}

.schedule-task {
    font-size: 1.1rem;
    margin-top: 5px;
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.delete-btn:hover {
    background-color: #c0392b;
}
