/* 기본 스타일 및 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0d0d12; /* Darker background */
    color: #e0e0e0; /* Light text color for contrast */
    font-family: 'Pretendard', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 전체 레이아웃 */
.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background-color: #0d0d12;
}

/* 메인 컨텐츠 영역 */
.main-content {
    padding-top: 80px;
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
}

/* 네비게이션 */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0px 30px 0px 30px;
    z-index: 100;
    box-sizing: border-box;
    width: 100%;
}

.nav-search {
    display: flex;
    align-items: center;
}

.search-input-container {
    position: relative;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
}

.search-input {
    width: 100%;
    height: 36px;
    padding: 0 40px 0 16px;
    border: 1px solid #717171;
    border-radius: 6px;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.search-input:focus {
    background-color: #2c2c2c;
    border-color: #ffffff;
}

.search-icon-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
    pointer-events: none;
}

.nav-item {
    font-size: 48px;
    font-weight: 500;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #7b7b7b;
    -webkit-text-stroke: 1px #181818;
    text-stroke: 1px #181818;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #e0e0e0;
    -webkit-text-stroke: 1px #e0e0e0;
    text-stroke: 1px #e0e0e0;
}

.nav-item.active {
    color: #ffffff;
    -webkit-text-stroke: 1px #e0e0e0;
    text-stroke: 1px #e0e0e0;
}

/* 카드 그리드 */
.card-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-bottom: 100px;
}

.card-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
}

.card-image-container {
    position: relative;
    height: 142px;
    background: #D9D9D9;
    border-radius: 6px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-badge {
    padding: 3px 10px;
    border-radius: 4px;
    color: white;
    font-size: 16px;
}

.card-content {
    padding: 15px;
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #DFF9EE;
    border-radius: 4px;
    color: #3EAF6B;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-title {
    color: #e0e0e0;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.card-date {
    color: #e0e0e0;
    font-size: 14px;
    margin: 0;
}

.ctr-badge {
    padding: 3px 10px;
    border-radius: 7px;
    color: white;
    font-size: 22px;
    font-weight: 900;
    text-align: right;
}

.ctr-100 {
    background-color: #000000;
}

.ctr-50 {
    background-color: #FFC281;
}

.ctr-10 {
    background-color: #F6EADD;
}

.platform-tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    width: fit-content;
}

.naver {
    background-color: #DFF9EE;
    color: #3EAF6B;
}

.kakao {
    background-color: #FFF389;
    color: #181818;
}

.footer {
    text-align: center;
    border-top: 1px solid #000;
    margin-top: 50px;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #e0e0e0;
    z-index: 100;
}

/* 반응형 스타일 */
/* 1600px 이하 화면 */
@media (max-width: 1600px) {
    .logo img {
        height: 80px;
        max-width: 290px;
        justify-content: center;
    }
    
    .nav-item {
        font-size: 48px;
        font-weight: 500;
        padding-top: 20px;
        padding-bottom: 20px;
        color: #7b7b7b;
        -webkit-text-stroke: 1px #181818;
        text-stroke: 1px #181818;
    }
}

/* 1500px 이하 화면 */
@media (max-width: 1500px) {
    .nav-item {
        font-size: 44px;
    }
}

/* 1400px 이하 화면 */
@media (max-width: 1400px) {
    .nav-item {
        font-size: 40px;
    }
}

/* 1300px 이하 화면 */
@media (max-width: 1300px) {
    .nav-item {
        font-size: 38px;
        font-weight: 700;
        color: #e0e0e0;
    }
    .search-input-container {
        width: 300px;
    }
}

/* 1220px 이하 화면 */
@media (max-width: 1220px) {
    .nav-item {
        font-size: 28px;
    }
}

/* 1200px 이하 화면 - 모바일 레이아웃 */
@media screen and (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
    
    .hamburger-menu {
        display: block;
    }

    .logo {
        margin-left: 15px;
    }

    .logo img {
        height: 30px;
    }

    .card-view {
        padding-top: 50px;
    }

    .footer {
        width: 100%;
    }

    .content-container {
        padding-top: 100px;
    }

    /* 로고 이미지 변경 */
    .header-mo-logo-image {
        content: url('./svg/ytoneintelligence_w.svg');
    }
}

/* 768px 이하 모바일 화면 */
@media screen and (max-width: 768px) {

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
    }

    .nav-links a {
        font-size: 14px;
    }

    .mobile-menu {
        gap: 20px;
        padding-top: 5px;
    }

    .nav-item {
        font-size: 24px;
    }

    .view-filter {
        bottom: 60px;
        right: 20px;
    }
    .card-view {
        padding: 0px;
    }
    .main-content {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .view-filter {
        display: none;
    }
    .insights-container {
        padding-bottom: 200px;
        padding-left: 10px;
        padding-right: 10px;
        gap: 10px;
    }
    
    .topview{
        position: fixed;
        display: block;
        bottom: 100px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
        border: 1px solid #000;
        padding: 6px 6px 4px 6px;
        background-color: #fff;
        border-radius: 4px;
    }

    .topview img {
        width: 16px; /* 아이콘 크기 조정 */
        height: 16px;
    }

    .bottomview {
        position: fixed;
        display: block;
        bottom: 60px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
        border: 1px solid #000;
        padding: 6px 6px 4px 6px;
        background-color: #fff;
        border-radius: 4px;
    }

    .bottomview img {
        width: 16px; /* 아이콘 크기 조정 */
        height: 16px;
    }

    .content-container {
        padding-top: 20px;
    }
}

/* 480px 이하 모바일 화면 */
@media screen and (max-width: 480px) {
    .popup-content {
        width: 95%;
    }
    
    .popup-header {
        padding: 20px 20px 12px;
    }
    
    .popup-header h2 {
        font-size: 20px;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-footer {
        flex-direction: column;
    }
    
    .confirm-button, .detail-button {
        width: 100%;
        text-align: center;
    }
}

.hover-text {
    position: relative;
    display: inline-block;
}

.hover-text::before {
    content: attr(data-default);
}

.hover-text:hover::before {
    content: attr(data-hover);
}

.sliding-container {
    width: 100%;
    overflow: hidden;
    background: white;
    height: 40px;
    display: flex;
    align-items: center;
}

.sliding-text {
    display: flex;
    align-items: center;
    animation: slide 60s linear infinite;
    white-space: nowrap;
    padding: 0 10px;
}

.sliding-text .tag {
    padding: 2px 6px;
    background: black;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
    margin-left: 150px;
}

.sliding-text .message {
    color: black;
    font-size: 16px;
    font-weight: 400;
    margin-right: 150px;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* 호버 시 애니메이션 일시 정지 */
.sliding-container:hover .sliding-text {
    animation-play-state: paused;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-icon {
    width: 24px;
    height: 24px;
}

.result-item {
    padding: 15px 0;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.result-item:hover {
    color: #333;
}

/* 팝업이 열릴 때 배경을 어둡게 처리 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* 기존 스타일은 유지하고 아래 스타일 추가 */

.result-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.result-image {
    width: 100%;
    height: 200px;
    background: #eee;
}

.result-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #E8F3FF;
    color: #0066FF;
    font-size: 14px;
    border-radius: 4px;
    margin: 16px;
}

.result-title {
    margin: 0 16px 12px;
    font-size: 16px;
    line-height: 1.4;
}

.result-date {
    margin: 0 16px 16px;
    color: #999;
    font-size: 14px;
}

.result-ctr {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    background: #FF6B00;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

/* 로그인/회원가입 스타일 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: #FFB784;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-button:hover {
    background: #FF9B57;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-link a {
    color: #FFB784;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.nav-item.active {
    font-weight: bold;
}

.card-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none; /* 초기에는 숨김 상태 */
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
}

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.popup-image img {
    max-width: 100%;
    height: auto;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.detail-btn {
    padding: 12px 24px;
    background-color: #F7931E;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.confirm-btn {
    padding: 12px 24px;
    background-color: #1E1E1E;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.popup-info {
    padding: 20px;
}

.popup-info .tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.popup-info .tags span {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.popup-info .title {
    font-size: 24px;
    margin-bottom: 12px;
}

.popup-info .metadata {
    display: flex;
    gap: 16px;
    color: #666;
    margin-bottom: 20px;
}

.popup-info .summary h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.insight-summary {
    font-size: 14px;
    padding-top: 10px;
    color: #bbbbbb;
    line-height: 1.6;
    word-break: keep-all;
}

.popup-info .summary-text {
    line-height: 1.6;
    color: #ffffff;
}


/* 카드 컨테이너 스타일 */
.insights-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 30px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 1200px) {
    .insights-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .insights-container {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }
}

/* 카드 스타일 */
.insight-card {
    backdrop-filter: blur(20px);
    background: #1d1d1d;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0 !important;
}

.insight-card:hover {
    transform: translateY(-4px);
    background: #2d2d2d;
    border-color: #444;
}

.insight-card:hover .insight-title {
    color: #ffffff;
}

/* 뱃지 컨테이너 */
.badge-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

/* 뱃지 스타일 */
.badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.badge-important {
    background-color: rgba(255, 75, 75, 0.2);
    color: #ff4b4b;
}

.badge-new {
    background-color: rgba(0, 102, 255, 0.2);
    color: #0066ff;
}

/* 카드 제목 */
.insight-title {
    margin-top: 16px;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 8px;
    word-break: keep-all;
    color: #e0e0e0;
}

/* 카드 날짜 */
.insight-date {
    font-size: 14px;
    color: #8B8B8B;
}

/* 플랫폼 태그 */
.platform-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
}

.platform-naver {
    color: #00ff9d;
}

.platform-google {
    color: #ff9752;
}

.platform-meta {
    color: #33aaff;
}

/* 로딩 및 에러 메시지 스타일 */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 16px;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #ff4444;
    font-size: 16px;
}

.error-message button {
    margin-top: 10px;
    margin-left: 10px;
    padding: 4px 10px;
    background-color: #3d3d3d;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.error-message button:hover {
    background-color: #a7a7a7;
}

/* 팝업 스타일 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.popup-overlay.fade-out {
    animation: fadeOut 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.popup-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

.popup-header {
    padding: 24px 24px 16px;
}

.popup-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #191F28;
    margin: 0;
    padding-right: 40px;
    line-height: 1.4;
}

.close-button {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: #333;
}

.popup-body {
    padding: 24px;
}

.popup-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.popup-date {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.popup-summary {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-text {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
}

.popup-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-button, .detail-button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-button {
    background: #F8F9FA;
    color: #333;
    border: 1px solid #E5E8EB;
}

.confirm-button:hover {
    background: #E5E8EB;
}

.detail-button {
    background: #F76707;
    color: white;
    border: none;
    text-decoration: none;
}

.detail-button:hover {
    background: #E8590C;
}

/* 텍스트 선택 스타일 */
::selection {
    background-color: #000000;
    color: #fff;
}

::-moz-selection {  /* Firefox 브라우저 지원 */
    background-color: #000000;
    color: #fff;
}

.popup-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.popup-date {
    margin: 0;
    color: #666;
}

.platform-badge {
    margin: 0;
}

.view-filter {
    position: fixed;
    bottom: 80px;  /* 하단에서의 거리 */
    right: 40px;   /* 우측에서의 거리 */
    display: flex;
    gap: 8px;
    z-index: 1000;  /* 다른 요소들 위에 표시 */
    background-color: #fff;  /* 배경색 추가 */
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);  /* 그림자 효과 */
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 6px;  /* 버튼 모서리 둥글게 */
}

.filter-btn:hover {
    background-color: #f5f5f5;  /* 호버 시 배경색 */
}

.filter-icon {
    width: 24px;
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.filter-btn.active {
    background-color: #007bff; /* 파란색 배경 */
    color: white; /* 텍스트 색상 */
}

/* 카드 뷰 스타일 */
.card-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    padding-top: 60px;
    padding-bottom: 200px;
}

/* 리스트 뷰 스타일 */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    padding-top: 150px;
    padding-bottom: 200px;
}

.list-view .insight-card {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: #1d1d1d;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.2s ease;
    gap: 24px;
}

.list-view .insight-card:hover {
    background: #2d2d2d;
    border-color: #444;
    transform: translateY(-1px);
}

.list-view .badge-container {
    display: flex;
    gap: 8px;
    margin: 0;
    min-width: 80px;
}

.list-view .badge {
    font-size: 12px;
    padding: 4px 8px;
    white-space: nowrap;
}

.list-view .platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 4px 4px;
    min-width: 80px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0;
    white-space: nowrap;
}

.list-view .insight-content {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 24px;
}

.list-view .insight-title {
    flex: 1;
    margin: 0;
    font-size: 15px;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0;
}

.list-view .insight-date {
    font-size: 14px;
    color: #8B8B8B;
    white-space: nowrap;
    min-width: 85px;
    text-align: left;
    margin: 0;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
    .list-view {
        padding: 10px;
        padding-top: 100px;
        padding-bottom: 150px;
    }

    .list-view .insight-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }
    
    .list-view .badge-container {
        min-width: auto;
        margin-bottom: 8px;
    }
    
    .list-view .platform-badge {
        min-width: 60px;
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .list-view .insight-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .list-view .insight-title {
        width: 100%;
        padding-right: 0;
        margin-bottom: 4px;
    }
    
    .list-view .insight-date {
        text-align: left;
        min-width: auto;
    }
}

/* 카드 뷰일 때는 기존 스타일 유지 */
.card-view .insight-card {
    display: block;
    padding: 20px;
    border-radius: 8px;
}

.inquiry-container {
    padding: 40px 0 100px 0px;
    margin-top: 60px;
    max-width: 720px;  /* 폭 좀 더 좁게 조정 */
    margin-left: auto;
    margin-right: auto;
}

.inquiry-form {
    background: #fff;
    padding: 0;  /* 패딩 제거 */
    border-radius: 0;  /* 라운드 제거 */
    box-shadow: none;  /* 그림자 제거 */
}

.form-header {
    margin-bottom: 48px;
}

.form-header h2 {
    font-size: 28px;
    color: #191F28;
    margin: 0 0 12px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.form-header p {
    color: #8B95A1;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

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

.form-group label {
    font-color: #ffffff;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #191F28;
    letter-spacing: -0.3px;
}

.required {
    color: #F76707;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #E5E8EB;
    border-radius: 12px;
    font-size: 16px;
    color: #191F28;
    background-color: #fff;
    transition: all 0.2s;
    letter-spacing: -0.3px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #AEB4BC;
}

.form-group textarea {
    height: 240px;
    resize: none;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #F76707;
    box-shadow: 0 0 0 3px rgba(247, 103, 7, 0.12);
    outline: none;
}

.file-upload {
    border: 1px solid #E5E8EB;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
    background-color: #F8F9FA;
    cursor: pointer;
}

.file-upload:hover {
    background-color: #F1F3F5;
    border-color: #E5E8EB;
}

.file-info {
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #8B95A1;
}

.submit-btn {
    background-color: #F76707;
    color: #fff;
    border: none;
    padding: 18px 28px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    letter-spacing: -0.5px;
    margin-top: 16px;
}

.submit-btn:hover {
    background-color: #E8590C;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(1px);
}

.topview, .bottomview {
    display: none;
}

/* 셀렉트 박스 커스텀 스타일 */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%238B95A1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* 파일 업로드 영역 */
.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload::before {
    content: '파일 선택하기';
    color: #F76707;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

/* 콘텐츠 상세 페이지 스타일 */
.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 100px;
}

.content-header {
    margin-bottom: 30px;
}

.content-title {
    font-size: 28px;
    margin: 15px 0;
}

.content-date {
    color: #666;
    margin-bottom: 20px;
}

.content-body {
    margin-bottom: 40px;
    background: #1d1d1d;
}

.content-summary, .content-details {
    padding-top: 10px;
    border-radius: 8px;
    color: #ffffff;
}

.content-summary h3, .content-details h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0px;
    height: 20px;
}

.ai_icon {
    width: 24px;
    margin-right: 3px;
    margin-bottom: 12px;
    animation: rotateIcon 2s linear forwards;
    display: inline-block;
    vertical-align: middle;
}

.summary-text, .details-text {
    line-height: 1.6;
    color: #ffffff;
}

.bullet-point {
    margin: 8px 0;
    padding-left: 15px;
}

.section-title {
    margin: 20px 0 10px;
    font-weight: bold;
}

.content-actions {
    padding-top: 0px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.back-button, .share-button, .origin-link {
    padding: 10px 15px;
    background: #1d1d1d;
    color: #ffffff;
}

.back-button:hover, .share-button:hover, .origin-link:hover {
    background: #e0e0e0;
}

.related-content {
    padding-bottom: 150px;
    margin: 40px 0;
}

.related-content h3 {
    margin-bottom: 20px;
}

.related-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    padding: 15px;
    background: #333;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 16px;
    margin: 10px 0;
}

.card-date {
    color: #666;
    font-size: 14px;
}

/* 로딩 및 에러 메시지 스타일 */
.loading, .error-message {
    text-align: center;
    padding: 30px;
    color: #666;
}

.error-message button {
    margin-top: 15px;
    padding: 6px 10px;
    background: #1a1a1a;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 1200px 이하 화면에서의 스타일 */
@media screen and (max-width: 1200px) {
    /* 컨테이너 및 사이드바 */
    .container {
        flex-direction: column;
    }
    
    .hamburger-menu {
        display: block;
    }

    .logo {
        margin-left: 15px; /* 로고 왼쪽 여백 */
    }

    .logo img {
        height: 30px;
    }

    .card-view {
        padding-top: 60px;
        padding-left: 0px;
        padding-right: 0px;
    }

    /* 모바일 사이드 메뉴가 열렸을 때 */
    .mobile-sidebar-menu.active {
        left: 0;
        top: 60px; /* 사이드바 높이만큼 아래로 */
    }
    .footer {
        width: 100%;
    }

    .content-container {
        padding-top: 100px;
    }
    
    .insights-container {
        padding-top: 60px;
    }
}

/* 768px 이하 모바일 화면에서의 스타일 */
@media screen and (max-width: 768px) {
    .mobile-menu {
        gap: 20px;
        padding-top: 5px;
    }

    .nav-item {
        font-size: 24px;
    }

    .view-filter {
        bottom: 60px;
        right: 20px;
    }
    .card-view {
        padding: 0px;
    }
    .main-content {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .view-filter {
        display: none;
    }
    .insights-container {
        padding-top: 20px;
        padding-bottom: 200px;
        padding-left: 10px;
        padding-right: 10px;
        gap: 10px;
    }
    
    .topview{
        position: fixed;
        display: block;
        bottom: 100px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
        border: 1px solid #000;
        padding: 6px 6px 4px 6px;
        background-color: #fff;
        border-radius: 4px;
    }

    .topview img {
        width: 16px; /* 아이콘 크기 조정 */
        height: 16px;
    }

    .bottomview {
        position: fixed;
        display: block;
        bottom: 60px;
        right: 20px;
        z-index: 1000;
        cursor: pointer;
        border: 1px solid #000;
        padding: 6px 6px 4px 6px;
        background-color: #fff;
        border-radius: 4px;
    }

    .bottomview img {
        width: 16px; /* 아이콘 크기 조정 */
        height: 16px;
    }

    .content-container {
        padding-top: 80px;
    }
}

/* 모바일 사이드 메뉴 스타일 */
.mobile-sidebar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
}

.mobile-sidebar-menu.active {
    left: 0;
}

.mobile-sidebar-menu ul {
    padding: 60px 20px 20px;
}

.mobile-sidebar-menu ul li {
    margin: 20px 0;
}

.mobile-sidebar-menu ul li a {
    font-size: 18px;
    color: #181818;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

/* 햄버거 메뉴 활성화 상태 */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.file-list {
    margin-top: 10px;
}

.file-item {
    background: #f5f5f5;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 14px;
}

/* 팝업 애니메이션 */
.popup-overlay {
    animation: fadeIn 0.2s ease-out;
}

.popup-overlay.fade-out {
    animation: fadeOut 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.popup-content {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes auroraGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.original-link-button {
    background: linear-gradient(270deg, #00f, #8a2be2, #8a2be2, #00f);
    background-size: 400% 400%;
    animation: auroraGradient 8s ease infinite;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* PDF 플랫폼 배지 스타일 */
.platform-pdf {
    background-color: #4285f4;
    color: white;
}

.insight-card[data-platform="pdf"] {
    margin-bottom: 0 !important;
}

.insight-card .insight-title a:hover {
    text-decoration: underline !important;
}

/* 로고 이미지 기본 설정 (1201px 이상) */
.header-mo-logo-image {
    content: url('./svg/ytoneintelligence_w.svg');
}

.sidebar-footer .logo img {
    content: url('./svg/ytoneintelligence_w.svg');
}

/* 1200px 이하 화면에서의 로고 설정 */
@media screen and (max-width: 1200px) {
    .header-mo-logo-image {
        content: url('./svg/ytoneintelligence_w.svg');
    }
    .sidebar-footer .logo img {
        content: url('./svg/ytoneintelligence_w.svg');
    }
}

/* 모바일용 헤더 */
.header-mo {
    display: block;
    width: 100%;
    background-color: #0d0d12;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-mo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header-mo-logo {
    display: flex;
    align-items: center;
}

.header-mo-logo-image {
    height: 30px;
    width: 300px;
}

.nav-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.nav-links a {
    color: #e0e0e0;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.nav-links a:hover {
    color: #ffffff;
}

/* 검색 영역 스타일 */
.search-section {
    width: 100%;
    padding: 20px 30px;
    border-radius: 8px;
    padding-top: 60px;
    margin-bottom: 0;
}

.search-section .search-input-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-section .search-input {
    width: 100%;
    height: 48px;
    padding: 0 50px 0 20px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    background-color: #2a2a2a;
    transition: all 0.2s ease;
}

.search-section .search-input:focus {
    border-color: #4285f4;
    background-color: #333;
}

.search-section .search-icon-input {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    opacity: 0.7;
    pointer-events: none;
}

/* 1200px 이하 화면에서의 검색 영역 */
@media screen and (max-width: 1200px) {
    .search-section {
        padding: 15px 20px;
        padding-top: 40px;
    }

    .search-section .search-input-container {
        max-width: 500px;
    }

    .search-section .search-input {
        height: 42px;
        font-size: 15px;
    }
}

/* 768px 이하 모바일 화면에서의 검색 영역 */
@media screen and (max-width: 768px) {
    .search-section {
        padding-top: 3px;
    }

    .search-section .search-input-container {
        max-width: 100%;
    }

    .search-section .search-input {
        height: 40px;
        font-size: 14px;
        padding: 0 40px 0 15px;
    }

    .search-section .search-icon-input {
        width: 20px;
        height: 20px;
        right: 12px;
    }
}

/* 헤더 스타일 */
.header-container {
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.nav-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.nav-links a {
    color: #e0e0e0;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.nav-links a:hover {
    color: #ffffff;
}

/* 필터 모바일 아이템 기본 스타일 */
.category-mo {
    width: 100%;
    max-width: 100%;
    margin: 10px auto 20px;
    padding: 0 30px;
}

.filter-mo-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    justify-content: center;
}

.filter-mo-item a {
    color: #888;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 20px;
}

.filter-mo-item a.active {
    color: #ffffff;
    font-weight: 600;
    background-color: #333;
}

.filter-mo-item a:hover {
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .search-section {
        padding: 15px 20px;
        padding-top: 20px;
    }
    
    .category-mo {
        padding: 0 20px;
        margin: 5px auto 15px;
    }
    
    .filter-mo-item {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-mo-item::-webkit-scrollbar {
        display: none;
    }
    
    .filter-mo-item a {
        font-size: 14px;
        white-space: nowrap;
        padding: 6px 16px;
    }
}

/* features.html 기능 소개 스타일 */
.features-container {
    padding: 30px 20px;
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.feature-section {
    background-color: #1d1d1d;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #333;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #4285f4;
}

.feature-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-section:hover .feature-image {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-benefits {
    background-color: #252525;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, #4285f4, #34a853, #4285f4);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.feature-section:hover .feature-benefits::before {
    opacity: 0.05;
    animation: gradientBG 3s ease infinite;
}

.feature-section:hover .feature-benefits {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(0.1s * var(--item-index));
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-section.visible .benefit-item {
    opacity: 1;
    transform: translateX(0);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* 아이콘 애니메이션 */
@keyframes iconFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #2d2d2d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: #4285f4;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.feature-section.visible .feature-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-section:hover .feature-icon {
    transform: scale(1.1);
    background-color: #333;
}

.feature-section:hover .feature-icon::after {
    opacity: 1;
}

.feature-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-section:hover .feature-title {
    color: #4285f4;
}

.feature-content {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.benefit-icon {
    color: #4285f4;
    margin-right: 10px;
    margin-top: 0;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.2);
}

.benefit-text {
    flex: 1;
    transition: color 0.3s ease;
    padding-top: 2px;
}

.benefit-item:hover .benefit-text {
    color: #4285f4;
}

/* 스크롤 내비게이션 점 */
.scroll-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.scroll-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-nav-dot.active {
    background-color: #4285f4;
    transform: scale(1.5);
}

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
    .features-container {
        padding: 20px 15px;
        padding-top: 100px;
        gap: 20px;
    }
    
    .feature-section {
        padding: 20px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .scroll-nav {
        display: none;
    }
}

/* 라이브 채팅 페이지 스타일 (livechat.html) */
/* 라이브 채팅 메인 컨텐츠 영역 */
.livechat-content {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .livechat-content {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1201px) {
    .livechat-content {
        padding-top: 100px;
    }
}

.loading-container {
    width: 100%;
    padding: 40px 0;
    text-align: center;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid #333;
    border-radius: 50%;
    border-top-color: #4285f4;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
}

/* 라이브 채팅 업로드 섹션 */
.upload-section {
    background-color: #1d1d1d;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.input-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.input-method {
    background-color: #252525;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.input-method h3 {
    color: #e0e0e0;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.tip {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

#commentPaste {
    width: 100%;
    height: 150px;
    background-color: #1d1d1d;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    color: #e0e0e0;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
}

#commentPaste:focus {
    outline: none;
    border-color: #4285f4;
}

/* 라이브 채팅 버튼 스타일 */
button {
    background-color: #007AFF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
}

button:disabled {
    background-color: #333;
    cursor: not-allowed;
    transform: none;
}

#csvFile {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #1d1d1d;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    cursor: pointer;
}

.result-section {
    background-color: #1d1d1d;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #333;
    min-height: 200px;
}

#analysisResults {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#exportBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #333;
}

#exportBtn:hover {
    background-color: #444;
}

#exportBtn i {
    font-size: 16px;
}

/* 라이브 채팅 코멘트 스타일 */
.comment-item {
    padding: 15px;
    background-color: #252525;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-user {
    font-weight: 600;
    color: #ffffff;
}

.comment-time {
    color: #888;
    font-size: 0.9em;
}

.comment-content {
    line-height: 1.5;
    color: #e0e0e0;
}

.comment-type {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 8px;
}

.comment-type-question {
    background-color: #4285f4;
    color: #ffffff;
}

.comment-type-positive {
    background-color: #34a853;
    color: #ffffff;
}

.comment-type-negative {
    background-color: #ea4335;
    color: #ffffff;
}

.comment-type-neutral {
    background-color: #fbbc05;
    color: #333;
}

/* 라이브 채팅 제목 스타일 */
.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

/* 라이브 채팅 반응형 스타일 */
@media (max-width: 768px) {
    .input-methods {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
}

@media (min-width: 1201px) {
    .main-content {
        padding-top: 80px;
    }
    
    .header-container {
        margin-bottom: 30px;
    }
}

/* 라이브챗 스타일 */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #0d0d12;
}

.livechat-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    margin-top: 60px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.upload-section {
    background-color: #1d1d1d;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.input-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.input-method {
    flex: 1;
    min-width: 300px;
}

.input-method h3 {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.tip {
    font-size: 14px;
    color: #aaaaaa;
    margin-bottom: 15px;
}

#commentPaste {
    width: 100%;
    height: 180px;
    padding: 15px;
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 20px;
    resize: vertical;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#commentPaste:focus {
    border-color: #4285f4;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(66, 133, 244, 0.2);
    outline: none;
}

#csvFile {
    margin-top: 15px;
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 8px 12px;
    color: #e0e0e0;
    width: 100%;
}

#parseBtn, #analyzeBtn, #exportBtn {
    background: linear-gradient(45deg, #4285f4, #34a853);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#parseBtn:hover, #analyzeBtn:hover, #exportBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

#analyzeBtn {
    padding: 12px 30px;
    font-size: 16px;
}

.result-section {
    background-color: #1d1d1d;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #333;
    margin-top: 40px;
}

#analysisResults {
    padding: 0 20px;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

#exportBtn {
    display: flex;
    align-items: center;
    gap: 8px;
}

#exportBtn:disabled {
    background: linear-gradient(45deg, #666, #888);
    transform: none;
    cursor: not-allowed;
}

/* 가이드 버튼 스타일 */
#openGuideBtn {
    background: linear-gradient(45deg, #4285f4, #0f9d58);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

#openGuideBtn i {
    margin-right: 8px;
}

/* 모달 스타일 */
#guideModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

#modalContent {
    background-color: #1d1d1d;
    margin: 5% auto;
    padding: 25px;
    border: 1px solid #444;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: relative;
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* 가이드 내용 스타일 */
.guide-content {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

.guide-step h3 {
    color: #4285f4;
    margin-bottom: 10px;
    font-size: 18px;
}

.guide-image {
    background-color: #2d2d2d;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.guide-image img {
    max-width: 100%;
    max-height: 400px;
}

.tip-box {
    background-color: #2d2d2d;
    border-left: 4px solid #4285f4;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    margin-bottom: 15px;
}

.tip-box h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.tip-box ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #cccccc;
}

#closeGuideBtn {
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#closeGuideBtn:hover {
    background-color: #555;
}

/* 미디어 쿼리 */
@media (max-width: 768px) {
    .livechat-content {
        padding: 15px;
        margin-top: 0;
    }
    
    .input-methods {
        flex-direction: column;
    }
    
    .input-method {
        min-width: 100%;
    }
    
    #modalContent {
        width: 95%;
        padding: 15px;
    }
}



.marketing-header {
    text-align: center;
    margin-bottom: 20px;
}




.marketing-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.marketing-label {
    color: #ffffff;
}

.marketing-filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.filter-option {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 10px 20px;
    color: #ffffff;
}
