body {
    font-family: 'Pretendard', sans-serif;
    background-color: #f3f4f6;
}

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Sidebar Styles */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem; /* 패딩 조정 */
    color: #d1d5db;
    transition: all 0.2s ease-in-out;
    border-radius: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.sidebar-link:hover {
    background-color: #374151;
    color: #ffffff;
}

.sidebar-link.active {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

.sidebar-link i:first-child {
    width: 1.25rem;
    margin-right: 0.75rem;
    text-align: center;
}

/* Submenu Styles */
.submenu-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}
.submenu-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}
.submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    background-color: rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    margin-top: 0.25rem;
}
.submenu:not(.hidden) {
    max-height: 500px; /* 충분한 높이 */
}
.submenu-item {
    padding-left: 3.25rem !important; /* 아이콘 너비 + 여백 + 추가 들여쓰기 */
    font-size: 0.9rem;
}
.submenu-item.active {
    background-color: #374151;
    font-weight: normal;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}


/* FAQ Page Styles */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}
.faq-item summary::-webkit-details-marker {
    display: none; /* Chrome/Safari 기본 마커 숨기기 */
}
.faq-item summary::after {
    content: '\f078'; /* Font Awesome Chevron Down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}
.faq-item[open] > summary::after {
    transform: rotate(180deg);
}
.faq-content {
    padding: 0 0.5rem 1.5rem 0.5rem;
    color: #4b5563;
    line-height: 1.7;
}
.faq-content p {
    margin-bottom: 1rem;
}


/* Responsive Table Styles */
.responsive-table {
    width: 100%;
    min-width: 768px; /* 테이블의 최소 너비를 지정 (예: 768px) */
    table-layout: auto;
}
.responsive-table th,
.responsive-table td {
    /* white-space: nowrap; 셀 내용이 줄바꿈되지 않도록 설정 */
}