:root {
    --primary-color: #009FEF;
    --secondary-color: #0893d8;
    --background-color: #f8f9fa;
    --slate100: #FAFAFA;
    --slate50: #ffffff;
    --border: #DEE2E6ff;
}


/* Help button */
.help-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

/* BC button */
.btn-outline-primary{
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover{
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Card List */
.object-name {
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.object-name {
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.btn-container-documentation{
    background-color: var(--slate100);
    border-radius: 15px;
}

.link-drop{
    padding: 15px 20px;
}

.form-control{
    padding: 15px;
}

.button-action{
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content:center;
    padding: 0 15px;
}

/* Card Template */
.card{
    padding: 0 20px;
    border-radius: 10px;
    background-color: var(--slate100);
}

.slate100{
    background-color: var(--slate100);
}

.slate50{
    background-color: var(--slate50);
}

.profile{
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('storage/img/account_circle.svg');
    background-size: 100% 100%;
    background-position: center;
}

.profile.miniThumb{
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile img{
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.form-card {
    padding: 0px 50px 50px 50px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .form-card {
        padding: 0;
        border: none;
    }
}

/*Search*/
.search{
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 5px;
    background-color: transparent;
}

.btn-primary{
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover{
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* image Modal */
#expandedImage {
    max-width: 100%;
    height: auto;
}
.modal-lg {
    max-width: 90%;
}

/*Password*/
.togglePassword {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.showPass, .hidePass {
    display: none;
}

.showPass.active, .hidePass.active {
    display: inline;

}

.form-control {
    padding: 15px;
}

/*Side bar*/
.link-drop.activeLink {
    color: #007bff;
}

/* Profile */
.thumbnail-footer{
    padding: 10px 0;
    background-color: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 1px 0px 5px rgba(5, 0, 53, 0.1);
}
.events-container{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    overflow-y: scroll;
    margin-top: 30px;
}

.events{
    flex: 1 0 auto;
    height: 30rem;
    width: 30rem;
    padding: 10px 20px;
}

.thumbnail-events {
    height: 20rem;
    width: 100%;
    border-radius: 10px;
    box-shadow: 1px 0px 5px rgba(5, 0, 53, 0.1);
}

.thumbnail-events img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    border-radius: 10px 10px 0px 0px;
}

circle-progress::part(base){
    width: 300px;
    height: auto;
}

circle-progress::part(value){
    stroke-width: 5px;
    stroke-linecap: round;
    stroke: #009FEF;
}

circle-progress::part(circle){
    stroke-width: 2px;
}


circle-progress::part(text){
    fill: #009FEF;
}

.danger::part(value) {
    stroke: #FF0000;
}

.danger::part(text) {
    fill: #FF0000;
}

.warning::part(value) {
    stroke: #ffd900;
}

.warning::part(text) {
    fill: #c9ab00;
}

@media (max-width: 780px){
    circle-progress::part(base){
        width: 100px;
    }

    .desktop{
        display: none;
    }
}


.typeNameTitle{
    font-size: 2.5rem;
    font-weight: 900;
    color: #009FEF;
}

/* Loading image placehoder*/
.loading-image {
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loading-image:not(.loading) {
    opacity: 1;
}

.image-container::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    border: 3px solid transparent;
    border-top: 3px solid #009FEF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.image-container.miniThumb::before{
    width: 15px;
    height: 15px;
}

.image-container.loaded::before {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
