/* 定义淡入动画 */
@keyframes bgFadeIn {
  0% { opacity: 0; } /* 初始透明 */
  100% { opacity: 1; } /* 完全显示 */
}

#home.bg-fade-in {
  background: url('../img/main.png') no-repeat center -100px; background-size: cover;
  animation: bgFadeIn 2s ease-in-out forwards; /* 动画时长1秒，保持最终状态 */
  opacity: 0; /* 初始隐藏 */
}

#services.bg-fade-in {
  background: url('../img/services.png') no-repeat center center; background-size: cover;
  animation: bgFadeIn 2s ease-in-out forwards; /* 动画时长1秒，保持最终状态 */
  opacity: 0; /* 初始隐藏 */
}

#cases.bg-fade-in {
  background: url('../img/cases.png') no-repeat center center; background-size: cover;
  animation: bgFadeIn 2s ease-in-out forwards; /* 动画时长1秒，保持最终状态 */
  opacity: 0; /* 初始隐藏 */
}

#government.bg-fade-in {
  background: url('../img/government.png') no-repeat center center; background-size: cover;
  animation: bgFadeIn 2s ease-in-out forwards; /* 动画时长1秒，保持最终状态 */
  opacity: 0; /* 初始隐藏 */
}



.layer_scroll_bar
{
	overflow			: hidden; 
	overflow-y			: auto;
	height				: 670px;
	margin				: 0px;
	padding-left		: 38px;
}

.layer_scroll_bar::-webkit-scrollbar
{
	width: 8px;
	height: 16px;
}
	
.layer_scroll_bar::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 8px;
	background: transparent;
}
	
.layer_scroll_bar::-webkit-scrollbar-thumb
{
	border-radius: 8px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #848484;
}


.checkbox1+span
{
	cursor				: pointer;
    position            : relative;
    display             : inline-block;
    width               : 18px;
    height              : 18px;
    border              : 1px solid #fff;
    border-radius       : 100px;
    vertical-align      : middle;
	margin-right		: 10px;
}

.checkbox1
{
    position            : absolute;
    visibility          : hidden;
}
.checkbox1:checked+span
{
	background			: #d1293b;
    border              : 1px solid #d1293b;
}
.checkbox1:checked+span:after 
{
	content				: "";
	position			: absolute;
    left                : 2px;
    bottom              : 6px;
    width               : 11px;
    height              : 8px;
	border				: 2px solid #fff;
	border-top-color	: transparent;
	border-right-color	: transparent;
	-ms-transform		: rotate(-60deg); 
	-moz-transform		: rotate(-60deg); 
	-webkit-transform	: rotate(-60deg); 
	transform			: rotate(-45deg);
}


.checkbox2+span
{
    position            : relative;
    display             : inline-block;
    width               : 18px;
    height              : 18px;
    border              : 1px solid #bdbdbd;
    background          : #fff;
    border-radius       : 0px;
    vertical-align      : middle ;
    margin-right: 8px;
}

.checkbox2
{
    position            : absolute;
    visibility          : hidden;
}

.checkbox2:checked+span:after 
{
    content             : "";
    position            : absolute;
    width               : 18px;/*
    height              : 20px;
    left                : -1px;
    top                 : -1px;
    border              : 0px;
    background          : url('img/affi/checked.svg') no-repeat;
    
    */
    left                : 2px;
    bottom              : 5px;
    width               : 12px;
    height              : 8px;
    border              : 2px solid #000;
    border-top-color    : transparent;
    border-right-color  : transparent;
    -ms-transform       : rotate(-60deg); 
    -moz-transform      : rotate(-60deg); 
    -webkit-transform   : rotate(-60deg); 
    transform           : rotate(-45deg);
}

.gr_nr
{    background: #fff;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s;

}

/* Custom animations and styles */
.logo-hover {
    transition: all 0.1s ease-in-out;
}
.logo-hover:hover {
    transform: scale(1.05);
}
/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

/* Fade in classes */

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

/* Scroll indicator animation */
@keyframes scrollIndicator {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Service card entrance animation
.service-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
*/

.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    animation-fill-mode: both;
}
.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}
.service-card.animate:nth-child(1) { transition-delay: 0s; }
.service-card.animate:nth-child(2) { transition-delay: 0.1s; }
.service-card.animate:nth-child(3) { transition-delay: 0.2s; }


/* services.html */
.sub_service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    animation-fill-mode: both;
}
.sub_service-card.animate {
    opacity: 1;
    transform: translateY(0);
}
.sub_service-card.animate:nth-child(1) { transition-delay: 0s; }
.sub_service-card.animate:nth-child(2) { transition-delay: 0.1s; }
.sub_service-card.animate:nth-child(3) { transition-delay: 0.2s; }
.sub_service-card.animate:nth-child(4) { transition-delay: 0.3s; }
.sub_service-card.animate:nth-child(5) { transition-delay: 0.4s; }

/* Case card entrance animation
.case-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.case-card:nth-child(1) { animation-delay: 0s; }
.case-card:nth-child(2) { animation-delay: 0.1s; }
.case-card:nth-child(3) { animation-delay: 0.2s; }
.case-card:nth-child(4) { animation-delay: 0.3s; } */

.case-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    animation-fill-mode: both;
}
.case-card.animate {
    opacity: 1;
    transform: translateY(0);
}
.case-card.animate:nth-child(1) { transition-delay: 0s; }
.case-card.animate:nth-child(2) { transition-delay: 0.1s; }
.case-card.animate:nth-child(3) { transition-delay: 0.2s; }



.government-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    animation-fill-mode: both;
}
.government-card.animate {
    opacity: 1;
    transform: translateY(0);
}
.government-card.animate:nth-child(1) { transition-delay: 0s; }
.government-card.animate:nth-child(2) { transition-delay: 0.1s; }
.government-card.animate:nth-child(3) { transition-delay: 0.2s; }
.government-card.animate:nth-child(4) { transition-delay: 0.3s; }


/* Partner card floating animation */
@keyframes partnerFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
/*
.partner-card {
    animation: partnerFloat 3s ease-in-out infinite;
}

.partner-card:nth-child(1) { animation-delay: 0s; }
.partner-card:nth-child(2) { animation-delay: 0.3s; }
.partner-card:nth-child(3) { animation-delay: 0.6s; }
.partner-card:nth-child(4) { animation-delay: 0.9s; }
.partner-card:nth-child(5) { animation-delay: 1.2s; }
.partner-card:nth-child(6) { animation-delay: 1.5s; }

.partner-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.partner-card:nth-child(1) { animation-delay: 0s; }
.partner-card:nth-child(2) { animation-delay: 0.3s; }
.partner-card:nth-child(3) { animation-delay: 0.6s; }
.partner-card:nth-child(4) { animation-delay: 0.9s; }
.partner-card:nth-child(5) { animation-delay: 1.2s; }
.partner-card:nth-child(6) { animation-delay: 1.5s; }

*/

.partner-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    animation-fill-mode: both;
}
.partner-card.animate {
    opacity: 1;
    transform: translateY(0);
}
.partner-card.animate:nth-child(1) { transition-delay: 0s; }
.partner-card.animate:nth-child(2) { transition-delay: 0.1s; }
.partner-card.animate:nth-child(3) { transition-delay: 0.2s; }
.partner-card.animate:nth-child(4) { transition-delay: 0.3s; }
.partner-card.animate:nth-child(5) { transition-delay: 0.4s; }
.partner-card.animate:nth-child(6) { transition-delay: 0.5s; }

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(14, 17, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 114, 128, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Typography */
body {
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    font-feature-settings: "rlig" 1, "calt" 1;
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
        line-height: 1.1;
    }
}

h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    h2 {
        font-size: 2rem;
        line-height: 1.25;
    }
}

@media (min-width: 1024px) {
    h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 600;
}

@media (min-width: 640px) {
    h3 {
        font-size: 1.375rem;
        line-height: 1.35;
    }
}

@media (min-width: 1024px) {
    h3 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

h4 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}

@media (min-width: 640px) {
    h4 {
        font-size: 1.125rem;
        line-height: 1.45;
    }
}

@media (min-width: 1024px) {
    h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
}

p {
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 400;
}

@media (min-width: 640px) {
    p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
}

@media (min-width: 1024px) {
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Accordion styles */
.accordion-item {
    background: #12171D;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: rgba(245, 10, 33, 0.5);
}

.accordion-item.popular {
    background: linear-gradient(135deg, rgba(245, 10, 33, 0.1), rgba(245, 10, 33, 0.05));
    border-color: rgba(245, 10, 33, 0.3);
    box-shadow: 0 4px 6px rgba(245, 10, 33, 0.1);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.accordion-trigger:hover {
    color: #F50A21;
}

.accordion-content {
    color: #9CA3AF;
    line-height: 1.6;
    margin-top: 1rem;
    display: none;
}

.accordion-content.show {
    display: block;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-icon.rotate {
    transform: rotate(180deg);
}

/* Modal animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-animate {
    animation: modalFadeIn 0.3s ease-out;
}

/* Filter button styles */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #374151;
    background: #fff;
    color: #9CA3AF;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-btn:hover {
    border-color: rgba(245, 10, 33, 0.5);
    color: #F50A21;
}

.filter-btn.active {
    background: #F50A21;
    border-color: #F50A21;
    color: white;
}

/* Process step connector */
.process-connector {
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #F50A21, transparent);
}

@media (max-width: 768px) {
    .process-connector::after {
        display: none;
    }
}

/* Hide scrollbar but keep functionality */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1A2026;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}















/* ===== CHATBOT STYLES ===== */
.hidden1{display: none!important;}
/* Chatbot Trigger Button */
#chatbot-trigger {
    /*
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #F50A21;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;*/
}

#chatbot-trigger:hover {
    /*
    background-color: #D50918;
    transform: scale(1.1);
    box-shadow: 0 25px 60px rgba(245, 10, 33, 0.5);
    */
}

#chatbot-trigger svg {
    /*
    width: 32px;
    height: 32px;
    */
}

.svg1-off .svg1{
    display: block;
}

.svg1-off .svg2{
    display: none;
}

.svg1-on .svg1{
    display: none;
}
.svg1-on .svg2{
    display: block;
}


/* Chatbot Window */
#chatbot-window {
    position: fixed;
    bottom: 9rem;
    right: 1.5rem;
    z-index: 1000;
    width: 420px;
    max-width: calc(100vw - 32px);
    height: 700px;
    max-height: calc(100vh - 64px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#chatbot-window.no-print
{
    z-index: -1;
}
#chatbot-window.chatbot-open {
    z-index: 100;
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Chatbot Header */
.chatbot-header {
    background-color: #F50A21;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chatbot-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.chatbot-header-logo {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-header-logo span {
    font-weight: bold;
    font-size: 14px;
}

.chatbot-header-title h3 {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-close-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.chatbot-close-btn svg {
    width: 20px;
    height: 20px;
}

/* Chatbot Content */
.chatbot-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Cover View */
#chatbot-cover-view {
    display: flex;
    flex-direction: column;
    height: 100%; /*height: 555px;*/
    background-color: #f9fafb;
}

.chatbot-cover-content {
    /*flex: 1; 20251128*/
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chatbot-welcome-message {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-top: 0px;
}

.chatbot-bot-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.chatbot-bot-avatar span {
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.chatbot-message-bubbles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-message-bubble {
    
    border-radius: 16px;
    border-top-left-radius: 0;
}

.chatbot-message-bubble p {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
}

.chatbot-message-bold {
    color: #101828;
    font-weight: bold;
}

.chatbot-message-normal {
    color: #364153;word-break: keep-all;
}

.chatbot-cover-footer {
    padding: 24px;
    padding-bottom: 32px;
    background-color: #f9fafb;
}

.chatbot-start-btn {
    width: 100%;
    background-color: #F50A21;
    color: white;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.chatbot-start-btn:hover {
    background-color: #D50918;
}

.chatbot-start-btn svg {
    width: 20px;
    height: 20px;
}

/* Chat View */

#chatbot-chat-view {
    display: flex;
    flex-direction: column;
    height: 100%; /*height: 555px;*/
}

.previous-btn {
  background-color: white;
  text-align: center;
  font-weight: bold;
  border: 1px solid #e5e7eb; /* border-gray-200 */
  color: #374151; /* text-gray-700 */
  font-size: 0.9rem; /* text-xs */
  padding: 0.625rem 1rem; /* py-2.5 px-4 */
  border-radius: 9999px; /* rounded-full */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out; /* transition-colors */
  width: 100%;
}

.previous-btn:hover {
  border-color: #F50A21;
  color: #F50A21;
}


.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.chatbot-input-area {
    padding: 20px;
    background-color: white;
    border-top: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.chatbot-input-form {
    position: relative;
    display: flex;
    padding-right: 48px;
    gap: 8px;
}

.chatbot-input {
    flex: 1;
    padding-right: 20px;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    font-size: 15px;
    height: 48px;
    border-radius: 50px;
    padding-left: 16px;
    color: #000;
    transition: all 0.2s ease;
}

.chatbot-input:focus {
    outline: none;
    border-color: #F50A21;
    box-shadow: 0 0 0 3px rgba(245, 10, 33, 0.1);
}

.chatbot-send-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 36px;
    width: 36px;
    border-radius: 50px;
    background-color: #F50A21;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatbot-send-btn:hover:not(:disabled) {
    background-color: #D50918;
}

.chatbot-send-btn:active:not(:disabled) {
    transform: scale(1.05);
}

.chatbot-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-send-btn svg {
    width: 20px;
    height: 20px;
}

/* History View */
#chatbot-history-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: white;
}

.chatbot-history-header {
    padding: 20px;
    background-color: #F9FAFB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-history-header h3 {
    font-weight: bold;
    font-size: 16px;
    color: #111827;
    margin: 0;
}

.chatbot-new-chat-btn {
    height: 32px;
    font-size: 13px;
    color: #ffff;
    background: #F50A21;
    border: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.chatbot-new-chat-btn:hover {
    /*background-color: rgba(245, 10, 33, 0.05);*/
}

.chatbot-new-chat-btn svg {
    width: 12px;
    height: 12px;
}

.chatbot-history-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
    background-color: #F9FAFB;
}

/* Bottom Navigation */
.chatbot-bottom-nav {
    height: 81px;
    background-color: white;
    border-top: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 74px;
    flex-shrink: 0;
}

.chatbot-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 68px;
    height: 56px;
    border-radius: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #4A5565;
}

.chatbot-nav-btn.active {
    background-color: #FEF2F2;
    color: #F50A21;
}

.chatbot-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.chatbot-nav-btn span {
    font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
    #chatbot-trigger,
    #chatbot-window {
        bottom: 1rem;
        right: 1rem;
    }
    
    #chatbot-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 32px);
    }
    
    .chatbot-bottom-nav {
        padding: 0 40px;
    }
}



















/*        본인 인증          1:1문의하기                */
.modal-container {
    background: #FFFFFF;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    max-width: calc(100vw - 32px);
}





.input-field {
    background: #F9FAFB;
    border: 1px solid #D1D5DC;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 19px;
    color: #99A1AF;
    width: 100%;
}

.input-field:focus {
    outline: none;
    border-color: #F50A21;
}

.btn-primary {
    background: #F50A21;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #D50918;
}

.btn-disabled {
    background: #D1D5DC;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: not-allowed;
}

.btn-send {
    background: #D1D5DC;
    border-radius: 10px;
    width: 80px;
    height: 50px;
    color: #FFFFFF;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-send.active {
    background: #F50A21;
    cursor: pointer;
}

.icon-container {
    width: 56px;
    height: 56px;
    background: rgba(245, 10, 33, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.verification-card {
    background: #FFFFFF;
    border: 2px solid #D1D5DC;
    border-radius: 16.4px;
    padding: 0 24px;
    height: 108px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.verification-card:hover {
    border-color: #F50A21;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #D1D5DC;
    border-radius: 4px;
    background: #FFFFFF;
    cursor: pointer;
    position: relative;
}

.checkbox-custom.checked {
    background: #F50A21;
    border-color: #F50A21;
}

.checkbox-custom.checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.privacy-box {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 1px;
}

.privacy-content {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 17px;
    max-height: 200px;
    overflow-y: auto;
}














/*        1:1 문의 게시판                */

.avatar-kgoods {
    width: 32px;
    height: 32px;
    background: #F50A21;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .avatar-kgoods {
        width: 40px;
        height: 40px;
    }
}

.avatar-user {
    width: 32px;
    height: 32px;
    background: #99A1AF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .avatar-user {
        width: 40px;
        height: 40px;
    }
}

.message-box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
}

@media (min-width: 768px) {
    .message-box {
        border-radius: 16.4px;
        padding: 25px;
    }
}

.message-box-user {
    background: #FFFFFF;
    border: 1px solid #D1D5DC;
    border-radius: 12px;
    padding: 16px;
}

@media (min-width: 768px) {
    .message-box-user {
        border-radius: 16.4px;
        padding: 25px;
    }
}

.toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

@media (min-width: 768px) {
    .toolbar-btn {
        padding: 8px;
    }
}

.toolbar-btn:hover {
    background: #F9FAFB;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: #D1D5DC;
}

@media (min-width: 768px) {
    .toolbar-divider {
        height: 24px;
    }
}

.info-box {
    background: rgba(245, 10, 33, 0.05);
    border: 1px solid rgba(245, 10, 33, 0.2);
    border-radius: 10px;
    padding: 12px;
}

@media (min-width: 768px) {
    .info-box {
        padding: 17px;
    }
}

.btn-submit {
    background: #D1D5DC;
    color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-size: 14px;
}

@media (min-width: 768px) {
    .btn-submit {
        padding: 12px 24px;
        gap: 8px;
        font-size: 16px;
    }
}

.btn-submit.active {
    background: #F50A21;
    cursor: pointer;
}

.btn-submit.active:hover {
    background: #D50918;
}

.sidebar-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #F50A21;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 12px rgba(245, 10, 33, 0.3);
    cursor: pointer;
    z-index: 100;
}

@media (min-width: 1024px) {
    .sidebar-toggle {
        display: none;
    }
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 101;
    transition: right 0.3s;
    overflow-y: auto;
}

.sidebar-mobile.active {
    right: 0;
}