﻿
.body-container {
    height: 200px;
    border-radius: 10px;
    margin: -12px;
    padding: 10px;
    margin-bottom: -90px;
}

.atas-sikit{
    margin: 0em 1em;
}

.card-title {
    color: rgba(0, 0, 0, 0.8);
    font-size: 20px;
/*    padding-top: 10px;*/
    margin: 1em 2em;
}

main-dashboard-card {
    
}

.main-dashboard-detail {
    background-color: white;
    margin: 10px 10px;
    padding: 20px 20px 10px 20px;
    border-radius: 10px;
    width: 95%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}


a {
    color: black;
    text-decoration-line: none;
}

.main-visual {
    float : right;
}

    .main-visual > img {
        height: 45px;
    }

.main-details{

}

    .main-details .main-desc {
        font-size: 16px;
    }

    .main-details .main-number {
        font-size: 60px;
        color: var(--card-colour);
    }

.main-dashboard-statistik {
    background-color: white;
    padding: 2em;
    border-radius: 10px;
    margin:2em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dashboard-table{
    padding: 20px 10px 40px 10px;
}

.card-onlineuser {
    font-size: 14px;
    text-decoration: none;
    color: black;
    position: absolute;
    right: 0px;
    padding: 5px;
    margin: 2em;
    margin-top: -2px;
}

    .card-onlineuser > img {
        height: 50px;
    }

.circle {
    width: 20px;
    height: 20px;
    background-color: lightgreen ;
    border-radius: 50%;
    animation: blink 5s ease-in-out infinite;
}

.title-chart{
    text-align: center;
    font-size: 26px;
    font-weight: bold;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.image-container img {
    display: block; /* Circular image */
}

.btn-setting {
    position: absolute;
    bottom: 10px; /* Adjust to position at the bottom of the image */
    right: 10px; /* Adjust to position at the right of the image */
    background-color: white; /* Optional: background for the button */
    border: none; /* No border */

    border-radius: 50%; /* Circular button */
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow */
}

    .btn-setting i {
        color: #333; /* Customize icon color */
    }

.icon-stack {
    position: relative;
    display: inline-block;
}

    .icon-stack .fa-cog {
        position: absolute;
        top: -2px;
        right: -4px;
        font-size: 0.6em;
    }

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.icon-theme {
    font-size: 24px;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.flag {
    font-size: 24px;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "MY";
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 50%;
        left: 5px;
        background-color: #007bff;
        color: white;
        border-radius: 50%;
        font-size: 14px;
        font-weight: bold;
        transition: 0.4s;
    }

input:checked + .slider {
    background-color: #ffca28;
}

    input:checked + .slider:before {
        content: "Eng";
        background-color: #f39c12;
        transform: translateX(40px);
    }

.slider-theme {
    position: absolute;
    cursor: pointer;
    top: -10px;
    left: 0;
    right: 0;
    bottom: 10px;
    background-color: #ffca28;
    transition: 0.4s;
    border-radius: 34px;
}

    .slider-theme:before {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 50%;
        left: 5px;
        /* background-color: #007bff; */
        color: white;
        border-radius: 50%;
        transition: 0.4s;
        content: "";
    }

    .slider-theme img {
        height: 20px;
        width: 20px;
        border-radius: 50%;
        transition: 0.4s;
        position: absolute;
        left: 10px;
        top: 7px;
    }

input:checked + .slider-theme {
    background-color: #ccc;
}

    input:checked + .slider-theme img {
        transform: translateX(40px);
    }

.menu {
    margin: 10px;
    width: 250px;
    color: white;
}

.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 5px;
}

    .search-results li {
        padding: 10px;
        cursor: pointer;
    }

        .search-results li:hover {
            background-color: #f0f0f0;
        }


.noti_name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-right {
    margin-left: auto;
}

.dropdown-item-text a {
    text-decoration: none;
    color: black;
}

