@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background: #f0f2ff;
    min-height: 100vh;
    display: flex;
}

/* Sidebar Styles */
.sidebar {
    width: 240px;
    background: #000000;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo-container { 
    height: 80px;
    background: linear-gradient(90deg, #0052cc, #002e72);
    display: flex;
    align-items: center;
    justify-items: center;
    padding-left: 20px;
    cursor: pointer;
}

.logo-placeholder {
    height: 30px;
}

.nav-container {
    padding: 0px;
}

.nav-item {
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-item i {
    width: 39px;
    height: 39px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

/* active 상태일 때는 hover 효과를 덮어쓰기 */
.nav-item.active:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    height: 80px;
    padding: 0 32px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: rgb(0, 0, 0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-selector {
    padding: 8px 32px 8px 12px; /* 오른쪽 패딩을 늘려서 화살표 공간 확보 */
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    min-width: 120px; /* 최소 너비 설정 */
    text-align: center; /* 텍스트 중앙 정렬 */
    
    /* 기본 화살표 제거 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* 커스텀 화살표 추가 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.language-selector:hover {
    border-color: #999;
}

.language-selector:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.1);
}

/* 옵션 스타일링 */
.language-selector option {
    text-align: left;
    padding: 8px;
}

/* Content Area Styles */
.content-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 40px 0;
    line-height: 1.4;
}

/* 파일 업로드 */

#reg_doc_file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip:rect(0,0,0,0);
    border: 0;
} 

.upload-status-fail {
    color: red;
}

.upload-status-success {
    color: green;
}