/* 모바일 스타일: 기본적으로 모바일 우선 스타일을 적용합니다. */
body {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    margin: 20px;
    /* min-height: 100vh; */
}

table {
    width: 100%;
}

input[type="id"], input[type="password"], input[type="submit"] {
    padding: 10px;
    font-size: 18px;
}

@media (min-width: 600px) {
}
/* 태블릿 & 데스크톱 스타일: 600px 이상의 화면 크기에 대해 적용됩니다. */
@media (min-width: 600px) {
    body {
        font-size: 20px;
        padding: 20px;
    }
    form {
        width: 50%;
        margin: auto;
    }
    input[type="id"], input[type="password"], input[type="submit"] {
        padding: 15px;
        font-size: 20px;
    }
}


/* 데스크톱 스타일: 900px 이상의 화면 크기에 대해 적용됩니다. */
@media (min-width: 900px) {
    body {
        font-size: 12px;
    }
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    min-width: 12 0px;
    /* max-height: 100px; */
    /* overflow: hidden; */
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
td:nth-child(-n+5) {
    white-space: nowrap;
    /* max-height: 100px; */
    overflow: hidden;
    text-overflow: ellipsis;
    /* max-width: 300px; */
}
td:last-child > pre {
    /* max-height: 100px; */
    overflow-y: hidden;
}
th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4CAF50;
    color: white;
}
td.json-data {
    max-height: 100px;
    display: block;
    overflow: hidden;
}
.label-group {
    margin-left: 10px;
}
code {
    display: inline-block;
    white-space: normal;
    max-width:100%; 
    word-break:break-all; 
    word-wrap:break-word;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 90%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}