/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #E91E63 0%, #AD1457 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.eagle-icon {
    font-size: 32px;
    background: linear-gradient(135deg, #E91E63, #AD1457);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(233, 30, 99, 0.3));
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #E91E63, #AD1457);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.subtitle {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Chat Container */
.chat-container {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 200px;
}

.message {
    padding: 16px 20px;
    border-radius: 20px;
    max-width: 85%;
    animation: slideInUp 0.5s ease-out;
    word-wrap: break-word;
}

.message.bot {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(233, 30, 99, 0.2);
}

.message.user {
    background: linear-gradient(135deg, #E91E63, #AD1457);
    color: white;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.message-text {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.message.bot .message-text {
    color: #333;
}

/* Chat Options */
.chat-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.option-button {
    background: linear-gradient(135deg, #E91E63, #AD1457);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

.option-button:active {
    transform: translateY(0);
}

.option-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.option-button:hover::before {
    left: 100%;
}

/* Variações de cores para botões */
.option-button.green {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.option-button.green:hover {
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.option-button.blue {
    background: linear-gradient(135deg, #2196F3, #1565C0);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.option-button.blue:hover {
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.4);
}

.option-button.orange {
    background: linear-gradient(135deg, #FF9800, #E65100);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.option-button.orange:hover {
    box-shadow: 0 6px 25px rgba(255, 152, 0, 0.4);
}

.option-button.purple {
    background: linear-gradient(135deg, #9C27B0, #4A148C);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.option-button.purple:hover {
    box-shadow: 0 6px 25px rgba(156, 39, 176, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 30, 99, 0.9);
    backdrop-filter: blur(5px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: white;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loading-overlay p {
    font-size: 16px;
    font-weight: 500;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade para tablets */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        margin: 0 auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .chat-container {
        padding: 30px;
    }
    
    .message {
        max-width: 80%;
    }
    
    .option-button {
        font-size: 18px;
        padding: 20px 28px;
    }
}

/* Responsividade para desktop */
@media (min-width: 1024px) {
    .chat-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .option-button {
        min-height: 70px;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estados de foco para acessibilidade */
.option-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Scrollbar personalizada */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

