/* CSS */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
        }
        body {
            background-color: #f5f5f5;
        }
        a {
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }
        ul, li {
            list-style: none;
        }
        
        /* 헤더 */
        header {
            background-color: white;
            border-bottom: 1px solid #ddd;
        }
        .header-top {
            background-color: #007C79;
            color: white;
            padding: 10px 0;
        }
        .header-top ul {
            display: flex;
            justify-content: flex-end;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            gap: 20px;
        }
        .header-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .logo {
              display: flex;
             align-items: center;
             text-decoration: none; /* 링크 밑줄 제거 */
        }

        .logo:hover {
             opacity: 0.9; /* 마우스 오버시 약간의 효과 */
        }
        .logo img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #007C79;
            margin-right: 10px;
        }
        .logo h1 {
            color: #007C79;
            font-size: 24px;
        }
        .logo span {
            color: #666;
            font-size: 14px;
            margin-left: 10px;
        }
        
        /* 메인 메뉴 */
        .main-nav {
            background-color: #007C79;
        }
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        .nav-container > ul {
            display: flex;
        }
        .nav-container > ul > li {
            position: relative;
            flex: 1;
        }
        .nav-container > ul > li > a {
            display: block;
            color: white;
            text-align: center;
            padding: 15px 0;
            font-weight: bold;
        }
        .nav-container > ul > li:hover > a,
        .nav-container > ul > li > a.active {
            background-color: #00615E;
        }
        
        /* 서브메뉴 */
        .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 100;
        }
        .nav-container > ul > li:hover .submenu {
            display: block;
        }
        .submenu a {
            display: block;
            padding: 10px 15px;
            color: #333;
            font-size: 14px;
            border-bottom: 1px solid #eee;
        }
        .submenu a:hover,
        .submenu a.active {
            background-color: #f5f5f5;
            color: #007C79;
        }
        
        /* 컨텐츠 영역 */
        .content-area {
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }
        .page {
            display: none;
        }
        .page.active {
            display: block;
        }
        
    /* 메인 페이지 */
.main-banner {
    width: 100%;
    height: 500px; /* 300px에서 500px로 높이 증가 */
    background-color: #007C79;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}
.main-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지 비율 유지하면서 영역 채우기 */
    opacity: 0.3;
    z-index: 0;
}
        .main-banner-content {
            position: relative;
            z-index: 1;
            padding: 0 20px;
        }
        .main-banner h2 {
            font-size: 28px;
            margin-bottom: 15px;
        }
        .main-banner p {
            font-size: 16px;
            max-width: 600px;
            line-height: 1.6;
        }
        
        /* 상세 페이지 스타일 */
        .page-header {
            background-color: #007C79;
            color: white;
            padding: 30px 20px;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        .page-header h2 {
            font-size: 24px;
            margin-bottom: 10px;
        }
        .page-header p {
            max-width: 800px;
        }
        .page-content {
            display: flex;
            gap: 30px;
        }
        .sidebar {
            width: 250px;
        }
        .sidebar-menu {
            background-color: white;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .sidebar-title {
            background-color: #007C79;
            color: white;
            padding: 15px;
            font-weight: bold;
        }
        .sidebar-menu ul a {
            display: block;
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            color: #333;
        }
        .sidebar-menu ul a:hover,
        .sidebar-menu ul a.active {
            background-color: #f5f5f5;
            color: #007C79;
            padding-left: 20px;
        }
        .sidebar-menu ul a.active {
            border-left: 4px solid #007C79;
            font-weight: bold;
        }
        .main-content {
            flex: 1;
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .content-title {
            font-size: 22px;
            color: #007C79;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        .content-text {
            line-height: 1.8;
            margin-bottom: 15px;
        }
        .content-image {
            margin: 20px 0;
            text-align: center;
        }
        .content-image img {
            max-width: 100%;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .content-image p {
            margin-top: 10px;
            color: #666;
            font-size: 14px;
        }
        
        /* 푸터 */
        footer {
            background-color: #333;
            color: #ddd;
            padding: 30px 0;
            margin-top: 50px;
        }
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .footer-info p {
            margin-bottom: 10px;
        }
        
        /* 관리자 패널 */
        .admin-panel {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #007C79;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        }
        .admin-panel:hover {
            background-color: #00615E;
        }
        
        /* 편집 모드 */
        .admin-mode .editable {
            border: 2px dashed #007C79;
            padding: 5px;
            cursor: pointer;
            position: relative;
        }
        .admin-mode .editable:hover {
            background-color: rgba(0, 124, 121, 0.1);
        }
        .admin-mode .editable:hover::after {
    content: "편집하려면 클릭하세요";
    position: absolute;
    bottom: -25px; /* 하단으로 위치 변경 */
    left: 0;       /* 좌측으로 위치 변경 */
    font-size: 12px;
    background-color: #007C79;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 100;  /* 다른 요소 위에 표시되도록 z-index 추가 */
}
        .admin-mode .edit-image {
            border: 2px dashed #007C79;
            padding: 5px;
            cursor: pointer;
            position: relative;
        }
        .admin-mode .edit-image:hover::after {
            content: "이미지 변경하기";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 124, 121, 0.8);
            color: white;
            padding: 10px;
            border-radius: 5px;
        }
        
        /* 편집 창 */
        .edit-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        .edit-box {
            background-color: white;
            width: 80%;
            max-width: 800px;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
        }
        .edit-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }
        .edit-header h3 {
            color: #007C79;
        }
        .edit-header button {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }
        .edit-content textarea {
            width: 100%;
            min-height: 200px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 3px;
            margin-bottom: 15px;
            font-family: inherit;
        }
        .edit-buttons {
            text-align: right;
        }
        .btn {
            padding: 8px 15px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            margin-left: 10px;
        }
        .btn-save {
            background-color: #007C79;
            color: white;
        }
        .btn-cancel {
            background-color: #ddd;
            color: #333;
        }
        
        /* 이미지 업로드 */
        .image-upload {
            margin-bottom: 15px;
        }
        .image-preview {
            width: 100%;
            height: 200px;
            border: 1px dashed #ddd;
            margin-bottom: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        .image-preview img {
            max-width: 100%;
            max-height: 100%;
        }
        input[type="file"] {
            margin-bottom: 10px;
        }
        .caption-input {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 3px;
        }
        
        /* 위성/발사체 카드 스타일 */
        .satellite-container, .launcher-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        .satellite-card, .launcher-card {
            width: calc(33.33% - 14px);
            background-color: white;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .satellite-card:hover, .launcher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .satellite-card img, .launcher-card img {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }
        .satellite-card-content, .launcher-card-content {
            padding: 15px;
        }
        .satellite-card h4, .launcher-card h4 {
            color: #007C79;
            margin-bottom: 10px;
        }
        .satellite-card p, .launcher-card p {
            font-size: 14px;
            color: #666;
            height: 40px;
            overflow: hidden;
        }
        
        /* 새로운 항목 추가 버튼 */
        .add-new-button {
            width: calc(33.33% - 14px);
            height: 218px;
            background-color: #f5f5f5;
            border: 2px dashed #007C79;
            border-radius: 5px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .add-new-button:hover {
            background-color: #e5f5f5;
        }
        .add-new-button i {
            font-size: 48px;
            color: #007C79;
            margin-bottom: 10px;
        }
        .add-new-button span {
            color: #007C79;
            font-weight: bold;
        }
        
        /* 위성/발사체 상세 정보 */
        .satellite-detail, .launcher-detail {
            display: none;
            margin-top: 20px;
        }
        .satellite-detail.active, .launcher-detail.active {
            display: block;
        }
        .detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .detail-header h3 {
            color: #007C79;
        }
        .back-button {
            background-color: #eee;
            color: #333;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .back-button:hover {
            background-color: #ddd;
        }
        
        /* 연구 데이터 스타일 */
        .research-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .research-card {
            width: calc(50% - 10px);
            background-color: white;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .research-card-header {
            background-color: #007C79;
            color: white;
            padding: 15px;
        }
        .research-card-content {
            padding: 15px;
        }
        
        /* 교육 참여 스타일 */
        .education-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .education-card {
            width: calc(50% - 10px);
            background-color: white;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .education-card-header {
            background-color: #007C79;
            color: white;
            padding: 15px;
        }
        .education-card-content {
            padding: 15px;
        }
        
        /* 동적 섹션 추가 스타일 */
        .dynamic-section {
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 20px;
            margin-bottom: 20px;
            position: relative;
        }
        .admin-mode .dynamic-section {
            border: 2px dashed #007C79;
        }
        .section-title {
            font-size: 18px;
            margin-bottom: 15px;
            color: #007C79;
        }
        .admin-mode .section-controls {
    display: flex;
    position: absolute;
    top: -20px; /* 위치를 위로 올림 */
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8); /* 배경 추가 */
    padding: 3px;
    border-radius: 3px;
    z-index: 101; /* 다른 요소보다 앞에 표시 */
}
.section-controls {
    display: none;
}
        .section-control-btn {
            width: 30px;
            height: 30px;
            background-color: #007C79;
            color: white;
            border: none;
            border-radius: 3px;
            margin-left: 5px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .section-control-btn:hover {
            background-color: #00615E;
        }
        .add-section-button {
            width: 100%;
            padding: 15px;
            background-color: #f5f5f5;
            border: 2px dashed #007C79;
            border-radius: 5px;
            text-align: center;
            color: #007C79;
            font-weight: bold;
            cursor: pointer;
            margin-bottom: 20px;
            display: none;
        }
        .admin-mode .add-section-button {
            display: block;
        }
        .add-section-button:hover {
            background-color: #e5f5f5;
        }
        
        /* 다양한 섹션 타입 스타일 */
        .section-type-text .section-content {
            line-height: 1.8;
        }
        .section-type-image .section-content {
            text-align: center;
        }
        .section-type-image img {
            max-width: 100%;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        .section-type-image p {
            color: #666;
            font-size: 14px;
        }
        .section-type-table table {
            width: 100%;
            border-collapse: collapse;
        }
        .section-type-table th, .section-type-table td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: left;
        }
        .section-type-table th {
            background-color: #f5f5f5;
        }
        
        /* 섹션 타입 선택 오버레이 */
        .section-type-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        .section-type-box {
            background-color: white;
            width: 80%;
            max-width: 600px;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
        }
        .section-type-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #ddd;
        }
        .section-type-header h3 {
            color: #007C79;
        }
        .section-type-options {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .section-type-option {
            width: calc(33.33% - 10px);
            height: 100px;
            background-color: #f5f5f5;
            border-radius: 5px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .section-type-option:hover {
            background-color: #e5f5f5;
        }
        .section-type-option i {
            font-size: 24px;
            color: #007C79;
            margin-bottom: 10px;
        }
        .section-type-option span {
            color: #333;
            font-size: 14px;
        }
        /* 조직도 스타일 */
.org-chart {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.org-top {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.org-main-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #007C79;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    position: relative;
}

.org-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    background-color: white;
}

.org-title {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
}

.org-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: 20px;
}

.org-branches::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: #ccc;
}

.org-box {
    width: 160px;
    height: 80px;
    background-color: #007C79;
    color: white;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    position: relative;
}

.org-position {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.org-name {
    font-size: 13px;
}

/* 관리자 모드에서 편집 가능한 요소 스타일 */
.admin-mode .org-box .editable,
.admin-mode .org-main-box .editable {
    border: 2px dashed transparent;
    padding: 2px;
    cursor: pointer;
}

.admin-mode .org-box:hover .editable,
.admin-mode .org-main-box:hover .editable {
    border-color: rgba(255, 255, 255, 0.5);
}

.admin-mode .org-box .editable:hover,
.admin-mode .org-main-box .editable:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 새 위원회 추가 버튼 */
#add-org-box {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* 조직도 반응형 스타일 */
@media (max-width: 768px) {
    .org-branches {
        flex-direction: column;
        align-items: center;
    }
    
    .org-box {
        width: 80%;
        margin-bottom: 10px;
    }
}
        
/* 조직도 스타일 */
.org-chart {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.org-top {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.org-main-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #007C79;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    position: relative;
}

.org-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    background-color: white;
}

.org-title {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
}

.org-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: 20px;
}

.org-branches::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: #ccc;
}

.org-box {
    width: 160px;
    height: 80px;
    background-color: #007C79;
    color: white;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    position: relative;
}

.org-position {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.org-name {
    font-size: 13px;
}

/* 관리자 모드에서 편집 가능한 요소 스타일 */
.admin-mode .org-box .editable,
.admin-mode .org-main-box .editable {
    border: 2px dashed transparent;
    padding: 2px;
    cursor: pointer;
}

.admin-mode .org-box:hover .editable,
.admin-mode .org-main-box:hover .editable {
    border-color: rgba(255, 255, 255, 0.5);
}

.admin-mode .org-box .editable:hover,
.admin-mode .org-main-box .editable:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 새 위원회 추가 버튼 */
#add-org-box {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* 조직도 반응형 스타일 */
@media (max-width: 768px) {
    .org-branches {
        flex-direction: column;
        align-items: center;
    }
    
    .org-box {
        width: 80%;
        margin-bottom: 10px;
    }
}

/* 반응형 */
        @media (max-width: 768px) {
            .page-content {
                flex-direction: column;
            }
            .sidebar {
                width: 100%;
                margin-bottom: 20px;
            }
            .satellite-card, .launcher-card, .add-new-button {
                width: 100%;
            }
            .research-card, .education-card {
                width: 100%;
            }
        }
        /* 조직도 스타일 */
.org-chart {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.org-top {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.org-main-box {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #1E3A8A;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.org-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    background-color: white;
}

.org-title {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
}

.org-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: 20px;
}

.org-branches::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: #ccc;
}

.org-box {
    width: 160px;
    height: 80px;
    background-color: #1E3A8A;
    color: white;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.org-position {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.org-name {
    font-size: 13px;
}

/* 반응형 조직도 */
@media (max-width: 768px) {
    .org-branches {
        flex-direction: column;
        align-items: center;
    }
    
    .org-box {
        width: 80%;
        margin-bottom: 10px;
    }
}
 
/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.modal-header h3 {
    margin: 0;
    color: #007C79;
}

.close-modal {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333; /* 라벨 텍스트 색상 추가 */
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333; /* 입력 텍스트 색상 추가 */
    background-color: #fff; /* 배경색 추가 */
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333; /* 라디오 버튼 라벨 색상 추가 */
}

.radio-group input {
    width: auto;
    margin-right: 5px;
}

.form-buttons {
    text-align: right;
    margin-top: 20px;
}

.btn-primary {
    background-color: #007C79;
    color: white;
}

.btn-primary:hover {
    background-color: #00615E;
}

.cancel-btn {
    background-color: #ddd;
    color: #333;
    margin-right: 10px;
}

/* 관리자 메뉴 */
.admin-menu {
    display: none;
}

/* 사용자 정보 스타일 */
#user-info {
    color: #007C79;
    font-weight: bold;
    font-size: 14px;
    margin-left: auto;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#edit-profile-link {
    font-size: 12px;
    color: #666;
    text-decoration: underline;
    margin-top: 2px;
}

#edit-profile-link:hover {
    color: #007C79;
}

/* 회원정보 수정 모달 스타일 */
.profile-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.profile-section:last-child {
    border-bottom: none;
}

.profile-section h4 {
    color: #007C79;
    margin-bottom: 10px;
}

.danger-zone {
    background-color: #ffeeee;
    border: 2px solid #ff9999;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.danger-zone h4 {
    color: #d9534f;
    margin-bottom: 15px;
    font-size: 18px;
}

.danger-zone p {
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-danger {
    background-color: #d9534f;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
}

.btn-danger:hover {
    background-color: #c9302c;
}

/* 비밀번호 확인 폼 스타일 */
#password-confirm-form p {
    color: #333;
    margin-bottom: 15px;
}

/* 위험 구역 스타일 보완 */
.danger-zone p {
    color: #333;
}

/* 회원정보 수정 텍스트 컬러 */
.modal-body p {
    color: #333;
}

/* 버튼 색상 수정 */
.btn-danger {
    background-color: #d9534f;
    color: white;
}
