/* ===== Sedunia AI Search Styling ===== */
.sedunia-ai-search {
    background: #a7d13b;
    color: #000;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0;
    max-width: 900px;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
}

.ai-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.ai-header span {
    color: #000;
}

.beta {
    background: #000;
    color: #fff;
    font-size: 0.7em;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 5px;
}

.ai-header p {
    color: #111;
    font-size: 1rem;
    margin-bottom: 20px;
}

.ai-search-form {
    text-align: center;
    margin-bottom: 30px;
}

.ai-search-form label {
    font-weight: 600;
    display: block;
    color: #000;
    margin-bottom: 6px;
}

.ai-input-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ai-input-wrap input {
    width: 300px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.ai-input-wrap button {
    background: #0073e6;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

.ai-input-wrap button:hover {
    background: #005bb5;
}

/* Results Section */
#ai-search-results {
    margin-top: 40px;
    text-align: left;
}

.ai-loading {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
}

.ai-error {
    text-align: center;
    color: red;
    font-weight: 600;
}

.tour-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.tour-card img {
    width: 100%;
    border-radius: 6px;
}

.tour-card h4 {
    margin: 0;
    color: #0a2148;
    line-height: normal;
    font-size: 20px;
}

.tour-card p {
    margin: 0 0 6px;
    color: #333;
}

.tour-card .btn {
    background: #0073e6;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
}


/* ===== AI Chat Box Style ===== */
.ai-chat-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
}

.ai-chat-messages {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #f9fafc;
}

.user-msg,
.bot-msg {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 100%;
    animation: fadeIn 0.3s ease;
    width:100%;
}

.user-msg {
    align-self: flex-end;
    background: #0073e6;
    color: #fff;
}

.bot-msg {
    align-self: flex-start;
    background: #e9f3ff;
    color: #000;
}

.ai-chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.ai-chat-input input {
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
    font-size: 14px;
    border-radius: 6px 0 0 6px;
    background: #f1f3f4;
}

.ai-chat-input button {
    background: #0073e6;
    color: #fff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0 6px 6px 0;
}