/* ========================
   CONTENT AREA
   ======================== */
.content-wrapper {
    background-color: #0d0d0d !important;
    color: #e6e6e6;
}

.content-header {
    background-color: #0d0d0d !important;
    border-bottom: 1px solid #2c2c2c;
    color: #fff;
}

.breadcrumb-item a {
    color: #3b82f6;
}

.breadcrumb-item.active {
    color: #1e40af;
}

/* ========================
   GENERAL LAYOUT COLORS
   ======================== */
body {
    background-color: #0d0d0d;
    color: #e6e6e6;
}

.main-sidebar {
    background-color: #0d0d0d;
}

.nav-sidebar .nav-link {
    color: #ccc;
}

.nav-sidebar .nav-link.active {
    background-color: #3b82f6 !important;
    color: #fff !important;
}

.nav-sidebar .nav-link:hover {
    background-color: #1e40af;
    color: #fff !important;
}

.main-header.navbar {
    background-color: #1a1a1a;
    color: #fff;
}

.main-header.navbar .nav-link {
    color: #ccc;
}

.main-header.navbar .nav-link:hover {
    color: #3b82f6;
}

/* ========================
   FIX BLUE UI + FOCUS
   ======================== */
:focus,
button:focus,
.btn:focus,
.form-control:focus,
.page-link:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6) !important;
    border-color: #3b82f6 !important;
}

.page-item.active .page-link {
    background-color: #3b82f6 !important;
    border-color: #1e40af !important;
    color: #fff !important;
}

/* ========================
   SIDEBAR TOGGLE BUTTON
   ======================== */
.navbar-light .navbar-toggler,
.navbar-dark .navbar-toggler,
[data-widget="pushmenu"] {
    color: #3b82f6 !important;
    border: 1px solid #3b82f6 !important;
    background-color: #1a1a1a !important;
}

.navbar-toggler:hover,
[data-widget="pushmenu"]:hover {
    background-color: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
}

.navbar-toggler:focus,
[data-widget="pushmenu"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6) !important;
    border-color: #3b82f6 !important;
}

/* Force hamburger icon to be blue */
.navbar-light .navbar-toggler-icon,
.navbar-dark .navbar-toggler-icon {
    background-image: none !important;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3b82f6 !important;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.navbar-toggler-icon div {
    top: 50%;
    transform: translateY(-50%);
}

/* ========================
   CARDS
   ======================== */
.card {
    background-color: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #2c2c2c;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.5);
}

.card-primary.card-outline .card-header {
    background-color: #3b82f6;
    color: #fff;
}

.card-title {
    color: #fff;
}

/* ========================
   BUTTONS
   ======================== */
.btn-primary,
.btn-info {
    background-color: #3b82f6;
    border-color: #1e40af;
    color: #fff;
}

.btn-primary:hover,
.btn-info:hover {
    background-color: #1e40af;
    border-color: #0f172a;
}

.btn-dark {
    background-color: #1a1a1a;
    border-color: #0d0d0d;
    color: #fff;
}

.btn-dark:hover {
    background-color: #0d0d0d;
    border-color: #000;
}

/* ========================
   LINKS
   ======================== */
a {
    color: #3b82f6;
    text-decoration: none;
}

a:hover {
    color: #1e40af;
}

/* ========================
   IMAGES
   ======================== */
.img-fixed {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* ========================
   SOCIAL BUTTONS
   ======================== */
.social-btns a {
    flex: 1;
    text-align: center;
    margin: 5px;
    padding: 8px;
    font-weight: 600;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.social-btns a:hover {
    background-color: #3b82f6;
    color: #fff;
}

/* ========================
   MEDIA QUERIES
   ======================== */
@media (max-width: 768px) {
    .img-fixed {
        height: 150px;
    }
}

/* ========================
   BRANDING
   ======================== */
.brand-link {
    display: flex;
    align-items: center;
}

.brand-image {
    max-height: 40px;
    width: auto;
    margin-right: 10px;
}