body {
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 4px;
    background: linear-gradient(to right top, #00276b, #00215b, #001c4b, #00163b, #000e2c);
    height: 1500px;
}

.unit {
    font-size: 18px;
    font-weight: bold;
}

.unit2 {
    font-size: 15px;
}

.logo {
    display: block;
    width: 200px;
}

.sidebar {
    width: 250px;
    background: linear-gradient(to left top, #0B1F41, #09204c, #081a3f, #07173a, #050f28);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    box-sizing: border-box;
    border-style: solid;
    border-radius: 10px;
    border-color: rgba(132, 132, 132, 0.468);
    border-width: 2px;
    border-left: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom: none;
    border-bottom-right-radius: 0px;
}

.sidebar .logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 15px 0;
    padding: 10px;
    background: #333;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}


.sidebar ul li:hover {
    background-image: linear-gradient(to right top, #3d5a8c, #355181, #2e476f, #273c5c, #1d314a);

}

.sidebar ul .disabled:hover {
    background: #252525;
}

.main {
    margin-left: 260px;
    padding: 20px;
    box-sizing: border-box;
    margin-right: 450px;
}

.search-bar {
    display: flex;
    color: white;
    margin-bottom: 20px;
}

.audit {
    width: 15%;
    font-family: "Red Hat Display", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    border-radius: 10px;
    border-style: solid;
    background-color: #252525;
    border-color: rgba(255, 255, 255, 0.425);
    color: white;
    cursor: pointer;
    border-width: 1px;
    margin-left: 5px;
    letter-spacing: 2px;
}

.audit:hover {
    background-image: linear-gradient(to right top, #001f3d, #002c4b, #003a58, #004866, #055772);
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0);
    color: white;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.309);
}

.search-bar input::placeholder {
    color: white;
}

.overview {
    position: relative;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.345);
    background-image: linear-gradient(to right top, #002463, #001f5a, #00174f, #001245, #000e3a);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: height 0.5s ease-out, padding 0.5s ease-out, opacity 0.5s ease-out;
    animation: glow 3s infinite alternate;
}


.overview h2 {
    margin-top: 0;
    padding: 10px;
    background-color: #fefefe00;
    border-radius: 10px;
    border-width: 2px;
    border-style: none;
    border-color: rgba(255, 255, 255, 0.345);
    font-size: 15px;
    width: fit-content;

}

.cards {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.card {
    background-color: #1b3269bc;
    padding: 5px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    margin: 0 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0);
    border-width: 2px;
    height: 70px;
}

.cardLP {
    position: relative;
    background: #000000;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(33, 99, 62, 1) 87%, rgba(9, 79, 38, 1) 100%, rgba(48, 179, 0, 1) 100%);
    border-radius: 10px;
    text-align: center;
    margin: 0 10px;
    border-style: none;
    border-color: rgba(255, 255, 255, 0);
    border-width: 2px;
    width: 270px;
}

.progress-ring {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#00ff08 0% 60%,
            /* Progress */
            #717171 0% 100%
            /* Track */
        );
    position: absolute;
    right: 10px;
    top: 10px;
    /* Glowing effect */
    animation: glow2 2s infinite ease-in-out;
}

.progress-ring:hover {
    cursor: pointer;
}

@keyframes glow2 {
    0% {
        box-shadow: 0 0 5px #00ff08, 0 0 10px #00ff08, 0 0 15px #00ff08;
    }

    50% {
        box-shadow: 0 0 15px #00ff08, 0 0 30px #00ff08, 0 0 15px #00ff08;
    }

    100% {
        box-shadow: 0 0 5px #00ff08, 0 0 10px #00ff08, 0 0 15px #00ff08;
    }
}


@keyframes glow3 {
    0% {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000;
    }

    50% {
        box-shadow: 0 0 15px #ff0000, 0 0 30px #ff0000, 0 0 15px #ff0000;
    }

    100% {
        box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000;
    }
}


.progress-ring::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: rgb(0, 0, 0);
    /* Center background */
    border-radius: 50%;
    z-index: 1;
}

.progress-ring:hover::before {
    background: rgba(28, 28, 28, 0.744);
    /* or any color you like */
}




.progress-ring span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    z-index: 2;
    color: #c2c2c2;
}

.name-logo {
    display: flex;
}

.project-logo {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.597);
    border-width: 2px;
    margin-right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.social-button {
    margin: 5px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #a3cbff;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-button {
    background-color: #1b3269bc;
    /* dark gray */
    color: #E5E7EB;
    /* light gray text */
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* spacing between icon and text */
    cursor: pointer;
    transition: background-color 0.2s ease;

}

.social-button i {
    color: inherit;
    /* icon inherits text color */
    font-size: 1.25rem;
}

.social-button:hover {
    background-color: #4B5563;
    /* lighter gray on hover */

}

.card i {
    margin-top: -5%;
    font-size: 35px;
    color: #ffffffcf;
    margin-bottom: 2%;
}

.cardLP i {
    font-size: 35px;
    color: #ffffffcf;
    margin-bottom: 4%;
}

.card:first-child {
    margin-left: 0;
}

.card:last-child {
    margin-right: 0;
}

.links {
    width: fit-content;
    text-align: center;
    margin-top: 10px;
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-radius: 10px;
    border-color: #ffffff00;
    border-width: 1px;
    /* background-image: linear-gradient(to right top, #001f3d, #002c4b, #003a58, #004866, #055772); */
}

.links a {
    font-size: 17px;
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;

}

.audit-status {
    max-height: 400px;
    /* pick any height you like */
    overflow-y: auto;
    /* vertical scrollbar appears on overflow */
    border: 1px dashed #dddddd90;
    border-radius: 10px;
    padding: 20px;
    /* optional styling */
}

.audit-status::-webkit-scrollbar {
    width: 8px;
    /* vertical scrollbar width */
}

.audit-status::-webkit-scrollbar {
    width: 10px;
}

.audit-status::-webkit-scrollbar-thumb {
    background: linear-gradient(#ffffff, #001f5a);
    border-radius: 20px;
}

.audit-status::-webkit-scrollbar-track {
    background: #3f3f3f;
    border-radius: 20px;
}

.audit-status table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
}

.audit-status table th,
.audit-status table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.audit-status table tr:hover {
    background: #333;
}


.details {
    display: none;
    background-color: #f9f9f900;
    padding: 10px;
    border: 1px none #ddd;
    margin-top: 5px;
    width: 100%;
    box-sizing: border-box;
}






/* Fade-in effect for cards and rows */
.card,
.links,
.details,
.audit-status table tr {
    opacity: 0;
    transform: translateY(30px);
    /* Slightly moved down initially */
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Slide-in effect for elements (cards, links, etc.) */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
        /* Back to normal position */
    }
}

/* Card-specific animation delay (cards will stagger slightly when they appear) */
.card:nth-child(1) {
    animation-delay: 0.4s;
}

.card:nth-child(2) {
    animation-delay: 0.6s;
}

.card:nth-child(3) {
    animation-delay: 0.8s;
}

.card:nth-child(4) {
    animation-delay: 1.0s;
}

/* Hover effect on rows to highlight them */
.audit-status table tr:hover {
    background: #d0d0d081;
    transform: scale(1.02);
    transition: transform 0.2s ease;
    cursor: pointer;
}

/* Animation for the details section when it appears */
.details {
    animation: slideIn 0.4s ease-out forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        /* Start slightly lower */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Back to normal position */
    }
}

/* Transition effect when elements are shown/hidden */
.details {
    transition: opacity 0.3s ease-in-out;
}

/* Example hover effect for audit button to make it more interactive */
.audit:hover {
    background-image: linear-gradient(to right top, #3d5a8c, #355181, #2e476f, #273c5c, #1d314a);
    transform: scale(1.05);
    transition: transform 0.2s ease;
}




.loadingtext {
    font-size: 35px;
}




.myIframe {
    margin-top: 5%;
    display: block;
    width: 100%;
    height: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.345);
}


@keyframes glow {
    0% {
        box-shadow: 0 0 15px 5px rgba(153, 153, 153, 0.6);
    }

    100% {
        box-shadow: 0 0 25px 10px rgba(0, 36, 99, 1);
    }
}

.loading-dots {
    font-size: 25px;
    color: rgb(255, 255, 255);
}

.loading-dots::after {
    font-size: 35px;
    content: " ";
    display: inline-block;
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {
    0% {
        content: ".";
    }

    33% {
        content: "..";
    }

    66% {
        content: "...";
    }

    100% {
        content: ".";
    }
}


.funny-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.bar {
    width: 0;
    height: 12px;
    background: linear-gradient(to right, #00ffd5, #ff00c8);
    border-radius: 8px;
    animation: bouncebar 2s ease-in-out infinite;
}

.text {
    font-size: 12px;
    margin-top: 6px;
    color: #bbbbbb;
    font-style: italic;
}

@keyframes bouncebar {
    0% {
        width: 0;
    }

    50% {
        width: 80%;
    }

    100% {
        width: 0;
    }
}