:root {
    --chungbuk-blue: #004098;
    --chungbuk-light-blue: #0056cc;
    --chungbuk-lighter-blue: #e8f0fe;
    --chungbuk-red: #e31837;
    --gradient-start: #ffffff;
    --gradient-end: #f8f9fa;
}

/* 오렌지색 요소 및 선 제거 */
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* 모든 오렌지색 관련 스타일 제거 */
*[style*="orange"],
*[style*="#ff"],
*[style*="#f"],
*[class*="orange"],
.orange,
[color="orange"],
[bgcolor="orange"] {
    color: inherit !important;
    background-color: transparent !important;
    border-color: transparent !important;
    outline: none !important;
}

/* 개발자 도구 하이라이트 제거 */
*::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

*::-webkit-scrollbar-thumb {
    background: var(--chungbuk-blue) !important;
}

/* 선택 영역 스타일 재정의 */
::selection {
    background: var(--chungbuk-lighter-blue) !important;
    color: var(--chungbuk-blue) !important;
}

::-moz-selection {
    background: var(--chungbuk-lighter-blue) !important;
    color: var(--chungbuk-blue) !important;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

.header {
    background: white;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(0, 64, 152, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border: 1px solid rgba(0, 64, 152, 0.1);
    border-radius: 0 0 20px 20px;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.logo {
    width: 56px;
    height: 56px;
    transition: transform 0.3s ease;
}
.logo:hover {
    transform: scale(1.05);
}
.title-container {
    position: relative;
    padding-left: 1.2rem;
}
.title-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: var(--chungbuk-red);
    border-radius: 2px;
}
.main-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0;
    color: var(--chungbuk-blue);
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.sub-title {
    font-size: 1rem;
    margin: 0.4rem 0 0 0;
    color: #555;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: -0.01em;
}
.language-selector-container {
    position: relative;
    z-index: 1001;
}
.language-selector {
    background: white;
    border: 1px solid var(--chungbuk-blue);
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 8px;
    color: var(--chungbuk-blue);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004098' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em;
    cursor: pointer;
}
.language-selector:hover {
    background-color: var(--chungbuk-lighter-blue);
}
.chat-container {
    flex: 1;
    max-width: 1200px;
    width: 95%;
    /* margin: 100px auto 0 auto; */
    padding: 2rem 2rem 400px 2rem;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 8px 24px rgba(0, 64, 152, 0.08);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--chungbuk-blue) #f5f7fa;
    border: 1px solid rgba(0, 64, 152, 0.1);
    border-bottom: none;
    position: relative;
}
.chat-container::before {
    display: none;
}

/* 예시 질문 섹션 스타일 */
.example-questions {
    background: rgba(232, 240, 254, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid rgba(0, 64, 152, 0.1);
}

.example-questions h3 {
    color: var(--chungbuk-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-questions h3::before {
    content: '💡';
    font-size: 1.1rem;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

.question-item {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 64, 152, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-item:hover {
    background: var(--chungbuk-lighter-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.15);
}

.question-item::before {
    content: '❓';
    font-size: 0.9rem;
    opacity: 0.7;
}

.question-item:hover::before {
    transform: scale(1.1);
}

.message {
    max-width: 85%;
    margin: 1.2rem 0;
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    line-height: 1.7;
    animation: fadeIn 0.3s ease-out;
    position: relative;
    font-size: 1rem;
}
.user-message {
    background: var(--chungbuk-lighter-blue);
    color: #1a1a1a;
    margin-left: auto;
    border-top-right-radius: 6px;
    box-shadow: 0 3px 8px rgba(0, 64, 152, 0.08);
    position: relative;
    text-align: right;
    font-weight: 500;
}
.user-message::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    border-left: 12px solid var(--chungbuk-lighter-blue);
    border-bottom: 12px solid transparent;
}
.bot-message {
    background: #ffffff;
    border-left: 4px solid var(--chungbuk-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 12px;
    animation: slideIn 0.3s ease-out;
}

.bot-message.new-response {
    animation: newResponseHighlight 2s ease-out;
    border-left: 4px solid var(--chungbuk-red);
    box-shadow: 0 8px 25px rgba(227, 24, 55, 0.15);
    background: rgba(232, 240, 254, 0.1);
}

@keyframes newResponseHighlight {
    0% {
        background: rgba(227, 24, 55, 0.1);
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(227, 24, 55, 0.2);
    }
    50% {
        background: rgba(227, 24, 55, 0.05);
    }
    100% {
        background: #ffffff;
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }
}
.bot-message::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--chungbuk-red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(227, 24, 55, 0.1);
}
.bot-message h3 {
    color: var(--chungbuk-blue);
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 1.4em;
    padding-bottom: 1em;
    border-bottom: 2px solid var(--chungbuk-lighter-blue);
    position: relative;
    letter-spacing: -0.02em;
}
.bot-message h4 {
    color: var(--chungbuk-blue);
    font-size: 1.25em;
    font-weight: 600;
    margin-top: 1.6em;
    margin-bottom: 1.2em;
    padding-left: 14px;
    border-left: 3px solid var(--chungbuk-red);
    letter-spacing: -0.01em;
    line-height: 1.4;
}
.bot-message section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.bot-message section:hover {
    background: rgba(248, 250, 252, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.bot-message section h5 {
    color: var(--chungbuk-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bot-message section h5::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--chungbuk-red);
}
.bot-message ul, .bot-message ol {
    list-style: none;
    padding-left: 0.5rem;
}
.bot-message li {
    position: relative;
    padding: 0.8em 0 0.8em 2.5em;
    border-bottom: 1px solid rgba(0, 64, 152, 0.08);
}
.bot-message li:last-child {
    border-bottom: none;
}
.bot-message li::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    width: 2rem;
    text-align: center;
    color: var(--chungbuk-blue);
}
.bot-message table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.bot-message th {
    background: var(--chungbuk-blue);
    color: white;
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 600;
}
.bot-message td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}
.bot-message tr:last-child td {
    border-bottom: none;
}
.bot-message tr:nth-child(even) {
    background: rgba(232, 240, 254, 0.3);
}
.percentage {
    color: var(--chungbuk-red);
    font-weight: 600;
}
.bot-message strong, 
.bot-message b {
    color: var(--chungbuk-blue);
    font-weight: 600;
    background-color: rgba(232, 240, 254, 0.6);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.bot-message strong::before,
.bot-message b::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--chungbuk-red);
}

.bot-message strong.graduation::before {
    content: '\f19d';  /* 졸업 모자 아이콘 */
}

.bot-message strong.book::before {
    content: '\f5fd';  /* 책 더미 아이콘 */
}

.bot-message strong.trophy::before {
    content: '\f091';  /* 트로피 아이콘 */
}

.bot-message strong.info::before {
    content: '\f05a';  /* 정보 아이콘 */
}

.bot-message strong.check::before {
    content: '\f00c';  /* 체크 아이콘 */
}

.bot-message strong.star::before {
    content: '\f005';  /* 별 아이콘 */
}
.bot-message a {
    color: var(--chungbuk-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--chungbuk-blue);
    transition: all 0.2s ease;
    padding-bottom: 1px;
}
.bot-message a:hover {
    background-color: rgba(0, 64, 152, 0.1);
    border-bottom: 2px solid var(--chungbuk-blue);
}
.bot-message p {
    margin: 1.2em 0;
    line-height: 1.8;
}

/* 개선된 로딩 스타일 */
.processing-indicator {
    display: none;
    position: fixed;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 64, 152, 0.15);
    z-index: 1000;
    text-align: center;
    border: 1px solid var(--chungbuk-lighter-blue);
    backdrop-filter: blur(10px);
    min-width: 300px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.process-step.active {
    opacity: 1;
    background: var(--chungbuk-lighter-blue);
    transform: translateX(8px);
}

.process-step.completed {
    opacity: 0.7;
    background: rgba(76, 175, 80, 0.1);
}

.step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    background: #ccc;
    transition: all 0.3s ease;
}

.process-step.active .step-icon {
    background: var(--chungbuk-blue);
    animation: pulse 2s infinite;
}

.process-step.completed .step-icon {
    background: #4CAF50;
}

.step-text {
    font-size: 0.9rem;
    color: var(--chungbuk-blue);
    font-weight: 500;
}

.process-step.active .step-text {
    font-weight: 600;
}

.processing-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.processing-dot {
    width: 8px;
    height: 8px;
    background: var(--chungbuk-blue);
    border-radius: 50%;
    animation: processingDot 1.4s infinite ease-in-out;
}

.processing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.processing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes processingDot {
    0%, 100% {
        transform: scale(0.3);
        opacity: 0.3;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
    background: #f8fafc;
    border-radius: 12px;
    margin: 10px;
    width: fit-content;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--chungbuk-blue);
    border-radius: 50%;
    animation: typing 1s infinite;
    opacity: 0.4;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.input-container {
    /* position: fixed;
    bottom: 120px;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem 0 1.5rem;
    background: transparent;
    z-index: 999; */
}
.input-group {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 64, 152, 0.08);
    border: 1px solid rgba(0, 64, 152, 0.1);
    border-top: none;
    position: relative;
}
.input-field {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0, 64, 152, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: white;
    outline: none;
}
.input-field:focus {
    outline: none;
    border-color: var(--chungbuk-blue);
    box-shadow: 0 0 0 3px rgba(0, 64, 152, 0.1);
}
.input-field::placeholder {
    color: #a0aec0;
}
.send-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--chungbuk-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.send-button:hover {
    background: var(--chungbuk-light-blue);
    transform: translateY(-1px);
}
.send-button:active {
    transform: translateY(0);
}
.send-button svg {
    width: 20px;
    height: 20px;
}
.send-button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

/* 새로운 도움 기능 버튼들 스타일 */
.help-button, .voice-button, .suggestion-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--chungbuk-blue);
    border-radius: 12px;
    color: var(--chungbuk-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.help-button:hover, .voice-button:hover, .suggestion-button:hover {
    background: var(--chungbuk-lighter-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.2);
}

.voice-button.recording {
    background: var(--chungbuk-red);
    color: white;
    animation: pulse 1.5s infinite;
}

.voice-button.recording i {
    animation: recordingPulse 1s infinite;
}

@keyframes recordingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 도움 메뉴 팝업 */
.help-menu {
    position: fixed;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 64, 152, 0.15);
    border: 1px solid rgba(0, 64, 152, 0.1);
    padding: 1.5rem;
    z-index: 1001;
    display: none;
    min-width: 450px;
    max-width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
}

.help-menu.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.help-menu h3 {
    color: var(--chungbuk-blue);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* 연락처 정보 스타일 */
.contact-info {
    width: 100%;
}

.contact-section {
    display: grid;
    gap: 1rem;
}

.contact-item {
    background: rgba(232, 240, 254, 0.3);
    border: 1px solid rgba(0, 64, 152, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--chungbuk-lighter-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.15);
}

.position {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--chungbuk-blue);
}

.position .title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--chungbuk-blue);
    margin-bottom: 0.3rem;
}

.position .korean {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.contact-details {
    display: grid;
    gap: 0.5rem;
}

.phone, .email {
    font-size: 0.95rem;
    color: #333;
    padding: 0.3rem 0;
    font-family: 'Courier New', monospace;
}

.phone {
    font-weight: 600;
    color: var(--chungbuk-blue);
}

.email {
    color: #555;
}

.email:hover {
    color: var(--chungbuk-blue);
    cursor: pointer;
}

/* 빠른 제안 메뉴 */
.suggestion-menu {
    position: fixed;
    bottom: 220px;
    right: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 64, 152, 0.15);
    border: 1px solid rgba(0, 64, 152, 0.1);
    padding: 1rem;
    z-index: 1001;
    display: none;
    max-width: 300px;
}

.suggestion-menu.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

.suggestion-item {
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 64, 152, 0.05);
    font-size: 0.9rem;
    color: #333;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--chungbuk-lighter-blue);
    transform: translateX(4px);
}

.suggestion-item::before {
    content: '💡';
    margin-right: 0.5rem;
}

/* 음성 인식 상태 표시 */
.voice-status {
    position: fixed;
    bottom: 280px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: none;
    text-align: center;
    z-index: 1002;
}

.voice-status.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.voice-wave {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-top: 0.5rem;
}

.voice-wave span {
    width: 3px;
    height: 20px;
    background: white;
    animation: voiceWave 1s infinite ease-in-out;
}

.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes voiceWave {
    0%, 100% { height: 20px; }
    50% { height: 5px; }
}

/* 카테고리별 질문 메뉴 */
.category-questions-menu {
    position: fixed;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 64, 152, 0.15);
    border: 1px solid rgba(0, 64, 152, 0.1);
    padding: 1.5rem;
    z-index: 1001;
    display: none;
    min-width: 400px;
    max-width: 90vw;
    max-height: 60vh;
    overflow-y: auto;
}

.category-questions-menu.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 64, 152, 0.1);
}

.back-button {
    background: var(--chungbuk-lighter-blue);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--chungbuk-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover {
    background: var(--chungbuk-blue);
    color: white;
    transform: translateX(-2px);
}

.category-header h3 {
    margin: 0;
    color: var(--chungbuk-blue);
    font-size: 1.2rem;
    font-weight: 600;
}

.category-questions {
    display: grid;
    gap: 0.8rem;
}

.category-question-item {
    background: rgba(232, 240, 254, 0.3);
    border: 1px solid rgba(0, 64, 152, 0.1);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-question-item:hover {
    background: var(--chungbuk-lighter-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.15);
}

.category-question-item::before {
    content: '❓';
    font-size: 1.1rem;
    flex-shrink: 0;
}

.suggestion-menu h4 {
    color: var(--chungbuk-blue);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.typing-indicator {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--chungbuk-lighter-blue);
    border-radius: 12px;
    margin: 1rem 0;
    width: fit-content;
}
.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--chungbuk-blue);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    .header-content {
        padding: 0 0.5rem;
    }
    .logo {
        width: 40px;
        height: 40px;
    }
    .main-title {
        font-size: 1.2rem;
    }
    .sub-title {
        font-size: 0.8rem;
    }
.chat-container {
    padding: 1rem 1rem 240px 1rem;  /* 하단 패딩 감소 */
    margin-bottom: 0;
}
    .message {
        max-width: 90%;
        padding: 0.8rem 1rem;
    }
    .input-container {
        /* bottom: 140px;
        padding: 0.75rem 1rem; */
    }
    .input-group {
        padding: 1rem 1.5rem;
        width: 95%;
    }
    .input-field {
        padding: 0.8rem 1rem;
    }
    .send-button {
        padding: 0.8rem 1.2rem;
    }
.footer {
    height: 120px;
    padding: 0;
    margin-top: 0;
}
    .bot-message {
        padding: 1.2rem;
        margin: 0.8rem 0;
    }
    .bot-message section {
        padding: 0.8rem;
        margin: 1rem 0;
    }
    .bot-message h5 {
        font-size: 1rem;
    }
    .bot-message table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .processing-indicator {
        min-width: 280px;
        padding: 1.2rem 1.5rem;
    }
    
    /* 모바일에서 예시 질문 스타일 */
    .question-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .question-item {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .example-questions {
        padding: 1rem;
        margin: 0.8rem 0;
    }
    
    .example-questions h3 {
        font-size: 1.1rem;
    }
    
    /* 모바일에서 새 도움 기능들 */
    .help-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .help-menu {
        min-width: 280px;
        padding: 1.2rem;
        bottom: 200px;
        max-height: 60vh;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .position .title {
        font-size: 1rem;
    }
    
    .phone, .email {
        font-size: 0.85rem;
    }
    
    .suggestion-menu {
        right: 1rem;
        bottom: 200px;
        max-width: 250px;
    }
    
    .category-question-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .voice-status {
        bottom: 260px;
        padding: 0.8rem 1.5rem;
        min-width: 250px;
    }
}
.footer {
    background: white;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 64, 152, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -8px 24px rgba(0, 64, 152, 0.08);
}

.footer-content {
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-left {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.footer-logo {
    height: 40px;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-info {
    text-align: center;
}

.footer-address {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.footer-contact {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0;
}

.footer-contact a {
    color: var(--chungbuk-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--chungbuk-red);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

*:focus {
    outline: none;
}

textarea:focus, input:focus {
    outline: none;
}

/* 브라우저 확장 프로그램 오버레이 제거 */
div[style*="position: absolute"],
div[style*="position: fixed"] {
    display: none !important;
}

/* 개발자 도구 하이라이트 강제 제거 */
*[style*="outline"],
*[style*="border: 2px"],
*[style*="border:2px"] {
    outline: none !important;
    border: none !important;
}

.highlight-box {
    background-color: #f8f9ff;
    border: 1px solid rgba(0, 64, 152, 0.1);
    border-radius: 8px;
    padding: 1.2rem;
    margin: 1rem 0;
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--chungbuk-red), var(--chungbuk-blue));
    border-radius: 4px 0 0 4px;
}

.percentage-bar {
    background-color: #e2e8f0;
    height: 24px;
    border-radius: 12px;
    margin: 0.5rem 0;
    overflow: hidden;
    position: relative;
}

.percentage-fill {
    height: 100%;
    background: linear-gradient(to right, var(--chungbuk-blue), var(--chungbuk-light-blue));
    border-radius: 12px;
    transition: width 1s ease-in-out;
}

.percentage-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.stat-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 64, 152, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--chungbuk-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* 아이콘 클래스별 스타일 */
.graduation i { color: #4CAF50; }
.book i { color: #2196F3; }
.trophy i { color: #FFC107; }
.info i { color: #607D8B; }
.check i { color: #8BC34A; }
.star i { color: #FF9800; }