@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

h1 {
    color: #1a2533;
    margin-bottom: 10px;
}

p {
    color: #5a677d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.upload-area {
    border: 2px dashed #d0d7e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    background-color: #f8fafc;
}

/* 실제 파일 인풋은 숨김 */
input[type="file"] {
    display: none;
}

.upload-label {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.upload-label:hover {
    background-color: #0056b3;
}

#file-list {
    margin-top: 20px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

#merge-button {
    background-color: #28a745;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.1s;
}

#merge-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

#merge-button:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

#status {
    margin-top: 25px;
    font-size: 16px;
    font-weight: 500;
}

#status .error {
    color: #dc3545;
}

#status .success {
    color: #28a745;
}

#status a {
    display: inline-block;
    margin-top: 10px;
    background-color: #17a2b8;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
}

#status a:hover {
    background-color: #117a8b;
}