

/* ================================== */
/* 1. 기본 설정 및 공통 스타일 */
/* ================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
}

/* ================================== */
/* 2. HEADER 스타일 (홈 로고 이미지 및 홈 버튼 적용) */
/* ================================== */
header {
    background-color: #007bff; 
    color: white;
    padding: 30px 20px; 
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative; /* 홈 버튼 absolute 배치를 위해 */
}

.home-link {
    text-decoration: none; 
    color: inherit; 
    display: block; 
}

.header-logo-img {
    max-width: 100px; 
    height: auto;
    display: block; 
    margin: 0 auto 10px auto; 
}

header h1 { 
    display: none; /* 이미지가 로고를 대체하므로 숨김 */
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 10px; 
}

/* 🎯 새로 추가된 홈 버튼 스타일 */
.home-button {
    display: inline-block;
    background-color: #28a745; /* 녹색 계열 버튼 */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin-right: 20px; /* 로고와 JOSHUA 텍스트 아래에 배치 */
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    position: absolute;
    top: 20px;
    left: 20px;
    margin-top: 0;

    /* 헤더의 오른쪽 상단에 고정하고 싶다면 (선택적) */
    /*
    position: absolute;
    top: 20px;
    right: 20px;
    margin-top: 0;
    */
}

.home-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

        body {
            font-family: Arial, sans-serif;
            text-align: center;
            padding: 30px;
            background-color: #f4f7f6;
        }
        .container {
            background-color: #ffffff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            margin: 0 auto;
        }
        h2 {
            color: pink; /* 에메랄드 그린 */
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-top: 15px;
            font-weight: bold;
            color: #555;
        }
        input[type="date"] {
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
            width: 100%;
            box-sizing: border-box;
        }
        button {
            margin-top: 25px;
            padding: 12px 25px;
            background-color: #38a169;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #2c7a51;
        }
        #result {
            margin-top: 30px;
            font-size: 1.5em;
            font-weight: bold;
            color: #d32f2f; /* 빨간색 */
            padding: 15px;
            border: 2px dashed #ffcdd2;
            border-radius: 8px;
            background-color: #ffebee;
        }
        .today-info {
            margin-bottom: 20px;
            color: #007bff;
            font-size: 0.9em;
        }
