/* 버전: 202605282340 */
/* 시작: 내보내기 전용 모달 CSS 짧은설명: 2단 컬럼 레이아웃, 너비 확장 및 외부 전송 버튼 크기 조정 스타일 정의 */

/* 시작: 모달 공통 레이아웃 짧은설명: 모달의 둥근 모서리, 배경색 및 최대 높이 설정 */
.newdoc-modal-content {
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: 90vh !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
/* 끝: 모달 공통 레이아웃 */

.section-title-icon {
    color: #2E9E6B;
    margin-right: 10px;
    font-size: 18px;
}

.newdoc-modal-header {
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.newdoc-modal-header h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #333;
    display: flex;
    align-items: center;
}

#export-modal .newdoc-header-icon {
    color: #34A853; 
    margin-right: 10px;
}

.newdoc-modal-body {
    padding: 20px 25px !important;
    flex: 1;
    overflow-y: auto;
}

.newdoc-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* 시작: 모달 가로 너비 확장 짧은설명: 지시사항에 따라 가로 최대 너비를 1000px로 조정함 */
.export-modal-wide {
    max-width: 1000px !important;
    width: 95% !important;
}
/* 끝: 모달 가로 너비 확장 */

/* 시작: 2단 그리드 레이아웃 설정 짧은설명: 모달 내부를 1:1 비율의 좌우 영역으로 분할 */
.export-modal-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.export-modal-left-column {
    display: flex;
    flex-direction: column;
}

.export-modal-right-column {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #f0f0f0;
    padding-left: 40px;
}
/* 끝: 2단 그리드 레이아웃 설정 */

.newdoc-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.newdoc-no-border {
    border-bottom: none;
    margin-bottom: 0;
}

.newdoc-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
}

.newdoc-section p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #444;
    margin-bottom: 12px;
    word-break: keep-all;
}

.export-external-desc-group p {
    margin: 0 0 15px 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    word-break: keep-all;
}

.export-file-save-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}

.export-filename-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    height: 40px;
}

.export-file-btn-group {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.export-btn-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}


.export-filename-input:focus {
    border-color: #2E9E6B;
}

.strava-icon { color: #FC4C02; margin-right: 6px; }
.wahoo-icon { color: #000000; margin-right: 6px; }
.garmin-icon { color: #007CC3; margin-right: 6px; }

/* 시작: 모바일 반응형 대응 짧은설명: 화면 폭이 좁을 경우 1단 컬럼으로 자동 전환 */
@media (max-width: 900px) {
    .export-modal-grid-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .export-modal-right-column {
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }
}
/* 끝: 모바일 반응형 대응 */

/* 시작: 디자인 시스템 버튼 정의 (export-modal 전용) */
#export-modal .btn-02 { background: #2E9E6B; color: #fff; border: none; border-radius: 22px; padding: 10px 28px; font-size: 15px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background 0.2s; font-family: inherit; }
#export-modal .btn-02:hover { background: #24835A; }
#export-modal .btn-03 { background: #fff; border: 1px solid #c0c0c0; color: #555; border-radius: 22px; padding: 10px 28px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit; }
#export-modal .btn-03:hover { background: #EEFAF3; border-color: #2E9E6B; color: #2E9E6B; }
#export-modal .btn-05 { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1px solid #dadce0; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; color: #555; cursor: pointer; transition: all 0.2s ease; font-family: inherit; }
#export-modal .btn-05:hover { background: #EEFAF3; border-color: #2E9E6B; color: #2E9E6B; }
#export-modal .btn-05:disabled { opacity: 0.6; cursor: not-allowed; }
#export-modal .btn-05:disabled:hover { background: #fff; border-color: #dadce0; color: #555; }
/* 끝: 디자인 시스템 버튼 정의 */

/* 끝: 내보내기 전용 모달 CSS */