/* ================= GOOGLE FONT ================= */
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");

/* ================= GLOBAL ================= */
* {
    font-family: 'Poppins', sans-serif;
}

body {
    background: #F8F9FB;
    font-size: 14px;
    color: #1F2937;
    margin: 0;
}

/* ================= TEXT ================= */
p {
    font-size: 1em;
    font-weight: 300;
    line-height: 1.6;
    color: #6B7280;
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

/* ================= DATATABLE ================= */
.paginate_button,
.dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    padding: 0 !important;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 5px 18px !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 2px 5px !important;
}

.example {
    width: 100%;
    font-size: 11px;
}

.example th,
.example td {
    text-align: center !important;
    vertical-align: middle;
}

/* ================= INPUT ================= */
input {
    color: black !important;
    font-weight: bold !important;
}

/* Remove number arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* ================= CARD ================= */
.card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    border-radius: 14px 14px 0 0;
    padding: 15px 20px;
}

.card-header h4 {
    font-weight: 600;
    margin: 0;
}

/* ================= BUTTON ================= */
.btn-warning {
    background: #FF6B00 !important;
    border: none;
    color: #fff !important;
    border-radius: 8px;
    padding: 4px 10px;
}

.btn-warning:hover {
    background: #E65C00 !important;
}

.add {
    background: #FF6B00;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
}

.add:hover {
    background: #E65C00;
}

/* ================= FORM ================= */
.form-control {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    padding: 5px 8px;
    font-size: 13px;
}

.form-control:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 0 2px rgba(255,107,0,0.1);
}

.form-label {
    font-size: 13px;
    font-weight: 500;
}

/* ================= NAVBAR ================= */
.navbar {
    padding: 15px 10px;
    background: white;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.navbar-btn {
    border: none;
    outline: none;
}

/* ================= SIDEBAR ================= */
.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    height: 100vh;
    background: white;
    transition: 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    /*padding: 10px;*/
}

#sidebar ul.components {
    border-bottom: 1px solid #eee;
}

#sidebar ul li a {
    display: block;
    align-items: center;
    padding: 10px 14px;
    margin: 6px 10px;
    border-radius: 10px;
    color: #374151;
    transition: 0.3s;
}

/* Sidebar hover */
#sidebar ul li a:hover {
    background: #ffcc00;
    color: #FF6B00;
    transform: translateX(4px);
}

#sidebar ul li a:hover i {
    color: #ffcc00;
}

.components li a i {
    color: #f7f249;
}

/* ================= CONTENT ================= */
#content {
    width: calc(100% - 250px);
    padding: 30px;
    min-height: 100vh;
    margin-left: 250px;
    transition: 0.3s;
}

#content.active {
    width: 100%;
    margin-left: 0;
}

.example thead th {
    color: #FF6B00 !important;
    font-weight: 600;
}
/* ================= TABLE HEADER COLOR ================= */
table.dataTable thead th {
    color: #FF6B00 !important;
    font-weight: 600;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #content {
        width: 100%;
        margin-left: 0;
    }

    #content.active {
        margin-left: 250px;
    }
}