/* ---------- General Body ---------- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* ---------- Navbar ---------- */
.navbar {
    background-color: #7a0e14 !important; /* Your main brand color */
}
.navbar .navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff !important;
}
.navbar .nav-link {
    color: #fff !important;
}
.navbar .nav-link:hover {
    color: #ffc107 !important;
}

/* ---------- Cards ---------- */
.card {
    border-radius: 0.8rem;
    transition: all 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ---------- Buttons ---------- */
.btn-primary {
    background-color: #7a0e14;
    border-color: #7a0e14;
}
.btn-primary:hover {
    background-color: #9b1620;
    border-color: #9b1620;
}
.btn-warning {
    background-color: #ffc107;
    color: #000;
}
.btn-warning:hover {
    background-color: #e0a800;
    color: #000;
}

/* ---------- Tables ---------- */
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f2f2f2;
}
.table th, .table td {
    vertical-align: middle;
    text-align: center;
}

/* ---------- Forms ---------- */
form input, form select, form textarea {
    border-radius: 0.4rem;
    border: 1px solid #ced4da;
    padding: 0.5rem;
}

/* ---------- Headings ---------- */
h2, h3, h4 {
    color: #7a0e14;
    margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 1rem;
}

/* ---------- Alerts ---------- */
.alert {
    border-radius: 0.5rem;
}

/* ---------- Dashboard Charts ---------- */
canvas {
    background-color: #fff;
    border-radius: 0.6rem;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ---------- Utility Classes ---------- */
.text-center {
    text-align: center;
}
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.p-3 { padding: 1rem !important; }
.shadow { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
