body {
    margin: 0;
    font-family: 'NanumSquare', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 92.5vh;
    flex-direction: row;
    word-break: keep-all;
}


.recent-searches {
    padding-right: 20px;
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    visibility: hidden;
}

.recent-searches h3 {
    width: 60%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 27, 136, 0.8);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
}

.recent-searches ul {
    list-style: none;
    padding: 0;
    padding-left: 2%;
    margin: 0;
    text-align: left;
}

.recent-searches ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.search-section{
    width: 60%;
}

.search-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.search-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    width: 400px;
    border-left: 1px solid #001b67 ;
}

.search-form .form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-form .form-group label {
    width: 10%;
    flex: 1;
    font-size: 0.87rem;
    margin-left: 5%;
}

.search-form .form-group select {
    width: 80%; /* 드롭다운 너비 */
    padding: 8px; /* 동일한 내부 여백 */
    font-size: 1rem; /* 동일한 글꼴 크기 */
    border: 1px solid #001b67; /* 동일한 테두리 */
    border-radius: 5px; /* 동일한 모서리 */
    background: #fff; /* 동일한 배경 */
    cursor: pointer;
    height: 42px; /* 드롭다운과 동일한 높이 */
    box-sizing: border-box; /* 크기 계산 동일하게 */
}
.admission-type label {
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

.buttons {
    display: flex;
    gap: 15px;
    width: 80%;
}

.buttons button {
    width: 100%; /* 드롭다운과 동일한 너비 */
    padding: 8px; /* 드롭다운과 동일한 내부 여백 */
    font-size: 1rem; /* 동일한 글꼴 크기 */
    border: 1px solid #4a66cc; /* 동일한 테두리 */
    border-radius: 5px; /* 동일한 모서리 */
    background: #fff; /* 동일한 배경 */
    color: #4a66cc;
    cursor: pointer;
    height: 42px; /* 드롭다운과 동일한 높이 설정 */
    display: flex; /* 텍스트 중앙 정렬 */
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* 크기 계산 동일하게 */
    transition: background 0.3s ease, color 0.3s ease;
}

.buttons button:hover {
    background: #4a66cc;
    color: #fff;
}

.buttons button.active {
    background: #4a66cc;
    color: #fff;
}

.search-button {
    background-color: #4a66cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    width: 70%;
    max-width: 420px;
    margin-top: 5vh;
}

.search-button:hover {
    background-color: #3b4ea7;
}

.null{
    width: 20%;
}

.error-highlight {
    border: 2px solid red !important;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}


@media (max-width: 1279px) {
    .recent-searches{
        width : 25%;
    }

    .null{
        width: 25%;
    }

    
}

@media (max-width: 768px) {
    .recent-searches{
        width : 25%;
    }
}