/* 탭 네비게이션 스타일 */
.scnu-tab-navigation {
    border-bottom: 1px solid #dee2e6;
    padding: 0 0 20px 0;
    margin-bottom: 40px;
}

.scnu-tabs {
    border: none;
    margin-bottom: 0;
}

.scnu-tabs .nav-link {
    border: 1px solid #ddd;
    background: #ffffff;
    color: #6c757d;
    font-weight: 500;
    padding: 12px 24px;
    margin-right: 8px;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.scnu-tabs .nav-link:hover {
    background: #e9ecef;
    color: #495057;
}

.scnu-tabs .nav-link.active {
    background: #1884fc;
    color: white;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
    border: 1px solid #1884fc;
}


.section-head {
  margin-top: 24px;
  margin-bottom: 28px;
  border-left: 4px solid #004098;
  padding-left: 12px
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
  color: var(--brand);
  margin-bottom: 5px;
}

.section-head .desc {
}

/* 파일 다운로드 카드 스타일 */
.file-download-section .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-download-section .card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.file-download-section .file-icon {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-download-section .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.file-download-section .card-text {
    font-size: 13px;
    min-height: 40px;
}

.file-download-section .btn-primary {
    background-color: #1884fc;
    border-color: #1884fc;
    padding: 8px 20px;
    font-size: 14px;
}

.file-download-section .btn-primary:hover {
    background-color: #0066cc;
    border-color: #0066cc;
}

/* 파일 다운로드 카드 가로 배치 스타일 */
.card-body .card-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 지원대상 분야 리스트 스타일 */
.field-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.field-list li {
    position: relative;
    padding-left: 24px;
    padding-bottom: 12px;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}

.field-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #1884fc;
    font-weight: bold;
    font-size: 18px;
}

.field-list li:last-child {
    padding-bottom: 0;
}

/* 지원대상 분야 서브 리스트 스타일 */
.field-sublist {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
    margin-bottom: 0;
}

.field-sublist li {
    position: relative;
    padding-left: 32px;
    padding-bottom: 8px;
    line-height: 1.7;
    color: #666;
    font-size: 14px;
}

.field-sublist li:before {
    content: "◦";
    position: absolute;
    left: 16px;
    color: #6c757d;
    font-weight: normal;
    font-size: 16px;
}

.field-sublist li:last-child {
    padding-bottom: 0;
}

/* 콘텐츠 박스 스타일 */
.content-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border-left: 4px solid #1884fc;
}

.content-box h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.content-box .lead {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* 신청 절차 스타일 */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.process-steps .step {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    position: relative;
}

.process-steps .step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #1884fc;
    z-index: 1;
}

.process-steps .step-number {
    width: 40px;
    height: 40px;
    background: #1884fc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
}

.process-steps .step-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.process-steps .step-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}

/* 문의처 스타일 */
.contact-info {
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: #1884fc;
    width: 20px;
}

/* 공고 리스트 스타일 */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announcement-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #1884fc;
}

.announcement-item.closed {
    background: #f8f9fa;
    opacity: 0.8;
}

.announcement-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 16px;
    white-space: nowrap;
}

.announcement-badge.ongoing {
    background: #e3f2fd;
    color: #1884fc;
}

.announcement-badge.upcoming {
    background: #fff3e0;
    color: #f57c00;
}

.announcement-badge.closed {
    background: #e0e0e0;
    color: #666;
}

.announcement-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.announcement-content p {
    font-size: 13px;
    margin-bottom: 0;
}

/* 테이블 스타일 */
.table-responsive .table {
    margin-bottom: 0;
}

.table-responsive .table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.table-responsive .table td {
    text-align: center;
    vertical-align: middle;
}

/* 사업 개요 리스트 스타일 */
.overview-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.overview-list li {
    padding: 4px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

/* 대학자체연구 테이블 스타일 */
.university-research-table {
    font-size: 14px;
    border-collapse: collapse;
}

.university-research-table th,
.university-research-table td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    padding: 10px 8px;
}

.university-research-table .table-header {
    background: #e3f0fc;
}

.university-research-table .table-header th {
    font-weight: 600;
    color: #333;
    background: #e3f0fc;
}

.university-research-table .category-cell {
    background: #f8f9fa;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 4px;
    width: 40px;
}

.university-research-table .table-total {
    background: #f8f9fa;
}

.university-research-table .table-total td {
    font-weight: 600;
}

.university-research-table td sup {
    font-size: 10px;
    color: #666;
}

/* 신청방법 프로세스 플로우 스타일 */
.process-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.process-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    background: #fff;
    border: 2px solid #1884fc;
    border-radius: 8px;
    min-width: 130px;
}

.process-flow-item .process-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.process-flow-item .process-sub {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.process-arrow {
    font-size: 24px;
    color: #1884fc;
    font-weight: bold;
}

.process-arrow-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.process-arrow-wrapper .process-sub {
    font-size: 12px;
    color: #888;
}

/* 반응형 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps .step:not(:last-child)::after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -18px;
        transform: translateX(50%);
    }
    
    .announcement-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .announcement-badge {
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    /* 대학자체연구 테이블 반응형 */
    .university-research-table {
        font-size: 12px;
    }
    
    .university-research-table th,
    .university-research-table td {
        padding: 6px 4px;
    }
    
    .university-research-table .category-cell {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: normal;
        width: auto;
    }
    
    /* 신청방법 프로세스 플로우 반응형 */
    .process-flow {
        flex-direction: column;
        gap: 8px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .process-flow-item {
        min-width: 100%;
    }
}