.cta-btn {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #cf711f;
}

.chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
}

.chat-btn:hover {
    background: #cf711f;
}

.chat-popup {
    position: fixed;
    background: lightgoldenrodyellow;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 101;
}

@media (min-width: 601px) {
    .chat-popup {
        bottom: 90px;
        right: 20px;
        width: 507px;
        height: 400px;
        border-radius: 8px;
    }
}

.chat-popup.active {
    display: flex;
}

.chat-header {
    background: lightgray;
    color: darkblue;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    background: transparent;
    border: none;
    color: #333;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    user-select: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.chat-close:hover {
    opacity: 1;
    color: #e67e22;
}

.chat-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#chatMessages {
    width: 100%;
    height: 220px;
    overflow-y: auto;
    background: #f7f7f7;
    border-radius: 6px;
    padding: 8px 4px 8px 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.98rem;
}

#statusMessage {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

#chatForm {
    display: flex;
    gap: 6px;
    width: 100%;
}

#chatInput {
    flex: 1 1 0;
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
    min-width: 0;
}

#chatForm button[type="submit"] {
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0 22px;
    font-size: 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    height: 38px;
}

@media (max-width: 600px) {
    .chat-popup {
        width: 100%;
        right: 0;
        bottom: 70px;
        border-radius: 0;
        height: calc(100vh - 70px);
        max-height: 400px;
    }
    
    .marketing-link {
        position: static;
        display: block;
        margin-top: 1rem;
    }
    
    header {
        padding: 1.5rem 1rem;
    }
}

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

#progressBar {
      width: 0%;
      height: 4px;
      margin-top: 2px;
      margin-bottom: 2px;
      background-color: orange;
}
