/* ÀüÃ¼ ½ºÅ¸ÀÏ */
body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    text-align: center;
}

/* Çì´õ ½ºÅ¸ÀÏ */
header {
    background: #white;
    padding: 10px;
    color: white;
    font-size: 12px;
    max-width: 90%; /* Çì´õ ³Êºñ Á¦ÇÑ */
    margin: 0 auto; /* °¡¿îµ¥ Á¤·Ä */
    border-radius: 10px;
    text-align: center;
}

/* ³»ºñ°ÔÀÌ¼Ç ½ºÅ¸ÀÏ */
nav {
    display: flex;
    justify-content: center; /* ¸Þ´º Áß¾Ó Á¤·Ä */
    align-items: center;
    flex-wrap: wrap; /* ¡Ú ÁÙ¹Ù²Þ °¡´ÉÇÏµµ·Ï ¼³Á¤ ¡Ú */
    margin-top: 10px;
}

/* ¸Þ´º ½ºÅ¸ÀÏ */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px; /* ¹öÆ° °£°Ý */
    flex-wrap: wrap; /* ¡Ú ÀÚµ¿ ÁÙ¹Ù²Þ ¼³Á¤ ¡Ú */
    justify-content: center;
}

/* ¹öÆ° ½ºÅ¸ÀÏ */
nav ul li {
    display: inline-block;
}

nav ul li a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background: #0056b3;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* ÅØ½ºÆ® ÁÙ¹Ù²Þ ¹æÁö */
}

/* ¸¶¿ì½º ¿À¹ö È¿°ú */
nav ul li a:hover {
    background: #003f7f;
    transform: translateY(-2px); /* ¹öÆ°ÀÌ »ìÂ¦ ¿Ã¶ó°¡´Â È¿°ú */
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

/* ¹ÝÀÀÇü (È­¸éÀÌ ÀÛ¾ÆÁö¸é ¹öÆ° Å©±â Á¶Àý) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}


main {
    max-width: 720px;  /* ±âÁ¸ 600px ¡æ 720px·Î Áõ°¡ (20% È®´ë) */
    margin: 50px auto;
    padding: 30px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left; /* ÁÂÃø Á¤·Ä */
}

/* ÀÔ·Â Æû ½ºÅ¸ÀÏ */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    text-align: left;
}

input {
    width: 70%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #218838;
}

/* °á°ú Ãâ·Â */
.result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
}

/* ÇªÅÍ ½ºÅ¸ÀÏ */
footer {
    margin-top: 30px;
    padding: 10px;
    background: #343a40;
    color: white;
    font-size: 14px;
}
.result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
    padding: 15px;
    border: 2px solid #dc3545;
    border-radius: 10px;
    background: #f8d7da;
}
.result-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #d1ecf1;
    font-size: 18px;
    font-weight: bold;
}
/* ±âº» ¼¿·ºÆ® ¹Ú½º ½ºÅ¸ÀÏ */
select {
    width:70%; /* ÀÔ·Â ÇÊµå¿Í ¸ÂÃß±â */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    appearance: none; /* ±âº» È­»ìÇ¥ Á¦°Å */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Æ÷Ä¿½º È¿°ú */
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* È­»ìÇ¥ ¾ÆÀÌÄÜ Ãß°¡ */
select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="gray"><path d="M7 10l5 5 5-5H7z"></path></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* È£¹ö È¿°ú */
select:hover {
    border-color: #0056b3;
}

/* ºñÈ°¼ºÈ­ ½ºÅ¸ÀÏ */
select:disabled {
    background-color: #f1f1f1;
    cursor: not-allowed;
}
.result-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #d1ecf1;
    font-size: 18px;
    font-weight: bold;
}
.admin-container {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}
.search-form-container {
    display: flex;
    justify-content: center; /* Áß¾Ó Á¤·Ä */
    width: 100%;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px; /* ÀÔ·Â ÇÊµå¿Í ¹öÆ° °£°Ý */
    flex-wrap: nowrap; /* ÇÑ ÁÙ À¯Áö */
    justify-content: center;
}

.search-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 500px;
    min-width: 140px;
}

.search-form button {
    padding: 10px 15px;
    font-size: 14px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 100px;
    white-space: nowrap;
}

.search-form button:hover {
    background: #0056b3;
}


.admin-container {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

.log-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px; /* °Ë»ö Æû°ú Å×ÀÌºí °£°Ý Á¶Á¤ */
}

.log-table th, .log-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.log-table th {
    background: #f4f4f4;
}

.pagination {
    margin-top: 20px;
}

.pagination a {
    padding: 8px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #007BFF;
    border-radius: 5px;
}

.pagination a.active {
    background: #007BFF;
    color: white;
}

.pagination a:hover {
    background: #0056b3;
    color: white;
}

.logout-btn {
    display: inline-block;
    padding: 10px 20px;
    background: red;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px; /* ·Î±×¾Æ¿ô ¹öÆ° À§Ä¡ Á¶Á¤ */
}

.logout-btn:hover {
    background: darkred;
}

.form-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.form-box label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.form-box input, .form-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-box button {
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #d1ecf1;
    font-size: 18px;
    font-weight: bold;
}
textarea {
    width: 100%;
    height: 150px;
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #d1ecf1;
    font-size: 18px;
    font-weight: bold;
}

.example-text {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    white-space: pre-wrap;
}
/* ? ÆäÀÌÁö ÀüÃ¼ Á¤·Ä ¹× ½ºÅ¸ÀÏ */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: left;
}

/* ? ¼³¸í ¹Ú½º ½ºÅ¸ÀÏ */
.info-box {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
}

.info-box h2, .info-box h3 {
    color: #007bff;
}

/* ? Å×ÀÌºí ½ºÅ¸ÀÏ */
.example-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.example-table th, .example-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.example-table th {
    background: #007bff;
    color: white;
}

/* ? ÀÔ·Â Æû ½ºÅ¸ÀÏ */
.form-box {
    background: #e9f7ff;
    padding: 20px;
    border-radius: 5px;
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-box button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

.form-box button:hover {
    background: #0056b3;
}

/* ? °á°ú Ãâ·Â ¹Ú½º */
.result-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #d1ecf1;
    font-size: 18px;
    font-weight: bold;
}
/* Ã¼Å©¹Ú½º ±×·ì Á¤·Ä */
.checkbox-group {
    display: flex;  /* °¡·Î Á¤·Ä */
    align-items: center; /* ¼¼·Î Áß¾Ó Á¤·Ä */
    gap: 8px; /* Ã¼Å©¹Ú½º¿Í ¶óº§ »çÀÌ °£°Ý */
    margin-bottom: 10px; /* Ã¼Å©¹Ú½º ±×·ì °£°Ý */
}

/* Ã¼Å©¹Ú½º ±âº» ½ºÅ¸ÀÏ */
.checkbox-group input[type="checkbox"] {
    width: 18px; /* Ã¼Å©¹Ú½º Å©±â */
    height: 18px;
    cursor: pointer;
    accent-color: #007BFF; /* Ã¼Å©¹Ú½º »ö»ó */
    margin: 0; /* ¿©¹é Á¦°Å */
}

/* Ã¼Å©¹Ú½º ¶óº§ ½ºÅ¸ÀÏ */
.checkbox-group label {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
.menu-search-container {
  margin: 10px 0;
  text-align: center;
}
  #menuSearch {
    width: 250px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  .menu li {
    display: inline-block;
    margin: 0.1px;
  }
  .highlight {
    background-color: yellow;
    font-weight: bold;
  }