html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.underline-input {
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    box-shadow: none;
}

    .underline-input:focus {
        border-bottom: 2px solid #0d6efd; /* Bootstrap primary color */
        outline: none;
        box-shadow: none;
    }

body.fade-transition {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tag-cloud a {
    display: inline-block;
    text-decoration: none;
    color: #808080;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

    .tag-cloud a:hover {
        transform: scale(1.1);
        /*color: #000;*/
    }

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

    .fade-in.show {
        opacity: 1;
    }

    /*For autocomplete tags*/
#tag-suggestions {
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

    #tag-suggestions .list-group-item {
        cursor: pointer;
    }

/* Flash effect */
/* Color flash effect */
.flash {
    animation: colorFlash 1s ease; /* changed from 0.5s to 1s */
    /*border-radius: 5px;*/ /* Rounded corners */
    /*padding: 1px 1px;*/ /* Some padding to make highlight look smooth */
}

@keyframes colorFlash {
    0% {
        /*background-color: #e6dca0;*/
        color: yellow;
        
    }

    100% {
        background-color: transparent;
        color: inherit;
    }
}

/* Hand cursor for clickable folders, files, and breadcrumb links */
.folder, .file, .breadcrumb span {
    cursor: pointer;
}


#browserOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.overlay-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* light transparent */
}

.overlay-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #333;
}
