/* Custom Styles */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
}

.features .card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.features .card:hover {
    transform: translateY(-5px);
}

.step {
    position: relative;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border-radius: 10px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
}

/* Progress Bar */
.progress {
    height: 10px;
    border-radius: 5px;
}

/* Checkbox Styling for Symptoms */
.symptom-checkbox {
    margin-bottom: 10px;
}

.symptom-checkbox input[type="checkbox"] {
    margin-right: 10px;
}
/* Additional Styles for Diagnosa System */

/* Card styling */
.card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px 15px;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}

/* Alert styling */
.alert {
    border-radius: 10px;
    border: none;
}

.alert i {
    margin-right: 10px;
}

/* Button styling */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Progress bar */
.progress {
    border-radius: 10px;
    height: 20px;
}

.progress-bar {
    border-radius: 10px;
}

/* Badge styling */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Table styling */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border: none;
    padding: 15px;
}

.table td {
    padding: 15px;
    vertical-align: middle;
}

/* Modal styling */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 2px solid #f8f9fa;
    padding: 20px;
}

.modal-footer {
    border-top: 2px solid #f8f9fa;
    padding: 20px;
}

/* Form control styling */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Checkbox and radio button styling */
.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* Pagination styling */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: none;
    color: #667eea;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

/* Dashboard cards */
.dashboard-stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dashboard-stat-card .stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #667eea;
}

.dashboard-stat-card .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.dashboard-stat-card .stat-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sidebar styling */
#sidebarMenu {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
}

#sidebarMenu .nav-link {
    color: #ecf0f1;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 5px 10px;
    transition: all 0.3s;
}

#sidebarMenu .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

#sidebarMenu .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#sidebarMenu .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-stat-card {
        margin-bottom: 15px;
    }
    
    .dashboard-stat-card .stat-number {
        font-size: 28px;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Animation for page load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}