/* Apply Detail Page */
.apply-list-container {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    width: 960px;
}

/* Title */
.main-title h1 {
    font: 700 24px/1.5 'SUIT', sans-serif;
    color: #333;
    margin: 20px 0 10px;
    margin-top: 30px;
}

/* Divider */
.split--div-post {
    height: 2px;
    background-color: #2B7CFF;
    
}

/* Form Table */
.board_detail {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;  /* 첫번째 코드에 맞게 추가 */
}

.board_detail th {
    background-color: #E6F1FF;
    border-bottom: 2px solid #88b5ff;
    padding: 12px;
    text-align: center;
    font: 500 16px/1 'SUIT', sans-serif;
    color: #666;
    width: 20%;
    vertical-align: middle;  /* 첫번째 코드에 맞게 추가 */
}

.board_detail td {
    border-bottom: 2px solid #88b5ff;
    padding: 12px;
    text-align: left;
    font: 400 16px/1 'SUIT', sans-serif;
    color: #1E1E1E;

    /* ✅ 추가 부분: 자동 높이 조정 */
    min-height: 80px;   /* 첫번째 코드에 맞게 조정 */
    height: auto;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ✅ div로 바꾼 부분 스타일링 */
.board_detail div {
    width: 100%;
    min-height: 50px;   /* 최소 높이 */
    padding: 8px;
    font: 400 16px/1.5 'SUIT', sans-serif;
    color: #333;
    background-color: transparent;  /* 배경 제거 */
    border: none;  /* input 느낌 제거 */
    box-sizing: border-box;
    white-space: pre-wrap; /* 공백과 줄바꿈 유지 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
}

.mbtn, .dbtn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font: 500 16px/1 'SUIT', sans-serif;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.mbtn {
    background-color: #2B7CFF;
}

.dbtn {
    background-color: #FF4D4D;
}

/* Download Links */
.board_detail a {
    color: #2B7CFF;
    text-decoration: none;
    font: 400 16px/1 'SUIT', sans-serif;
}

.board_detail a:hover {
    text-decoration: underline;
}

/* ✅ 첫번째 코드에 추가된 미리보기 스타일 */
.preview-container {
    max-height: 150px;
    max-width: 100%;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff;
    white-space: normal;
    font-size: 14px;
    line-height: 1.6;
}

/* ✅ 바로가기 버튼 스타일 추가 */
.custom-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: #2B7CFF;
    color: #fff;
    text-decoration: none;
    font: 400 16px/1 'SUIT', sans-serif;
    text-align: center;
    cursor: pointer;
}

.custom-btn:hover {
    background-color: #1A5FC6;
}

/* ✅ 이미지 스타일 추가 */
.board_detail img {
    max-width: 300px;
    border-radius: 8px;
}

/* ✅ 다운로드 아이콘 스타일 */
.board_detail img[alt="파일 다운로드 이미지"] {
    width: 30px;
    height: 30px;
    cursor: pointer;
}
