@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #f4f7fe;
    color: #1e293b;
}

.container {
    max-width: 1400px;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-header {
    border: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 20px 20px 0 0 !important;
}

.stat-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p {
    color: #64748b;
    margin: 0;
}

.progress {
    height: 20px !important;
    border-radius: 50px;
    overflow: hidden;
    background: #e2e8f0;
}

.progress-bar {
    font-weight: 600;
}

.kanban {
    min-height: 600px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 15px;
}

.content-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    cursor: move;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.content-card h5 {
    font-size: 17px;
    font-weight: 600;
}

.badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.btn {
    border-radius: 12px;
    font-weight: 500;
}

.btn-sm {
    padding: 8px 14px;
}

textarea,
input,
select {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

textarea:focus,
input:focus,
select:focus {
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1) !important;
}

h2 {
    font-weight: 700;
}

.content-card small {
    color: #64748b;
}

.content-card hr {
    margin: 10px 0;
}

@media (max-width: 768px) {

    .col-md-4 {
        margin-bottom: 20px;
    }

    .stat-box h3 {
        font-size: 28px;
    }

}

body.dark {
    background: #0f172a;
    color: white;
}

body.dark .card {
    background: #1e293b;
    color: white;
}

body.dark .kanban {
    background: #334155;
}

body.dark .content-card {
    background: #475569;
    color: white;
}

body.dark input,
body.dark textarea,
body.dark select {
    background: #334155;
    color: white;
    border-color: #475569 !important;
}

/* DARK MODE */

body.dark {
    background: #0f172a !important;
    color: #f8fafc !important;
}

body.dark .card {
    background: #1e293b !important;
    color: #f8fafc !important;
}

body.dark .stat-box {
    background: #334155 !important;
    color: #f8fafc !important;
}

body.dark .kanban {
    background: #1e293b !important;
}

body.dark .content-card {
    background: #475569 !important;
    color: #f8fafc !important;
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark p,
body.dark small,
body.dark label {
    color: #f8fafc !important;
}

body.dark .text-muted {
    color: #cbd5e1 !important;
}

body.dark input,
body.dark textarea,
body.dark select,
body.dark .form-control,
body.dark .form-select {
    background: #334155 !important;
    color: white !important;
    border: 1px solid #64748b !important;
}

body.dark .progress {
    background: #475569 !important;
}

/* FORCE DARK MODE */

body.dark {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

body.dark .container {
    color: #f8fafc !important;
}

body.dark .card,
body.dark .stat-box,
body.dark .content-card {
    background: #1e293b !important;
    color: #f8fafc !important;
}

body.dark .kanban {
    background: #0f172a !important;
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark p,
body.dark small,
body.dark label {
    color: #f8fafc !important;
}

body.dark .text-muted {
    color: #cbd5e1 !important;
}

body.dark input,
body.dark textarea,
body.dark select,
body.dark .form-control,
body.dark .form-select {
    background: #334155 !important;
    color: white !important;
    border-color: #475569 !important;
}

body.dark .progress {
    background: #334155 !important;
}

.chart-wrapper {
    width: 20px;
    height: 20px;
    margin: 20px auto;
    position: relative;
}