/* Reset CSS */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS */
:root {
    /* Cores principais conforme o documento institucional */
    --primary-color: #8BC34A;      /* Verde */
    --secondary-color: #F7DC6F;    /* Amarelo */
    --primary-dark: #689F38;       /* Verde escuro para hover */
    --secondary-dark: #F4D03F;     /* Amarelo escuro para hover */
    --text-color: #333333;         /* Cor do texto principal */
    --text-light: #666666;         /* Cor do texto secundário */
    --background-light: #FFFFFF;   /* Fundo branco */
    --background-gray: #F7F7F7;    /* Fundo cinza claro */
    --border-color: #E0E0E0;       /* Cor de borda */
    --shadow-color: rgba(0, 0, 0, 0.1); /* Sombra */
    
    /* Tipografia */
    --font-primary: 'Leelawadee UI', 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    
    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 1.5rem;
}

/* Estilos Base */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-color);
    line-height: var(--line-height-base);
    background-color: var(--background-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Botões */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-text {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 0;
    border: none;
}

.btn-text i {
    margin-left: 0.25rem;
    transition: transform var(--transition-normal);
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-height: 50px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-list a:hover:after,
.nav-list a.active:after {
    width: 100%;
}

.nav-list a.btn-outline {
    padding: 0.625rem 1.25rem;
}

.nav-list a.btn-outline:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(139, 195, 74, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: -1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Product Highlight Section */
.product-highlight {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

.product-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    margin-bottom: 1rem;
}

.product-info p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(139, 195, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Services Section */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(139, 195, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* Partners Section */
.partner-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.partner-link:hover {
    color: var(--text-color);
}

.partners-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.partner-card {
    background-color: var(--background-gray);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    cursor: pointer;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.partner-logo img {
    max-height: 80%;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.05);
}

.partner-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.partner-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(139, 195, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.value-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.value-text p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

.contact-content {
    display: flex; /* Mantém flex se quiser centralizar ou alinhar o contact-info */
    justify-content: center; /* Centraliza o bloco de informações */
    align-items: flex-start; /* Alinha os itens ao topo, ajuste conforme necessário */
}

.contact-info {
    display: flex; /* Transforma o container das informações em um flex container */
    flex-direction: row; /* Organiza os itens filhos (info-item e contact-social) em uma linha */
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha se não houver espaço */
    justify-content: center; /* Centraliza os itens horizontalmente */
    gap: 20px; /* Adiciona espaço entre os itens */
    width: 100%; /* Ocupa a largura total disponível no contact-content */
    max-width: 800px; /* Defina uma largura máxima se desejar */
    margin: 0 auto; /* Centraliza o bloco contact-info */
}

.info-item {
    display: flex; /* Torna cada item de informação um flex container */
    align-items: center; /* Alinha o ícone e o texto verticalmente */
    gap: 10px; /* Espaço entre o ícone e o texto */
    /* Ajuste a largura se necessário, talvez usando flex: 1 ou uma largura fixa/mínima */
    flex: 1 1 auto; /* Permite que o item cresça e encolha, com base inicial automática */
    min-width: 200px; /* Define uma largura mínima para evitar que fiquem muito estreitos */
}

.info-icon {
    width: 100px;
    height: 48px;
    background-color: rgba(139, 195, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    gap: 15px;
    margin-top: 20px;
    
}

.info-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.info-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    font-size: 24px; /* Exemplo */
    color: #333; /* Cor dos ícones, ajuste conforme seu design */
    transition: color 0.3s ease;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    color: #8BC34A; /* Cor ao passar o mouse */
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

button[type="submit"] {
    width: 100%;
    justify-self: start;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: #1E293B;
    color: white;
    padding-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 2;
}

.footer-logo img {
    margin-bottom: 1.5rem;
    max-width: 180px;
}

.footer-logo p {
    opacity: 0.9;
    color: #CBD5E1;
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #CBD5E1;
    transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ESTILOS DO BOT TEK - SEM CÍRCULO */
.tek-bot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Noto Sans', sans-serif;
}

.tek-bot-button {
    position: relative;
    width: 80px;
    height: 80px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: block;
}

.tek-bot-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 25px rgba(139, 195, 74, 0.4));
}

.tek-bot-button.chat-open {
    transform: scale(0.95);
}

.tek-bot-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.15));
    background: transparent;
}

.tek-bot-button:hover .tek-bot-avatar {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(139, 195, 74, 0.3));
}

/* Indicador de status online */
.tek-status-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background-color: #4CAF50;
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Tooltip */
.tek-tooltip {
    position: absolute;
    bottom: 90px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tek-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.tek-bot-container:hover .tek-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Container do chat */
.tek-chat-container {
    position: absolute;
    bottom: 95px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 140px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.tek-chat-container.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Header do chat */
.tek-chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.tek-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tek-chat-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.tek-chat-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.tek-chat-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tek-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Iframe do bot */
.tek-chat-iframe {
    width: 100%;
    height: calc(100% - 72px);
    border: none;
    background: transparent;
}

/* Loading animation */
.tek-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

.tek-loading-dots {
    display: flex;
    gap: 4px;
}

.tek-loading-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: loading-bounce 1.4s ease-in-out infinite both;
}

.tek-loading-dot:nth-child(1) { animation-delay: -0.32s; }
.tek-loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsividade */
@media (max-width: 768px) {
    .tek-bot-button {
        width: 70px;
        height: 70px;
    }
    
    .tek-chat-container {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        transform: translateY(100%);
    }
    
    .tek-chat-container.open {
        transform: translateY(0);
    }

    .contact-info {
        flex-direction: column; /* Volta para coluna em telas menores */
        gap: 15px; /* Ajusta o espaço */
        align-items: flex-start; /* Alinha os itens à esquerda */
    }

    .info-item {
        min-width: auto; /* Remove a largura mínima em telas menores */
    }

    .contact-social {
        justify-content: flex-start; /* Alinha ícones à esquerda em telas menores */
        width: auto;
    }
}

@media (max-width: 480px) {
    .tek-bot-button {
        width: 60px;
        height: 60px;
    }
    
    .tek-status-indicator {
        width: 14px;
        height: 14px;
        top: 6px;
        right: 6px;
        border-width: 2px;
    }
}

/* Estilos para o chat do n8n */
.tek-chat-body {
    height: calc(100% - 72px);
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.tek-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tek-message {
    display: flex;
    max-width: 80%;
}

.tek-message-user {
    align-self: flex-end;
}

.tek-message-bot {
    align-self: flex-start;
}

.tek-message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.tek-message-user .tek-message-content {
    background: var(--primary-color);
    color: white;
}

.tek-message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.tek-message-time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

.tek-input-container {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    background: white;
    display: flex;
    gap: 8px;
    align-items: center;
}

.tek-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.tek-input-container input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.tek-input-container button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tek-input-container button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.tek-loading {
    position: static;
    transform: none;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 20px;
    border-radius: 12px;
}
