/* assets/css/style.css */

/* Umum */
body {
    background-color: #f8f9fa;
}

/* Header */
.header {
    background-color: #0d6efd;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

/* Card */
.card {
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.card-header {
    background-color: #e7f1ff;
    border-bottom: 1px solid #d0e1ff;
}

/* Button */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    margin-top: 30px;
}

/* Halaman Login */
.login-container {
    max-width: 400px;
    width: 100%;
}

.login-card {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.login-header {
    background-color: #0d6efd;
    color: white;
    text-align: center;
    border-radius: 10px 10px 0 0 !important;
    padding: 20px;
}

/* Halaman Diagnosa */
.certainty-option {
    margin-right: 10px;
}

/* Halaman Hasil */
.result-heading {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.result-percentage {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd;
}

.result-info {
    margin-top: 20px;
}

.progress {
    height: 25px;
}

/* Admin Dashboard */
.sidebar {
    background-color: #343a40;
    color: white;
    min-height: calc(100vh - 56px);
    padding-top: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 0;
    padding: 12px 20px;
}

.sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

.content {
    padding: 20px;
}

.admin-header {
    background-color: #212529;
    color: white;
    padding: 15px 0;
    margin-bottom: 20px;
}

.stats-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.stats-icon {
    width: 60px;
    height: 60px;
    background-color: #e7f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: #0d6efd;
}

.stats-info h4 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.stats-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Tambahkan ke file style.css */

/* Tampilan untuk hasil "Tidak Diabetes / Gaya Hidup Sehat" */
.healthy-card {
    border-color: #28a745 !important;
    background-color: #f8fff8;
}

.healthy-card .card-title {
    color: #28a745;
}

.healthy-card .result-percentage {
    color: #28a745;
}

.healthy-card .progress-bar {
    background-color: #28a745 !important;
}

.healthy-icon {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gejala-section {
    margin-bottom: 2rem;
}

.gejala-section h5 {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.gejala-utama {
    background-color: #e7f1ff;
    border-left: 5px solid #0d6efd;
}

.gejala-pola-hidup {
    background-color: #e8f7ee;
    border-left: 5px solid #28a745;
}

/* Tooltips yang lebih informatif */
.tooltip-inner {
    max-width: 300px;
    padding: 10px;
    background-color: #343a40;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Badges untuk tingkat keyakinan */
.badge-certainty {
    padding: 6px 10px;
    font-weight: normal;
    font-size: 0.85rem;
}

.badge-not {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6;
}

.badge-maybe {
    background-color: #e0f2fc !important;
    color: #0dcaf0 !important;
}

.badge-likely {
    background-color: #c9e6ff !important;
    color: #0d6efd !important;
}

.badge-almost {
    background-color: #ccf0e0 !important;
    color: #198754 !important;
}

.badge-certain {
    background-color: #175e3f !important;
    color: #fff !important;
}

/* Print styling */
@media print {
    .btn-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .footer {
        margin-top: 20px !important;
        padding: 10px 0 !important;
        background-color: transparent !important;
        color: #000 !important;
        border-top: 1px solid #ddd !important;
    }
}