/* LetsCovered Insurance Assessment Form & Chatbot Styles - Modern UI */

/* Modern CSS Variables */
:root {
    --lc-primary: #6366f1;
    --lc-primary-dark: #4f46e5;
    --lc-primary-light: #818cf8;
    --lc-secondary: #f59e0b;
    --lc-success: #10b981;
    --lc-warning: #f59e0b;
    --lc-danger: #ef4444;
    --lc-gray-50: #f9fafb;
    --lc-gray-100: #f3f4f6;
    --lc-gray-200: #e5e7eb;
    --lc-gray-300: #d1d5db;
    --lc-gray-400: #9ca3af;
    --lc-gray-500: #6b7280;
    --lc-gray-600: #4b5563;
    --lc-gray-700: #374151;
    --lc-gray-800: #1f2937;
    --lc-gray-900: #111827;
    --lc-white: #ffffff;
    --lc-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --lc-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --lc-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --lc-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --lc-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --lc-radius: 0.75rem;
    --lc-radius-lg: 1rem;
    --lc-radius-xl: 1.5rem;
    --lc-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Assessment Form Styles */
.lc-assessment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
    background: var(--lc-white);
    line-height: 1.6;
}

/* Logo Section */
.lc-logo-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.lc-header-logo {
    height: 60px !important;
    max-width: 250px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: var(--lc-transition);
}

.lc-header-logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.lc-assessment-header {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--lc-primary) 0%, var(--lc-primary-dark) 50%, var(--lc-primary-light) 100%);
    border-radius: var(--lc-radius-xl);
    color: var(--lc-white);
    margin-bottom: 30px;
    box-shadow: var(--lc-shadow-xl);
    position: relative;
    overflow: hidden;
}

.lc-assessment-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.lc-assessment-header h1 {
    font-size: 1.2em !important;
    margin: 0 0 6px 0;
    font-weight: 700 !important;
    line-height: 1.3;
}

.lc-subtitle {
    font-size: 0.75em !important;
    margin: 0 0 10px 0;
    opacity: 0.9;
    line-height: 1.4;
}



.lc-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px;
    margin-top: 12px;
}

.lc-benefit-item {
    font-size: 0.95em !important;
    opacity: 0.9;
    padding: 1px 0;
}

.lc-assessment-form {
    background: var(--lc-white);
    border-radius: var(--lc-radius-xl);
    box-shadow: var(--lc-shadow-lg);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid var(--lc-gray-100);
    transition: var(--lc-transition);
}

.lc-assessment-form:hover {
    box-shadow: var(--lc-shadow-xl);
    transform: translateY(-2px);
}

.lc-form-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px;
    background: var(--lc-gray-50);
    border-radius: var(--lc-radius-lg);
    border: 1px solid var(--lc-gray-200);
}

.lc-progress-bar {
    flex: 1;
    height: 12px;
    background: var(--lc-gray-200);
    border-radius: var(--lc-radius);
    margin-right: 20px;
    overflow: hidden;
    position: relative;
}

.lc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lc-primary), var(--lc-secondary));
    border-radius: var(--lc-radius);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lc-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.lc-progress-text {
    font-weight: 600 !important;
    color: #0A3876;
    font-size: 0.9em !important;
}

.lc-form-section h2 {
    color: #0A3876;
    font-size: 1.0em !important;
    margin: 0 0 5px 0;
    font-weight: 700 !important;
}

.lc-section-desc {
    color: #666;
    margin: 0 0 18px 0;
    font-size: 0.75em !important;
}

.lc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.lc-form-row:last-child {
    margin-bottom: 0;
}

.lc-form-group {
    display: flex;
    flex-direction: column;
}

.lc-form-group label {
    font-weight: 600 !important;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.75em !important;
}

.lc-form-group input,
.lc-form-group select,
.lc-form-group textarea {
    padding: 8px 10px;
    border: 2px solid #e0e6ed;
    border-radius: 6px;
    font-size: 0.8em !important;
    transition: border-color 0.3s ease;
    background: #fff;
}

.lc-form-group input:focus,
.lc-form-group select:focus,
.lc-form-group textarea:focus {
    outline: none;
    border-color: #0A3876;
    box-shadow: 0 0 0 3px rgba(10, 56, 118, 0.1);
}

.lc-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.lc-checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500 !important;
}

.lc-checkbox-item:hover {
    border-color: #0A3876;
    background: #f8fafb;
}

.lc-checkbox-item input[type="checkbox"] {
    margin: 0 12px 0 0;
    width: 18px;
    height: 18px;
}

.lc-checkbox-item input[type="checkbox"]:checked + .lc-checkmark {
    background: #0A3876;
}

.lc-investment-tip {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    border: 2px solid #0A3876;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.lc-investment-tip h3 {
    color: #0A3876;
    margin: 0 0 15px 0;
    font-size: 1.2em !important;
}

.lc-investment-tip p {
    margin: 0 0 15px 0;
    color: #333;
}

.lc-tip-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    margin: 15px 0;
}

.lc-tip-item {
    color: #0A3876;
    font-weight: 500 !important;
}

.lc-secret-box {
    background: #FFD700;
    color: #0A3876;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-weight: 600 !important;
    margin-top: 15px;
}

.lc-secret-icon {
    margin-right: 10px;
    font-size: 1.2em !important;
}

.lc-form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f4f8;
}

.lc-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1em !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.lc-btn-primary {
    background: #0A3876;
    color: white;
}

.lc-btn-primary:hover {
    background: #083064;
    transform: translateY(-2px);
}

.lc-btn-secondary {
    background: #e0e6ed;
    color: #333;
}

.lc-btn-secondary:hover {
    background: #d1d9e0;
}

.lc-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 1.1em !important;
    padding: 16px 32px;
}

.lc-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.lc-testimonials {
    text-align: center;
    padding: 25px 15px;
    background: #f8fafb;
    border-radius: 12px;
    margin-bottom: 20px;
}

.lc-testimonials h3 {
    color: #0A3876;
    font-size: 0.95em !important;
    margin: 0 0 15px 0;
}

.lc-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.lc-testimonial {
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.lc-testimonial p {
    font-style: italic;
    margin: 0 0 12px 0;
    color: #555;
    font-size: 0.85em !important;
    line-height: 1.4;
}

.lc-testimonial-author strong {
    color: #0A3876;
    display: block;
    font-size: 0.85em !important;
}

.lc-testimonial-author span {
    color: #666;
    font-size: 0.75em !important;
}

.lc-testimonial-note {
    color: #666;
    font-size: 0.8em !important;
    margin: 20px 0 0 0;
    line-height: 1.4;
}

.lc-payment-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    margin-top: 20px;
    text-align: center;
}

.lc-payment-section h2 {
    color: #1e3a8a;
    font-size: 1.6em !important;
    margin: 0 0 20px 0;
    font-weight: 700 !important;
}

.lc-payment-summary h3 {
    color: #333;
    font-size: 1.2em !important;
    margin: 0 0 15px 0;
}

.lc-payment-summary p {
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.lc-payment-benefits {
    text-align: left;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.lc-payment-benefits li {
    padding: 8px 0;
    color: #333;
    font-weight: 500 !important;
}

.lc-payment-social-proof {
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    border: 2px solid #1e3a8a;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

.lc-payment-social-proof h4 {
    color: #1e3a8a;
    font-size: 1.1em !important;
    margin: 0 0 10px 0;
    font-weight: 700 !important;
}

.lc-payment-urgency {
    color: #dc3545;
    font-size: 0.9em !important;
    font-weight: 600 !important;
    margin: 0;
    line-height: 1.4;
}

.lc-price-info {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafb;
    border-radius: 8px;
}

.lc-price {
    margin-bottom: 10px;
}

.lc-price-amount {
    font-size: 2.2em !important;
    font-weight: 700 !important;
    color: #1e3a8a;
    display: block;
}

.lc-price-label {
    font-size: 0.9em !important;
    color: #666;
    display: block;
    margin-top: 5px;
}

.lc-secure {
    font-size: 0.9em !important;
    color: #10b981;
    font-weight: 500 !important;
}

.lc-payment-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.lc-btn-unlock {
    background: #FFD700;
    color: #0A3876;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    padding: 18px 40px;
    margin-top: 20px;
    border-radius: 12px;
}

.lc-btn-unlock:hover {
    background: #f1c40f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* Social Proof Popup */
.lc-social-proof-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    animation: slideInLeft 0.5s ease-out;
    cursor: pointer;
}

.lc-popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
    max-width: 280px;
    border-left: 4px solid #10b981;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.lc-popup-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.lc-popup-icon {
    font-size: 1.5em !important;
    flex-shrink: 0;
}

.lc-popup-text {
    flex: 1;
    min-width: 0;
}

.lc-popup-message {
    font-weight: 600 !important;
    color: #333;
    font-size: 0.85em !important;
    margin-bottom: 4px;
    line-height: 1.3;
}

.lc-popup-details {
    font-size: 0.75em !important;
    color: #666;
    line-height: 1.2;
}

.lc-popup-name {
    font-weight: 600 !important;
    color: #1e3a8a;
}

.lc-popup-location {
    color: #666;
}

.lc-popup-time {
    color: #10b981;
    font-weight: 500 !important;
}

.lc-popup-close {
    position: absolute;
    top: 5px;
    right: 8px;
    color: #999;
    font-size: 1.2em !important;
    cursor: pointer;
    line-height: 1;
    padding: 2px;
    transition: color 0.2s ease;
}

.lc-popup-close:hover {
    color: #666;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.lc-popup-slide-out {
    animation: slideOutLeft 0.3s ease-in forwards;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .lc-assessment-container {
        padding: 10px;
        max-width: 100%;
    }
    
    .lc-logo-section {
        padding: 10px 0;
        margin-bottom: 15px;
    }
    
    .lc-header-logo {
        height: 35px !important;
        max-width: 160px !important;
    }
    
    .lc-assessment-form, .lc-payment-section {
        padding: 15px;
    }
    
    .lc-assessment-header {
        padding: 15px 10px;
    }
    
    .lc-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .lc-checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .lc-assessment-header h1 {
        font-size: 1.0em !important;
    }
    
    .lc-subtitle {
        font-size: 0.7em !important;
    }
    
    .lc-benefits {
        grid-template-columns: 1fr;
    }
    
    .lc-benefit-item {
        font-size: 0.85em !important;
    }
    
    .lc-testimonials {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .lc-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .lc-payment-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .lc-payment-actions .lc-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .lc-social-proof-popup {
        bottom: 10px;
        left: 10px;
    }
    
    .lc-popup-content {
        max-width: 240px;
        padding: 12px;
    }
    
    .lc-popup-message {
        font-size: 0.8em !important;
    }
    
    .lc-popup-details {
        font-size: 0.7em !important;
    }
}

/* Floating Button */
.lc-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0A3876 0%, #1e4a7a 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(10, 56, 118, 0.3);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.lc-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(10, 56, 118, 0.4);
}

.lc-chat-button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.lc-chat-button.active {
    background: #FFD700;
}

.lc-chat-button.active svg {
    fill: #0A3876;
}

/* Chat Window */
.lc-chatbot {
    width: 600px;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lc-chat-header {
    background: #4a90e2;
    color: white;
    padding: 18px 24px;
    border-radius: 16px 16px 0 0;
}

.lc-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.lc-chat-logo {
    height: 30px;
    width: auto;
    border-radius: 5px;
}

.lc-chat-text {
    display: flex;
    flex-direction: column;
}

.lc-chat-title-text {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: white;
    margin-bottom: 2px;
}

.lc-chat-subtitle {
    font-size: 14px !important;
    opacity: 0.9;
}

.lc-chat-messages {
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
    padding: 24px 18px 12px 18px;
    background: #f5f7fb;
    flex: 1;
}

.lc-chat-message {
    margin-bottom: 16px;
    max-width: 80%;
    padding: 13px 18px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 15px !important;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    word-break: break-word;
}

.lc-chat-message.bot {
    background: #e3e6eb;
    color: #1a1a1a;
    margin-right: auto;
    border-bottom-left-radius: 6px;
}

/* Formatted content styles for bot messages */
.lc-chat-message.bot h2 {
    font-size: 1.1em !important;
    font-weight: bold !important;
    margin: 12px 0 8px 0;
    color: #0A3876;
}

.lc-chat-message.bot h3 {
    font-size: 1.05em !important;
    font-weight: bold !important;
    margin: 10px 0 6px 0;
    color: #1a1a1a;
}

.lc-chat-message.bot p {
    margin: 8px 0;
    line-height: 1.5;
}

.lc-chat-message.bot ul {
    margin: 8px 0;
    padding-left: 20px;
}

.lc-chat-message.bot li {
    margin: 4px 0;
    line-height: 1.4;
}

.lc-chat-message.bot strong {
    font-weight: bold !important;
    color: #0A3876;
}

.lc-chat-message.user {
    background: #0A3876;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.lc-chat-input-container {
    padding: 18px;
    background: white;
    border-top: 1px solid #e1e8ed;
    display: flex;
    gap: 12px;
    align-items: center;
}

.lc-chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 24px;
    font-size: 15px !important;
    outline: none;
    transition: border-color 0.3s ease;
}

.lc-chat-input:focus {
    border-color: #0A3876;
}

.lc-chat-send {
    width: 40px;
    height: 40px;
    background: #0A3876;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lc-chat-send:hover {
    background: #1e4a7a;
    transform: scale(1.05);
}

.lc-chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.lc-option {
    padding: 10px 16px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 14px !important;
}

.lc-option:hover {
    border-color: #0A3876;
    background: #f8f9fa;
}

.lc-payment-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 16px 0;
    text-align: center;
}

.lc-payment-section h4 {
    margin: 0 0 8px 0;
    color: #0A3876;
    font-size: 18px !important;
}

.lc-payment-section p {
    margin: 0 0 16px 0;
    color: #666;
    font-size: 14px !important;
}

.lc-pay-btn {
    background: linear-gradient(135deg, #0A3876 0%, #1e4a7a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 56, 118, 0.3);
}

.lc-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 56, 118, 0.4);
}

.lc-lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.lc-lead-form input {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px !important;
    outline: none;
    transition: border-color 0.3s ease;
}

.lc-lead-form input:focus {
    border-color: #0A3876;
}

.lc-submit-lead {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lc-submit-lead:hover {
    background: #218838;
    transform: translateY(-1px);
}

.lc-typing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #e3e6eb;
    border-radius: 18px;
    margin-bottom: 16px;
    max-width: 80%;
    margin-right: auto;
    border-bottom-left-radius: 6px;
}

.lc-typing-dots {
    display: flex;
    gap: 4px;
}

.lc-typing-dots span {
    width: 8px;
    height: 8px;
    background: #666;
    border-radius: 50%;
    animation: lc-bounce 1.4s infinite ease-in-out both;
}

.lc-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.lc-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes lc-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.lc-success {
    text-align: center;
    padding: 24px;
    background: #d4edda;
    border-radius: 12px;
    margin: 16px 0;
}

.lc-success-icon {
    width: 48px;
    height: 48px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    animation: lc-pulse 2s infinite;
}

@keyframes lc-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.lc-success h4 {
    margin: 0 0 8px 0;
    color: #155724;
    font-size: 18px !important;
}

.lc-success p {
    margin: 0;
    color: #155724;
    font-size: 14px !important;
}

@media (max-width: 600px) {
    .lc-chatbot {
        width: 95%;
        max-width: 600px;
        margin: 20px auto;
    }
    
    .lc-chat-header {
        padding: 16px 20px;
    }
}

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

/* Email Notification Styles */
.lc-email-notification {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    margin: 15px 0 !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.lc-email-notification p {
    margin: 0 !important;
    font-size: 0.9em !important;
    color: white !important;
    font-weight: 500 !important;
}

/* Typing Indicator Styles */
.lc-typing-indicator {
    background: #f0f2f5 !important;
    border: 1px solid #e2e8f0 !important;
    animation: pulse 1.5s ease-in-out infinite !important;
}

.lc-typing-content {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.lc-typing-text {
    color: #1e3a8a !important;
    font-weight: 600 !important;
}

.lc-typing-dots {
    color: #666 !important;
    font-weight: bold !important;
    min-width: 35px !important;
    display: inline-block !important;
    text-align: left !important;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
} 