* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb !important;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover {
    color: #2563eb !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 80px 0;
    margin-top: 70px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.card-header {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.btn-primary {
    background: #2563eb;
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
}

.btn-primary:hover {
    background: #1e40af;
}

/* Stats */
.stat-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 10px 0;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #2563eb;
}

/* Prediction Results */
.prediction-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #2563eb;
}

/* Chat */
.chat-box {
    height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.user-msg {
    text-align: right;
    margin-bottom: 10px;
}

.bot-msg {
    text-align: left;
    margin-bottom: 10px;
}

.user-msg .msg {
    background: #2563eb;
    color: white;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
}

.bot-msg .msg {
    background: white;
    color: #333;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Dashboard */
.dashboard-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card i {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 10px;
}

.number {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
}

/* Alerts */
.alert {
    border-radius: 10px;
    margin-top: 15px;
}

/* Table */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background: #2563eb;
    color: white;
    border: none;
}