@font-face {
    font-family: 'Gwibble';
    src: url('/assets/font/Gwibble.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.average-row {
    background-color: #f2f2f2; /* Light grey background */
    font-weight: bold; /* Make text bold to stand out */
}

#chartContainer canvas {
    max-height: 100% !important; /* Make sure the canvas respects the container's max-height */
    aspect-ratio: 1 / 2; /* Optional: Control the aspect ratio of the canvas */
}

#chartContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 500px;
    width: 100%; /* Adjust the width as needed */
    position: relative;
}


.kids-font {
    font-family: "Gwibble", serif;
    font-size: 4rem;
    color: rgb(10 19 161);
}

.offcanvas{
    width: 40% !important;
}

a:hover {
    text-decoration: none;
}

body{
    background-image: url("/assets/img/circles.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.user-tab {
    max-width: 200px;
    background-color: #FDC3C3; /* Change to your preferred color */
    padding: 12px;
    position: fixed;
    top: 0;
    right: 0;
    text-align: center;
    border-bottom-left-radius: 10px; /* Rounded edge on the opposite side */
    z-index: 1000; /* Set a high z-index to be on top of other layers */
}

.copyright {
    position: absolute;
    bottom: 0;
    background-color: #F9F8F7;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

.link {
    color: #007bff;
    display: inline-block;
    text-decoration: none;
    font-weight: 400
}

.loginForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px; /* Set the maximum width */
    margin: 0 auto; /* This will center the card horizontally in its parent */
}

#krugovi{
    cursor: pointer;
}

#circleName {
    margin-left: 50px;
    margin-right: 50px;
}

#circleDesc{
    margin-left: 50px;
    margin-right: 50px;
}

#itemList{
    font-weight: bold;
}

.list-group {
    background-color: transparent;
    border: none; /* Remove the default border */
}

.list-group-item {
    position: relative;
    background-color: rgba(255, 255, 255, 0.5); /* Set a semi-transparent white background */
    padding: 2px 0;
}

.remove-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}
.list-group-item:hover .remove-icon {
    display: block;
}

.duplicate-highlight {
    background-color: #fd9e9e; /* Highlight color for duplicate items */
}

/* Add a max-height and overflow-y to limit dropdown height and enable scrollbar */
.dropdown-menu {
    max-height: 200px; /* Adjust the maximum height as needed */
    overflow-y: auto;
    width: 100%;
}

.modal-header{
    border-bottom: 1px solid #7e7d7d;
    padding-bottom: 0;
}

.modal-footer{
    display: block;
    border-top: 1px solid #7e7d7d;
    padding-top: 5px;
}

/* Set modal body to fit circular shape */
.modal-body {
    text-align: center;
    padding: 0 30px;
}

.modal-dialog{
    max-width: 600px !important;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 590px;
}


/* Custom CSS for circular modal */
.modal-content.rounded-circle {
    border-radius: 50%;
    overflow: visible;
    transform: scale(0.5); /* Initial scale - hidden state */
    opacity: 0; /* Initially hidden */
    transition: transform 0.3s ease, opacity 80ms ease; /* Transition effect */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/* CSS for showing the modal with a popup effect */
.modal.fade.show .modal-content.rounded-circle {
    transform: scale(1); /* Scaled to 100% - shown state */
    opacity: 1; /* Fully visible */
}

/* Add your existing styles here */

.circle-container {
    position: fixed;
    top: 100px;
    left: 100px;
    z-index: 999; /* Ensure it appears above other content */
}

.circle {
    width: 100px;
    height: 100px;
    background-color: #33B9FF; /* Your desired background color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#circleScore {
    margin: 0;
    font-size: 35px; /* Adjust the font size as needed */
    color: white; /* Text color */
}

.changed {
    background-color: #ffffcc; /* Change to your preferred highlight color */
    transition: background-color 0.5s ease;
}

.tooltip-inner {
    text-align: start !important;
}

.analiza-header {
    display: flex;             /* Enables flexbox layout */
    flex-direction: column;    /* Aligns items vertically */
    align-items: center;       /* Centers items horizontally */
    justify-content: center;   /* Centers items vertically */
    text-align: center;        /* Centers text inside items */
    padding-bottom: 1rem;      /* Adds padding at the bottom */
}

#school-selector {
    width: 200px;              /* Sets dropdown width */
    padding: 10px;             /* Adds padding inside the dropdown */
    font-size: 1rem;           /* Sets font size for dropdown text */
    border: 1px solid #ccc;    /* Adds a border to the dropdown */
    border-radius: 4px;        /* Rounds the edges of the dropdown */
    margin-top: 1rem;          /* Adds spacing above the dropdown */
    background-color: #ffffff; /* Adds a subtle background color */
}

/* Hide the scrollbar background for WebKit-based browsers */
::-webkit-scrollbar {
    background: transparent; /* Removes the scrollbar background */
    width: 10px; /* Adjust width if needed */
}

/* Customize the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: #888; /* Optional: Set a color for the thumb */
    border-radius: 5px; /* Rounded corners for the thumb */
}

/* Optional: Hover effect for the thumb */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Scrollbar for Firefox */
* {
    scrollbar-width: thin; /* Makes the scrollbar thin */
    scrollbar-color: #888 transparent; /* Thumb color and transparent background */
}

/* Hide scrollbar background for Microsoft Edge and IE */
::-ms-scrollbar {
    background: transparent; /* Removes the scrollbar background */
}