@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'GmarketSansMedium';
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* 배경색 추가 */
}


/* 기본 박스 크기 설정 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* 클릭 불가한 드롭다운의 스타일 */
.disabled-dropdown {
    color: gray;
    background-color: #f5f5f5;
    pointer-events: none; /* 클릭 방지 */
    opacity: 0.6; /* 흐리게 */
    cursor: not-allowed; /* 마우스 커서 변경 */
}



.layout-container {
    display: flex;
    height: 100vh;
    width: 100%;
}



.content-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}


/* 컨테이너 스타일 */
.container {
    margin: 0px auto;
    max-width: 100%;
    padding: 20px;
    
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


h1 {
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    
}


/* 기본 input 스타일 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px;
    margin: 0px 0px 20px ;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'GmarketSansMedium';
}


/* 모든 테이블에 글자 크기를 적용 */
table {
    font-size: 14px; /* 원하는 글자 크기 */
    line-height: 1.5; /* 줄 간격 조정 */
}

/* 테이블 헤더의 글자 크기 조정 */
table th {
    font-size: 16px; /* 헤더의 글자 크기 */
    font-weight: bold; /* 굵게 표시 */
}

/* 테이블 본문(내용)의 글자 크기 조정 */
table td {
    font-size: 14px; /* 본문 글자 크기 */
}





/* label 기본 스타일 */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}



/* 기본 button 스타일 */
button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'GmarketSansMedium';
}




button:hover {
    background-color: #0056b3;
}



/* 에러 메시지 */
.error-message {
    color: #007bff;
    font-size: 0.9rem;
    margin-top: -5px;
    margin-bottom: 10px;
}





.flash-messages {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.alert {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}




/* 테이블 스타일 */
.table-section {
    overflow-x: auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}


.list-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}


.list-table th, .list-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}




.list-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-transform: uppercase;
}

.list-table tbody tr:hover {
    background-color: #f1f1f1;
}

.list-table img {
    display: block;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
}





/* 하위 메뉴는 기본적으로 숨기기 */
.submenu {
    display: none;
    list-style-type: none;
    padding-left: 20px;
}

/* 활성화된 메뉴는 하위 메뉴 표시 */
.menu-item.active .submenu {
    display: block;
}
