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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Banner Styles */
.banner-container {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.warning-banner {
    background-color: #dc3545;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.enrollment-banner {
    background-color: #1a365d;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    flex: 1;
    position: relative;
}

.enrollment-banner::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-right: 10px solid #dc3545;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headline */
.headline {
    font-size: 28px;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 1.3;
    text-align: center;
}

.bold {
    font-weight: bold;
}

/* Chat Container */
.chat-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 100px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e4e6ea;
}

.chat-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #42b883;
    font-size: 14px;
    font-weight: 500;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: #42b883;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

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

/* Chat Messages */
.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 60vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 80%;
}

.message.beth {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #4a5568;
    flex-shrink: 0;
}

.message.beth .avatar {
    background-color: #e4e6ea;
    color: #1c1e21;
}

.message.user .avatar {
    background-color: #1877f2;
    color: white;
}

.message-content {
    background-color: #f0f2f5;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.message.beth .message-content {
    background-color: #f0f2f5;
    color: #1c1e21;
    border-bottom-left-radius: 4px;
}

.message.user .message-content {
    background-color: #1877f2;
    color: white;
    border-bottom-right-radius: 4px;
}

/* Question Options */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.option-button {
    background-color: #1877f2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.option-button:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

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


.call-button {
    background-color: #42b883;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: pulse-call 2s infinite;
    position: relative;
    z-index: 10;
    text-decoration: none;
    box-sizing: border-box;
}

.call-button:hover {
    background-color: #369870;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 184, 131, 0.4);
    animation: none;
    text-decoration: none;
    color: white;
}

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

.call-icon {
    font-size: 20px;
    animation: bounce 1s infinite;
}

.phone-number {
    font-size: 16px;
    font-weight: normal;
    margin-left: 5px;
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 184, 131, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 184, 131, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 184, 131, 0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 10px 20px;
    border-top: 1px solid #e4e6ea;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #1877f2;
    text-decoration: underline;
    font-size: 12px;
}

.copyright {
    color: #65676b;
    font-size: 11px;
}

/* Clipboard Notification */
.clipboard-notification {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #2d3748;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.clipboard-notification.show {
    display: flex;
}

.checkmark {
    font-size: 18px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .headline {
        font-size: 24px;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .chat-status {
        justify-content: center;
    }
    
    .chat-container {
        padding: 15px;
    }
    
    .message {
        max-width: 90%;
    }
    
    .option-button {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .congratulations h2 {
        font-size: 28px;
    }
    
    .congratulations p {
        font-size: 16px;
    }
    
    .call-button {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .footer {
        flex-direction: column;
        gap: 5px;
        padding: 8px 15px;
    }
}

/* Animation for new messages */
.message {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay for sequential messages */
.message:nth-child(1) { animation-delay: 0.2s; }
.message:nth-child(2) { animation-delay: 0.4s; }
.message:nth-child(3) { animation-delay: 0.6s; }
.message:nth-child(4) { animation-delay: 0.8s; }
.message:nth-child(5) { animation-delay: 1.0s; }
.message:nth-child(6) { animation-delay: 1.2s; }
.message:nth-child(7) { animation-delay: 1.4s; }
.message:nth-child(8) { animation-delay: 1.6s; }
.message:nth-child(9) { animation-delay: 1.8s; }
.message:nth-child(10) { animation-delay: 2.0s; }
