html {
    font-size: 14px;
    height: auto;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html,
body {
    height: auto;
    min-height: auto;
}

body {
    margin: 0;
    background-color: #111827;
    color: #e5e7eb;
}


/* Navbar */

.navbar {
    background-color: #1f2937 !important;
    border-bottom: 1px solid #374151;
}


.navbar-brand {
    color: #38bdf8 !important;
}


.navbar .nav-link {
    color: #d1d5db !important;
}


    .navbar .nav-link:hover {
        color: #38bdf8 !important;
    }


/* Main page wrapper */

.page-wrapper {
}


.main-content {
    padding-top: 25px;
    padding-bottom: 60px;
}


/* Dashboard container */

.container-fluid {
    padding-left: 25px;
    padding-right: 25px;
}


/* Cards */

.card {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
    border: 1px solid #374151 !important;
    border-radius: 12px;
}


.card-body {
    background-color: #1f2937 !important;
}


.card:hover {
    transform: translateY(-3px);
    transition: 0.2s;
}


/* Card headers */

.card-header {
    background-color: #111827 !important;
    color: #e5e7eb !important;
    border-bottom: 1px solid #374151 !important;
}


/* Text */

.text-muted {
    color: #9ca3af !important;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    color: #f9fafb;
}


/* Buttons */

.btn-primary {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
}


.btn-outline-primary {
    color: #38bdf8 !important;
    border-color: #38bdf8 !important;
}


    .btn-outline-primary:hover {
        background-color: #38bdf8 !important;
        color: #111827 !important;
    }


/* Tables - Dashboard Recent Tickets / Recent Assets */

.card .table {
    background-color: transparent !important;
    color: #e5e7eb !important;
}


    .card .table thead th {
        background-color: #111827 !important;
        color: #9ca3af !important;
        border-color: #374151 !important;
    }


    .card .table tbody tr {
        background-color: #1f2937 !important;
    }


    .card .table tbody td {
        background-color: #1f2937 !important;
        color: #e5e7eb !important;
        border-color: #374151 !important;
    }


.card .table-hover tbody tr:hover td {
    background-color: #374151 !important;
}


/* All tables */

.table {
    color: #e5e7eb !important;
}


    .table td,
    .table th {
        border-color: #374151 !important;
    }


/* Footer */

.footer {
    position: static !important;
    background-color: #1f2937;
    color: #9ca3af;
    border-top: 1px solid #374151;
    padding: 20px 0;
    width: 100%;
    margin-top: 40px;
}


/* PoseidonOne administration and knowledge base */
.admin-nav-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #4b5563;
    border-radius: 10px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 19px;
    transition: .15s ease;
}
.admin-nav-button:hover {
    color: #fff;
    background: #374151;
    border-color: #6b7280;
    transform: none;
}

.admin-tile, .kb-card {
    display: block;
    height: 100%;
    padding: 22px;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 14px;
    color: #e5e7eb;
    text-decoration: none;
    transition: .15s ease;
}
.admin-tile:hover, .kb-card:hover {
    color: #fff;
    border-color: #4b5563;
    transform: translateY(-2px);
}
.admin-tile {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.admin-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #111827;
    font-size: 22px;
}
.admin-tile h4, .kb-card h4 {
    margin: 0 0 7px;
}
.admin-tile p, .kb-card p {
    margin: 0 0 10px;
    color: #9ca3af;
}
.admin-tile span {
    font-size: .85rem;
    color: #38bdf8;
}
.kb-card .kb-category, .kb-detail .kb-category {
    color: #38bdf8;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.kb-card h4 {
    margin-top: 18px;
}
.kb-editor {
    min-height: 360px;
    font-family: inherit;
}
.kb-content {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #e5e7eb;
}
