﻿html, body, h1, h2, h3, h4, h5, h6, p, div, span, a, li, ul, ol, table, tr, td, th, input, button, select, textarea {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.rubik {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


.playpen {
    font-family: "Playpen Sans Arabic", cursive;
    font-optical-sizing: auto;
    font-style: normal;
}

.momo-trust {
    font-family: "Momo Trust Display", sans-serif;
    font-weight: 100;
    font-style: normal;
}



.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


html, body {
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}


/*html[data-bs-theme="light"] {
    background: var(--bg-light);
    color: var(--text-light);
}


html[data-bs-theme="dark"] {
    background: var(--bg-dark);
    color: var(--text-dark);
}*/


.navbar-brand {
    color: var(--bs-primary) !important;
}

.sidebar {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.sidebar a {
    color: var(--bs-primary);
    text-decoration: none;
}

.sidebar a:hover {
    color: var(--bs-primary-hover);
}

.breadcrumb-item a {
    max-width: 160px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
}

[data-bs-theme="dark"] .btn-dark {
    background-color: #5b47fb;
    border-color: #5b47fb;
}

[data-bs-theme="dark"] .btn-outline-dark {
    color: #5b47fb;
    border-color: #5b47fb;
}

/* Datatable ######################################## */
table td {
    text-align: left;
    vertical-align: middle;
}

td a:not(.btn) {
    color: #5b47fb;
    font-weight: 600;
    text-decoration: none;
}

    td a:not(.btn):after {
        content: '  ►'
    }
/* Datatable ######################################## */

/*fix tables in card to take full width*/
.dt-container {
    width: 100%;
}

    .dt-container table {
        width: 100% !important;
        overflow-x: auto;
    }

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px;
    background-color: var(--bs-light-bg-subtle) !important;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    }

.card-body {
/*    display: flex;
    justify-content: space-between;*/
    align-items: center;
    padding: 5px 20px;
    /*flex-direction: column;*/
}

.card h5 {
    color: var(--icon-color);
    font-size: 1rem;
    margin-bottom: 5px;
    width: 100%;
}

.card h3 {
    font-weight: bold;
}


.icon-container {
    background: var(--icon-bg-color);
    width: 50px;
    border-radius: 50%;
    height: 50px;
    position: relative;
}

    .icon-container i {
        color: var(--icon-color);
        font-size: 24px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.card-footer {
    background: var(--icon-bg-color);
    border-top: none;
    padding-top: 10px;
}

    .card-footer a {
        text-decoration: none;
        color: var(--icon-color);
    }

.card-header {
    background: transparent;
    border-bottom: none;
    text-align: center;
    padding-top: 10px;
}

    .card-header h5 {
        color: var(--icon-color);
        font-size: 1rem;
        margin-bottom: 0;
        text-align: left
    }
/*################### card design ########################*/
