/* 
 * AI Chatbot Platform - Main Stylesheet
 */

:root {
    --primary-color: #4a76a8;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar-brand {
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Dashboard Styles */
.dashboard-header {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-card-title {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-card-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}

/* Chatbot Styles */
.chatbot-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.chatbot-card:hover {
    transform: translateY(-5px);
}

.chatbot-card .card-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: var(--primary-color);
    color: white;
}

/* Form Styles */
.form-control, .btn {
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 118, 168, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3c648c;
    border-color: #3c648c;
}

/* Footer Styles */
footer {
    border-top: 1px solid #eee;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    color: #3c648c;
    text-decoration: underline;
}

/* Subscription Plans */
.plan-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card .card-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: var(--primary-color);
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.plan-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-price-suffix {
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-color);
}

/* Knowledge Base */
.knowledge-item {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    background-color: var(--light-color);
}

.knowledge-source {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Training Interface */
.chat-container {
    height: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
}

.chat-message-user {
    justify-content: flex-end;
}

.chat-message-content {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 70%;
}

.chat-message-user .chat-message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 0;
}

.chat-message-bot .chat-message-content {
    background-color: var(--light-color);
    border-bottom-left-radius: 0;
}

.chat-input-container {
    display: flex;
}

.chat-input {
    flex: 1;
    border-radius: 18px;
    padding: 10px 15px;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-card {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .stat-card {
        min-width: 100%;
    }
} 