:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Satoshi', sans-serif;
    background: white;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.header p {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.header .highlight {
    color: var(--danger);
    font-weight: 700;
}

/* Main Card */
.main-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.card-header {
    background: white;
    color: var(--dark);
    padding: 20px 16px 16px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.card-header h1 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--dark);
}

.card-header h1 span {
    color: var(--danger);
}

.card-header p {
    font-size: 0.9rem;
    color: var(--gray);
}

.card-content {
    padding: 20px;
}



.airline-logos {
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0;
}

.airline-logos-scroll {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.logo-item {
    display: inline-flex; /* Changed to inline-flex */
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-right: 32px; /* Add margin for spacing */
}

.logo-img {
    width: 60px;
    height: 60px;
  
   
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid #e2e8f0;
}

.logo-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
}

/* Status */
.status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pulse-indicator {
    position: relative;
    width: 12px;
    height: 12px;
    margin-right: 10px;
}

.pulse-indicator::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-indicator::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    border-radius: 50%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.status-text {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Chat */
.chat-container {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
}

.chat-container::-webkit-scrollbar {
    width: 4px;
}

.chat-container::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 10px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.message {
    display: flex;
    margin-bottom: 16px;
}

.agent-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-start;
    justify-content: flex-end;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.agent-avatar {
    background: var(--primary);
    color: white;
    margin-right: 10px;
}

.user-avatar {
    background: var(--gray-light);
    color: var(--dark);
    margin-left: 10px;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.agent-bubble {
    background: #f1f5f9;
    color: var(--dark);
    border-bottom-left-radius: 4px;
}

.user-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    align-items: center;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gray);
    border-radius: 50%;
    margin-right: 4px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.option-btn {
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Satoshi', sans-serif;
    text-align: center;
}

.primary-option {
    background: var(--primary);
    color: white;
}

.secondary-option {
    background: var(--gray-light);
    color: var(--dark);
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Call to Action */
.cta-section {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.cta-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.cta-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 16px;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    width: 100%;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.call-btn::before {
    content: "Call";
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray);
    padding: 12px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--dark);
}

/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 8px;
}

.mb-2 {
    margin-bottom: 8px;
}