@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 콘텐츠가 길어질 수 있으므로 상단 정렬 */
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #005aa7;
    margin-bottom: 10px;
}

p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #005aa7;
    outline: none;
}

textarea {
    resize: vertical;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group button {
    flex: 1; /* 버튼이 공간을 균등하게 차지 */
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

#checkBtn {
    background-color: #005aa7;
    color: white;
}

#checkBtn:hover {
    background-color: #004a8f;
}

#checkBtn:disabled {
    background-color: #6c757d;
    cursor: wait;
    opacity: 0.7;
}

.secondary-btn {
    background-color: #ffffff;
    color: #005aa7;
    border: 2px solid #005aa7;
}

.secondary-btn:hover {
    background-color: #f0f8ff;
}

.result-area {
    margin-top: 30px;
    width: 100%;
    overflow-x: auto;
}

.error-message, .info-message {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
}

.error-message {
    color: #dc3545;
    font-weight: bold;
}

.info-message {
    color: #005aa7;
    font-weight: bold;
}


.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.result-table th,
.result-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: center;
    vertical-align: middle;
}

.result-table th {
    background-color: #005aa7;
    color: white;
    font-weight: 700;
}

.result-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.result-table tbody tr:hover {
    background-color: #f1f1f1;
}

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9em;
    color: white;
    font-weight: bold;
}

.status-ok { background-color: #28a745; }
.status-closed { background-color: #dc3545; }
.status-etc { background-color: #6c757d; }