/* 한국어 텍스트에 대한 폰트 지정 */
:lang(ko) {
    font-family: 'NanumBarunGothic', 'Malgun Gothic', 'Helvetica', 'Arial', sans-serif;
}

/* 일본어 텍스트에 대한 폰트 지정 */
:lang(ja) {
    font-family:  'BIZUDGothic-Regular', 'Meiryo UI', 'Helvetica', 'Arial', sans-serif;      /* 일본어 텍스트에 대한 폰트 지정 'Droid Serif', 'UD Digi Kyokasho NK-R', 'NotoSansJP-Light',　*/
}


/* 헤더 스타일 조정 */
h1 {
    font-size: 30px;       /* 헤더 크기 조정 */
    color: #2c3e50;      /* 차분한 색상 */
    margin-bottom: 18px;   /* 헤더와 본문 사이 간격 */
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}
h2 {
    font-size: 24px;       /* 헤더 크기 조정 */
    color: #3d566e;      /* 차분한 색상 */
    margin-bottom: 15px;   /* 헤더와 본문 사이 간격 */
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}
/* 리스트 스타일 개선 */
ul {
    list-style-type: disc;             /* 리스트 스타일을 둥근 점으로 설정 */
    margin-left: 2px;                  /* 리스트 항목 간격 */
    list-style-position: inside;
    margin-bottom: 10px;               /* 리스트 항목 간 간격 추가 */
}
/* 링크 스타일 */
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: #ff00aa;  /* 더 선명한 핑크색으로 변경 */
    font-weight: bold;
    background-color: transparent;
    text-decoration: underline;  /* 밑줄 추가 */
}
/* frequency 클래스가 있는 요소의 링크에 대한 추가 hover 효과 */
.frequency-orange + ul a:hover,
.frequency-blue + ul a:hover {
    text-decoration: underline red wavy;
}

a.link-highlight {
    color: green;
    font-weight: bold;
}
a.link-highlight:hover {
    text-decoration: underline;
    background-color: yellow;
}
a.link-highlight::after {
    content: " ✔";
    font-weight: bold;
    color: red;
}
/* 아이콘 스타일 */
.icon, .icon-24px, .icon-100px, .lecture_icon {
    display: inline-block;
    vertical-align: middle;
}
.icon {
    width: 64px;
    height: 64px;
}
.icon-24px {
    width: 24px;
    height: 24px;
}
.icon-30px {
    width: 30px;
    height: 30px;
}
.icon-100px {
    width: 100px;
    height: 24px;
}
.lecture_icon {
    width: 48px;
    height: 48px;
}
.book_icon {
    width: 34px;
    height: 48px;
}
.icon-img {
    width: 100%;
    height: auto;
    max-width: 128px;
    max-height: 38px;
}
.icon-img-index {
    max-width: 120px;
    max-height: 120px;
}
.mm_icon-01 {
    max-width: 38px;
    max-height: 38px;
}
/* 중요한 텍스트 강조 background-color: #fffacd;
padding: 2px 4px;
border-radius: 3px;
*/
.highlight {
    background-color: #fdf9e6;      /* 강조할 텍스트 배경을 노란색으로 설정 */
    color: #bd342c;                 /* 텍스트 색상을 빨간색으로 설정 */
    font-weight: bold;
}
.giga-highlight {
    background-color: transparent;    /* 강조할 텍스트 배경을 투명하게 설정 */
    color: #222222;                 /* 텍스트 색상을 검정색으로 설정 */
    font-weight: bold;
    position: relative;               /* 밑줄을 위한 위치 설정 */

    /* 옅은 핑크색 밑줄 추가 */
    border-bottom: 4px solid rgba(255, 182, 193, 0.8);     /* 밑줄의 두께와 색상을 설정 (rgba로 투명도를 조정) */
    padding-bottom: 2.8px;                                   /* 밑줄과 텍스트 간격 */
}

@keyframes blink {
    0%, 100% { background-color: rgb(179, 255, 0); }
    50% { background-color: rgba(255, 72, 0, 0.521); }
}
/* 깜박깜박 강조문 */
.blink-highlight {
    animation: blink 4s infinite;
    padding: 2px 4px;
    border-radius: 4px;
}
/* 테두리 강조문 */
.border-highlight {
    border: 2px solid rgb(34, 196, 13); /* 테두리 색상과 두께 */
    padding: 2px 4px;
    border-radius: 4px; /* 테두리에 둥근 모서리 */
    font-weight: bold;
    color: #222222;                 /* 텍스트 색상을 검정색으로 설정 */
}

/* ==============Overline (텍스트 위에 선 긋기) */
.overline-highlight {
    text-decoration: overline; /* 텍스트 위에 선을 긋기 */
    text-decoration-thickness: 2px; /* 선 두께 */
    text-decoration-color: red; /* 선 색상 */
}

.SR-line {
    text-decoration: line-through; /* 중간에 선 */
    text-decoration-thickness: 8px; /* 선 두께 조정 */
    text-decoration-color: rgba(43, 255, 0, 0.151); /* 선 색상 */
    color: #2e2e2e;                 /* 텍스트 색상을 검정색으로 설정 */
    font-weight: bold;
}


/* ==============이평선 강조문 start */
.underline-dot-highlight {
    background-color: transparent;
    color: #2e2e2e;
    text-decoration: underline;
    text-decoration-color: var(--underline-color);
    text-decoration-thickness: 2.4px;   /* 밑줄의 두께 */
    text-underline-offset: 2.8px;         /* 글자와 밑줄 사이 간격 */
    position: relative;
    font-weight: bold;
}

.underline-dot-highlight::before {
    content: '';
    position: absolute;
    top: -6px; /* 단어 위 위치 조정 */
    left: 10%; 
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--dot-color);
    border-radius: 0; /* 원 - 50% */
}


/* 색상 변수를 활용한 강조 패턴 */
.sma-20 {
    --underline-color: #d4d8dbde;
    --dot-color: #FFB6C1;
}

.sma-75 {
    --underline-color: #d4d8dbde;
    --dot-color: #800080;
}

.sma-200 {
    --underline-color: #d4d8dbde;
    --dot-color: #FF1493;
}

.sma-240 {
    --underline-color: #d4d8dbde;
    --dot-color: #00CED1;
}

.mtf-1h {
    --underline-color: #d4d8dbde;
    --dot-color: #00CED1;
}

.mtf-4h {
    --underline-color: #d4d8dbde;
    --dot-color: #FF8C00;
}

.mtf-1d {
    --underline-color: #d4d8dbde;
    --dot-color: #DC143C;
}

.mtf-1w {
    --underline-color: #d4d8dbde;
    --dot-color: #778899;
}

/* CSS 변수 적용 */
.underline-dot-highlight {
    text-decoration-color: var(--underline-color);
}

.underline-dot-highlight::before {
    background-color: var(--dot-color);
}
/* ==============이평선 강조문 end */

/* ==============마우스 올리면 설명 나오게 start */
/* 기본 툴팁 스타일 */
.tooltip {
    position: relative;      
    display: inline-block;   
    cursor: pointer;         
    z-index: 998;           /* 부모 요소의 z-index 설정 */
    
    text-decoration: underline;
    text-decoration-style: dashed;        
    text-decoration-color: #50e42b;       
    text-decoration-thickness: 1.8px;     
    text-underline-offset: 4.0px;         
}

/* 체크마크 추가 */
.tooltip::after {
    content: "✅";                
    margin-left: 2.4px;           
    font-size: 0.8em;             
    vertical-align: middle;       
    color: #555;                
}

/* 툴팁 텍스트 스타일 */
.tooltip .tooltiptext {
    visibility: hidden;             
    min-width: 300px;              
    width: fit-content;            
    background-color: #555;        
    color: #fff;                   
    text-align: left;              
    border-radius: 6px;            
    padding: 15px;                 
    
    position: absolute;    
    bottom: 125%;                  
    left: 0;                       /* 기본적으로 왼쪽 정렬 */
    
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;                  /* 높은 z-index 설정 */
    
    /* 화면 경계 처리 */
    margin-left: 0;
    max-width: calc(100vw - 40px); /* 뷰포트 고려 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 선택사항: 그림자 효과 */
}

/* 툴팁 내 이미지 스타일 */
.tooltip .tooltiptext img {
    width: 100%;                   
    height: auto;                 
    margin: 10px 0;              
    display: block;              
}

/* 마우스 오버 시 동작 */
.tooltip:hover .tooltiptext {
    visibility: visible;          
    opacity: 1;                   
}

/* 왼쪽에 있는 경우를 위한 스타일 */
.tooltip.left .tooltiptext {
    left: 0;
    right: auto;
    transform: none;
    margin-left: 0;
}

/* 오른쪽에 있는 경우를 위한 스타일 */
.tooltip.right .tooltiptext {
    left: auto;
    right: 0;
    transform: none;
}

/* 중앙에 있는 경우를 위한 스타일 */
.tooltip:not(.left):not(.right) .tooltiptext {
    left: 50%;
    transform: translateX(-50%);
}

/* 반응형 처리 */
@media (max-width: 800px) {
    .tooltip .tooltiptext {
        left: 0;
        right: auto;
        transform: none;
        max-width: calc(100vw - 40px);
        margin-left: 0;
    }
}

/* 컨테이너 스타일 보완 */
.container, 
.content-area, 
main {
    overflow: visible !important;
    position: relative;
}
/* ==============마우스 올리면 설명 나오게 end */

/* 국기 이미지 맞추기용 */
.align-middle {
    /* vertical-align: middle;  */
    /* line-height: 0.8; 텍스트와 이미지의 높이를 맞추기 위해 조정 */
    line-height: 1.5;
    display: inline-block;
}

.important {
    color: #d32f2f;
    font-weight: bold;
}
.concept {
    font-style: italic;
    color: blue;
    font-weight: bold;
}
.concept-zone {
    color: green;
    font-weight: bold;
     /* background-color: #FAFAD2; 라이트 골덴로드 옐로우 */
    padding: 2px 4px;  /* 상하 2px, 좌우 4px의 패딩 */
}

.important-black {
    color: #1f1d1d;
    font-weight: bold;
}

 .honbun-highlight {
    background-color: #F1F8E0;
    padding: 5px;
    border-radius: 3px;
}
.blue-bold {
    color: blue;
    font-weight: bold;
}
.strikethrough {
    text-decoration: line-through;
}
/* 컨테이너 및 메뉴 스타일 */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 4px 0;
}
#STATICMENU {
    margin: 0;
    padding: 0;
    position: absolute;
    right: 4px;
    top: 2px;
    width: 300px;
}
/* 구분선 스타일 */
.divider, .divider-dotted {
    height: 3px;
    margin: 15px 10px;
}
.divider {
    background: linear-gradient(to right, #f0f0f0, #3498db, #f0f0f0);
    border-radius: 2px;
}
.divider-dotted {
    border: none;
    border-top: 3px dotted #CCCCCC;
}
.divider-dotted-black {
    position: relative;
    margin-top: 10px;       /* 위의 요소와의 간격 */
    margin-bottom: 10px;    /* 아래의 요소와의 간격 */
}

.divider-dotted-black::before,
.divider-dotted-black::after {
    content: "";
    display: block;
    border-top: 2px dotted #7a7979;   /* 위 줄을 점선으로 */
    margin: 3px 0;                      /* 두 줄 간격을 조절 */
}

.divider-dotted-black::after {
    border-top-style: solid;            /* 아래 줄을 실선으로 */
}

.divider-icon {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}
.divider-icon::before, .divider-icon::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}
.divider-icon::before {
    margin-right: .25em;
}
.divider-icon::after {
    margin-left: .25em;
}
/* 차트 스타일 */
.ep-charts-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
}
.ep-chart-item {
    flex: 0 0 300px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.ep-chart-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}
.ep-chart-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}
.ep-chart-item ul {
    padding-left: 20px;
    font-size: 0.9em;
}
.ep-chart-item li {
    margin-bottom: 5px;
}
/* 이미지 호버 효과 */
img[onclick] {
    transition: transform 0.3s ease;
    cursor: pointer;
}
img[onclick]:hover {
    transform: scale(1.05);
}
/* 이미지 컨테이너 */
.image-container {
    position: relative;
    display: inline-block;
}
.image-toggle {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.image-container:hover .image-toggle {
    opacity: 1;
}
/* 드롭다운 메뉴 스타일 */
.dropdown {
    margin-top: 20px;
}
.dropdown-toggle {
    padding: 8px 0px;       /* 위아래 8px, 좌우 0px 간격 */
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    font-weight: bold;
    color: green;         /* 글자색 변경 #186ab8 */
}
.dropdown-content {
    display: none;
    padding-left: 10px;
}
.dropdown-content.show {
    display: block;
}
.menu-toggle::after {
    content: ' ▼';
    font-size: 0.8em;
}
.menu-toggle.active::after {
    content: ' ▲';
    font-size: 0.8em;
}
/* 반응형 디자인 */
@media (max-width: 768px) {
    .ep-charts-container {
        flex-direction: column;
   }
    .ep-chart-item {
        flex: none;
        width: 100%;
   }
}
/* 구분선 */
hr {
    background-color: #fff;
    padding: 0;
    margin: 80px;
}
hr.hr-1 {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
hr.hr-dot {
    border: 0;
    border-bottom: 2px dashed #eee;
    background: #999;
    width: 50%;
    margin-left: 0;
}
hr.hr-double {
    border: 0;
    border-top: 3px double #8c8c8c;
    width: 50%;
    margin-left: 0;
}
hr.hr-solid {
    border: 0;
    border-top: 1px solid #8c8c8c;
    border-bottom: 1px solid #fff;
    width: 50%;
    margin-left: 0;
}
hr.hr-solid:after {
    content: '';
    display: block;
    margin-top: 2px;
    border-top: 1px solid #8c8c8c;
    border-bottom: 1px solid #fff;
}
/* 기본적으로 리스트 항목의 마진과 패딩을 제거하여 불필요한 개행 방지 */
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
/* 리스트 항목 간 간격 추가 */
li {
    margin-bottom: 8px;
}
/* 아이콘 크기 및 정렬 */
.icon-24px {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
/* 링크와 아이콘을 flex로 정렬 */
.taritali-link {
    display: flex;
    align-items: center;
}
/* 로고의 위치 및 간격 */
.taritali-logo {
    vertical-align: middle;
    margin-right: 5px;
}
/* 버튼의 정렬 */
.button {
    display: inline-flex;
    align-items: center;
}
/* 텍스트와 이미지 간 간격 및 중앙 정렬 */
.dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}
/* 링크에 마우스 오버 시 스타일 변경 */
.dropdown-content a:hover {
    color: #007bff;
}
/* 아이콘과 텍스트 간 간격 */
.dropdown-content img {
    margin-right: 5px;
}
/* 차트 스타일 */
.ep-chart {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.ep-chart-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.ep-chart-body {
    font-size: 14px;
}
/* Card style */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);      /* 기본적으로 두 개의 컬럼 */
    gap: 20px;
}
/* 화면 크기가 768px 이하일 경우 한 개의 컬럼 */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.card-left {
    background-color: #f0f0f0;
    width: 15%; /* 원래 10% -> 15%로 조정 */
    font-weight: bold;
}
.card-center {
    width: 30%; /* 원래 40% -> 30%로 조정 */
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
}
.card-right-1, .card-right-2 {
    width: 27.5%;       /* 각각 25% -> 27.5%로 조정 */
    display: flex;
    flex-direction: column;
}
.card-left, .card-center, .card-right-1, .card-right-2 {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-right-row {
    padding: 5px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.card-right-row:last-child {
    border-bottom: none;
}
.star-rating {
    color: red;
}
.star-empty {
    color: #ccc;
}

/* word 카드 스타일 */
.word-card {
    width: calc(50% - 40px);
    margin: 10px;
    padding: 20px;
    background-color: #f7f7f7;      /* # 이게  fafdee회색인가 */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card-content {
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cards-row {
        flex-direction: column;
    }
    .word-card {
        margin-bottom: 20px;
    }
}
/* 용어 설명 파트 */
.section-header {
    font-size: 1.5em;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #11ce4a;
}
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 20px;
}
.cards-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}




/* 시그널 카드 스타일 */
.signal-card {
    max-width: 600px;
    margin: 20px;
    padding: 20px;
    background-color: #f8f8f8;      /* # 이게 f0ffff 회색인가 */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card-header {
    text-align: left;
    margin-bottom: 20px;
}
.card-header h2 {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.card-header h3 {
    font-size: 1.8em;
    color: #555;
    margin-top: 0;
    font-weight: bold;
}
.card-header h7 {
    font-size: 1.1em;
    color: #444;
    margin-top: 0;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2.2px solid #11ce4a;  /* 밝은 녹색 */
}
.card-title {
    background-color: #333;
    color: white;              /* 기본 텍스트 색상 */
    padding: 5px 10px;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 3px;
    font-weight: bold;
}
.card-title a {
    color: white;             /* 링크 색상을 하얀색으로 설정 */
    text-decoration: none;
   /* 링크 밑줄 제거 */
}
.card-title a:hover {
    color: #a1f309;           /* 마우스를 올렸을 때 형광색으로 */
    text-decoration: none;      /* 링크 밑줄 제거 */
}
.card-main-title {
    font-size: 1.8em;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
}
.rating-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.star-rating {
    color: #bd342c;
}

.signal-description {
    max-width: 980px;
    margin: 16px;
}
.strategy-image img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}
.note {
    background-color: #f5f5f5;
    padding: 15px;
    border-left: 6px solid #3498db;
    margin-top: 20px;
}
.note-pink {
    background-color: #f5f5f5;
    padding: 15px;
    border-left: 6px solid #e662d0;
    margin-top: 20px;
}
.note-green {
    background-color: #f5f5f5;      /* width: 680px; 폭을 680px로 고정 */
    padding: 15px;
    border-left: 6px solid rgb(84, 197, 8);
    margin-top: 20px;
}

/* 새로운 스타일 추가 */
.pageComplete-highlight {
    display: inline-block;
    background-color: #FBEFF5;      /* 살짝 핑크 배경색 */
    padding: 3px 6px;                 /* 내부 여백 */
    margin: 2px 0;                    /* 위아래 외부 여백 */
    border-radius: 3px;               /* 모서리 둥글게 */
}
/* 호버 효과 (선택 사항) */
.pageComplete-highlight:hover {
    background-color: #F7F8E0;      /* 호버 시 밝은 노란색 #ffffaa91*/
}
.chapter-list {
    max-width: 800px;
    margin: 0;
}
.chapter {
    margin-bottom: 20px;
}
.chapter-title {
    cursor: pointer;
    background-color: #f0f0f0;
    padding: 10px;
    font-weight: bold;
}
.chapter-content {
    display: none;
    padding-left: 20px;
}
.chapter-content a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
}
.chapter-content a:hover {
    text-decoration: underline red wavy;
}
.lecture-text {
    vertical-align: middle;
}
.accordion {
    font-family: Arial, sans-serif;
    width: 100%;
}
.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 5px;
}
.accordion-header {
    background-color: #f2f2f2;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}
.accordion-content {
    padding: 10px;
    display: none;
}
.sub-item {
    margin-left: 20px;
}
.frequency {
    float: right;
    background-color: #ffcccc;
    padding: 2px 5px;
    border-radius: 3px;
}
.frequency-blue {
    float: right;
    background-color: #cce4ffd8;
    padding: 2px 5px;
    border-radius: 3px;
}
.frequency-orange {
    float: right;
    background-color: #f66c2b;
    padding: 2px 5px;
    border-radius: 3px;
    color: white;                 /* 글자를 흰색으로 설정 */
}

.icon-text-wrapper {
    display: flex;
    align-items: flex-start;        /* 수직 정렬을 상단으로 */
    justify-content: flex-start;    /* 수평 정렬을 왼쪽으로 */
    text-align: left;               /* 텍스트를 왼쪽 정렬 */
}

.tk_img-icon {
    margin-right: 10px;             /* 이미지와 텍스트 사이의 간격 조절 */
    max-height: 48px;
}
.book_img-icon {
    margin-right: 10px;             /* 이미지와 텍스트 사이의 간격 조절 */
    max-height: 100px;
}

/* DayTrader用 CSS */
DT-h1, DT-h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}
details {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}
summary {
    font-weight: bold;
    cursor: pointer;
}
summary:hover {
    color: #0073e6;
}
.DT-Point {
    background-color: #f1f8ff;
    border-left: 5px solid #3498db;
    padding: 15px;
    margin-top: 20px;
}
.DT-Point h2 {
    margin-top: 0;
    color: #2980b9;
}

/* 상단에 유튜브 비디오를 고정 */
.video-container {
    width: 100%;
    max-width: 960px;   /* 비디오의 최대 너비 800px - 960px로 변경 */
    height: 540px;      /* 16:9 비율을 유지하기 위한 고정 높이 450px*/
    margin: 0;          /* 비디오를 가운데 정렬 */
    position: relative;
    padding: 12px;
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;       /* 테두리 제거 */
}
/* 하단 텍스트 영역 */
.text-container {
    max-width: 920px;
    margin: 20px;       /* 텍스트 영역도 가운데 정렬 */
    height: 220px;      /* 고정된 높이 */
    overflow-y: scroll; /* 텍스트 영역 스크롤 */
    padding: 12px;
    background-color: #f5f5f5;
}

/* Youtube 박스 */
.youtube-box {
    border: 2px solid #3498db; /* 테두리 색상 */
    border-radius: 8px; /* 모서리 둥글게 */
    background-color: #f9f9f9; /* 박스 배경색 */
    padding: 15px; /* 내부 여백 */
    margin: 20px 0; /* 위아래 간격 */
    display: flex;
    align-items: center;
    gap: 10px; /* 아이콘과 텍스트 간격 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 박스 그림자 */
}

.youtube-box img {
    width: 32px;
    height: 32px;
}

.youtube-box a {
    text-decoration: none; /* 링크 밑줄 제거 */
    color: #3498db; /* 링크 색상 */
    font-weight: bold; /* 텍스트 굵게 */
    font-size: 16px; /* 텍스트 크기 */
}

.youtube-box a:hover {
    color: #1d6fa5; /* 마우스 오버 시 색상 */
    text-decoration: underline; /* 마우스 오버 시 밑줄 */
}

/* 팝업 스타일 */
.popup {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 150px;
}

/* 링크 리스트 스타일 */
.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 10px;
    position: relative;
}
/* 상세 내용 영역 스타일 */
#detail-section {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

#detail-section img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

/* 플러스 파트 레이아웃
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
} 

Day Trader 수정 250121 
.content p {
    line-height: 1.6;
    margin-bottom: 1em;
    text-align: justify;
}*/

/* content 클래스의 flex 속성 수정 */
.content {
    display: block;  /* flex에서 block으로 변경 */
    margin-bottom: 20px;
}

/* 텍스트 단락에 대한 스타일 추가 */
.content p {
    line-height: 1.6;
    margin-bottom: 1em;
    text-align: justify;
}

/* flex가 필요한 컨테이너를 위한 새로운 클래스 */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.section {
    flex: 1 1 45%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.section h2 {
    margin-top: 0;
}
.section ul {
    padding-left: 20px;
}
.section ul li {
    margin-bottom: 10px;
}

/* 그림 슬라이더용 스타일 start */
.slider {
    position: relative;
    width: 500px;
    height: auto;
    overflow: hidden;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    transform-style: preserve-3d;
}
.slider-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🚀　슬라이더에서는 꽉 차게 표시되고, 클릭하면 전체 이미지가 보이도록 처리 */
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 화면에 꽉 차게 표시 (일부 잘릴 수 있음) */
    cursor: pointer;
}

.controls {
    display: flex;
    justify-content: space-between;
    width: 500px;
    margin-top: 10px;
}
.controls button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}
.controls button:disabled {
    background-color: #aaa;
}
/* 그림 슬라이더용 스타일 end */



/* 기존의 일반 스타일 */
/* 가독성을 위한 전반적인 텍스트 스타일링 */
body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 18px;        /* 기본 폰트 크기 */
    line-height: 1.8;       /* 가독성 향상을 위한 줄 간격 */  
    color: #303030;      /* 차분한 색상 */
}

/* ========= 프롬프트 모음 관련 스타일 */
.prompt-container {
    font-family: 'Noto Sans KR', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    height: 100vh;
}

/* Prompt Search 부분 고정 */
.fixed-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    z-index: 1000;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}


/* 🔹 제목과 링크를 가로 정렬 */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 제목과 링크를 양쪽 끝으로 정렬 */
    margin-bottom: 10px;
    padding-bottom: 8px;
}

/* 🔹 제목 스타일 */
.header-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

/* 🔹 링크 스타일 */
.header-links a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    margin-left: 15px;
    transition: color 0.3s ease-in-out;
}

.header-links a:hover {
    color: #0056b3; /* 마우스 오버 시 색상 변경 */
}

.category-section {
    padding-top: 160px;
}

.prompt-section {
    margin-bottom: 10px;
}

/* 🔹 ❓❓❓❓❓❓❓❓❓❓❓❓❓❓❓❓❓❓프롬프트 목록 스타일 */
.prompt-header {
    background-color: #f0f0f0;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 🔹 프롬프트 목록 스타일 */
.prompt-item {
    display: flex;
    justify-content: space-between; /* 제목과 AI 모델 추천을 양쪽 정렬 */
    padding: 12px;
    background-color: #f3f3f3;
    border-radius: 5px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer; /* 클릭 가능하도록 설정 */
}

/* 🔹 AI 모델 추천 정보 */
.ai-model {
    margin-left: auto; /* 오른쪽 정렬 */
    text-align: right; /* 텍스트를 오른쪽으로 정렬 */
    font-size: 0.9em;
    color: gray;
}

/* 🔹 상세 내용 기본 숨김 */
.prompt-content {
    display: none;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}


.prompt-content {
    display: none;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
}

.prompt-content.active {
    display: block;
}

.markdown-section {
    font-family: monospace;
    white-space: pre-wrap;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.copy-button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 기본적으로 #search-results를 숨기고, 검색 결과가 있으면 표시되도록 설정 */
#search-results {
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-size: 14px;
    display: none;  /* 기본적으로 숨김 */
}
#search-results.has-results {
    display: block;  /* 검색 결과가 있을 때 표시 */
}

.search-keyword {
    background-color: yellow;
    font-weight: bold;
    color: blue;
    padding: 2px 4px;
    border-radius: 3px;
}


/* 🔹 상단 메뉴 스타일 (배경색을 화이트로 변경) */
.top-menu-container {
    width: 100%;
    background-color: #FFFFFF; /* 배경색을 화이트로 변경 */
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd; /* 경계선 추가 */
}

/* 상단 메뉴 스타일 */
.top-menu {
    display: flex;
    gap: 15px;
}

.top-menu a {
    color: #2c3e50; /* 기존 어두운 네이비에서 검정 계열로 변경 */
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.top-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 🔹 페이지 제목 (왼쪽 정렬) */
.page-title {
    text-align: left;
    margin-top: 80px; /* 메뉴 아래 여백 */
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-left: 20px; /* 왼쪽 여백 추가 */
}

/* 🔹 검색창이 메뉴와 겹치지 않도록 조정 */
/* 🔹 검색창 위치 (왼쪽 정렬) */
.search-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 왼쪽 정렬 */
    margin-left: 20px; /* 왼쪽 여백 추가 */

    width: 50%;  /* 💡 폭을 50%로 제한 */
    max-width: 600px; /* 💡 최대 너비 제한 */
    min-width: 300px; /* 💡 최소 너비 지정 */

    margin-bottom: 5px;  /* 기존 값보다 줄이기 */
    padding-bottom: 0px; /* 불필요한 패딩 제거 */
}


/* 🔍 검색 입력창 글자 크기 조정 ======*/
.search-box {
    width: 50%;
    max-width: 380px;
    height: 32px;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* 🔹 검색 결과 개수 & 메시지 표시 영역 스타일 */
.result-summary {
    font-family: 'NanumBarunGothic', 'Malgun Gothic', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-size: 18px;  /* 좀 더 크고 선명하게 */

    margin-top: 8px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    text-align: left;
    display: block;
    visibility: visible;
}

/* 🔹 검색 결과 섹션도 왼쪽 정렬 */
.category-section {
    margin-top: 10px;  /* 검색 결과와의 간격 좁힘 */
    padding-top: 10px;
    margin-left: 20px;
    
    width: 70%; /* 💡 검색 결과도 동일한 폭으로 설정 */
    max-width: 900px;
    min-width: 240px;
}


/* 📑 검색 결과의 글자 크기 조정 */
.result-item {
    font-size: 18px; /* ✅ 검색된 파일 목록 글자 크기 증가 */
    line-height: 1.6; /* 줄 간격 증가 */
}

/* 📂 검색 결과의 경로 표시 글자 크기 조정 */
.result-path {
    font-size: 16px; /* ✅ 파일 경로 크기 증가 */
    color: #666; /* 경로 색상을 좀 더 흐리게 */
}

/* 🔗 파일 열기 버튼의 크기 및 스타일 조정 */
.result-item a {
    font-size: 16px; /* ✅ "파일 열기" 버튼 크기 증가 */
    font-weight: bold; /* 글자 강조 */
}

/* 검색 결과가 없을 때 메시지 스타일 */
/* 🔹 "검색 결과가 없습니다." 메시지 검색 결과 없음 메시지 스타일*/
.no-results {
    padding: 0px;
    margin-top: 5px;
    background-color: #ffeded;
    color: #d9534f;
    font-weight: bold;
    border-radius: 4px;
    text-align: center;
    display: none;  /* 기본적으로 숨김 */
}
