﻿@font-face {
    font-family: 'Gilroy-Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Gilroy-Bold'), url('../fonts/Gilroy-Bold.woff') format('woff');
}


@font-face {
    font-family: 'Gilroy-Heavy';
    font-style: normal;
    font-weight: normal;
    src: local('Gilroy-Heavy ☞'), url('../fonts/Gilroy-Heavy.woff') format('woff');
}


@font-face {
    font-family: 'Gilroy-Light';
    font-style: normal;
    font-weight: normal;
    src: local('Gilroy-Light'), url('../fonts/Gilroy-Light.woff') format('woff');
}


@font-face {
    font-family: 'Gilroy-Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Gilroy-Medium'), url('../fonts/Gilroy-Medium.woff') format('woff');
}


@font-face {
    font-family: 'Gilroy-Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Gilroy-Regular'), url('../fonts/Gilroy-Regular.woff') format('woff');
}

html {
  font-size: 14px;

}

body {
    font-family: 'Gilroy-Light';
}

@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%;
}


.login-background {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #279989;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo-container{
    position:absolute;
    top:60px;
    right:60px;
    display:flex;
    width:100%;
    justify-content:end;
}

.login-logo {
    filter: brightness(0) invert(1);
    width: 250px;
}

.login-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}

.login-box-logo {
    font-size: 2.1rem;
    font-weight: 300;
    margin-bottom: .9rem;
    text-align: center;
}

.btnLogin {
    text-decoration: none;
    border: 1px solid white;
    width: 200px;
    height: 60px;
    background-color: white;
    /* padding: 10px; */
    font-family: 'Segoe UI Semibold', 'Segoe UI';
    color: #0d4768 !important;
    font-size: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: all 0.1s ease-in;
}

.btnLogin:hover {
    text-decoration: none !important;
    
    transform:scale(1.05) 
}

.microsoft {
    height: 50%;
    margin-right: 20px;
}

.card {
    border:none !important;
    box-shadow: 0px 2px 8px 0px #dadada;
}

.folder-text{
    font-size:1rem;
    color : #000000;
}

.folder-button{
    height:60px;
    display:flex;
    flex-direction : row;
    justify-content:start;
    align-items: center;
    width:calc(25% - 1.15rem);
    cursor:pointer;
    transition: background-color 0.2s ease-in;
}

.report-button {
    height: 220px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: start;
    align-items: start;
    width: calc(25% - 1.13rem) !important;
    cursor: pointer;
    transition: background-color 0.2s ease-in;
}

.navigation-header {
    width:100%;
    height: 100px;
}

.report-header {
    background-color: #E9500D;
    width: 100%;
    height: 70px;
}

.bg-primary {
    background-color: #daaa00 !important;
}



.color-indicator {
    width: 25px;
    height: 8px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px 0px #d1d1d1;
}
.bg-secondary {
    background-color: #27998a !important;
}

.folder-button:hover {
    background-color: #f2f2f2;
}

.report-button:hover {
    background-color: #f2f2f2;
}

.download-button:hover {
    color: #D9AB28 !important;
}

.report-button:hover:has(i:hover) {
    background-color: white !important;
}

.navigation-button{
    color:white !important;
    font-weight:normal;
}

.navigation-button:hover {
    font-weight:bold !important;
    
}

.navigation-header-folder-icon-container {
    height: 60px;
    width: 60px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.folder-button-icon-container {
    height: 90%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link.active, .navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item .nav-link.active {
    box-shadow: 0px 2px 6px 0px #dddddd !important;
    background-color: #27998a !important;
    color : white !important;
}

.dt-processing{
    background-color:white !important;
}


.page-item.active{
    z-index : 0 !important;
}

.edit-column {
    position: sticky;
    right: 0;
    background-color: white !important;
    z-index: 0;
    box-shadow: -1px 0px 0px -0px #cccccc !important;
}
.bg-grayed {
    background-color: #dcdcdc !important
}

.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link, .navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item .nav-link {
    color: rgb(24 24 27) !important;
}
.navbar-vertical.bg-white .navbar-nav .nav-link .icon {
    background-image: none !important;
}

.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link:hover {
    background-color: #f6f6f6 !important;
    border-radius: 10px !important;
}

.sidenav-header {
    height: 3.8rem !important;
}

.dt-search {
    margin-bottom: 2rem !important;
    padding:5px
}
div.dt-container div.dt-search{
    text-align:left !important;
}
.dt-info {
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-item.active .page-link {
    background-color: #daaa00 !important;
    border-color: #daaa00 !important;
}

.pagination > :first-child button {
    border-radius: 10px !important;
    width: 100px;
}

.pagination > :last-child button{
    border-radius: 10px !important;
    width: 100px;
}

.div.dt-container .dt-search input {
    border: 1px solid #f1f1f1 !important;
    border-radius: 7px !important;
    margin-left: 20px !important;
}

.div.dt-container .dt-search input:focus-visible {
    border: 3px solid #f1f1f1 !important;
}

.choices__inner{
    background-color:white !important;
    border-radius:10px !important;
}



.sync-button.disabled{
    pointer-events:none !important;
    opacity:0.5 !important;
}

.pages-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #fbfbfb;
    padding: 10px;
    outline: 1px solid #8080806b;
    border-radius: 5px;
}


.pages-container.disabled {
    opacity:0.5;
    pointer-events:none;
}


.pages-list-item {
    border-radius: 5px;
    box-shadow: 0px 2px 6px 0px #f1f1f1;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 8px;
    background-color: #ffffff;
    padding-top: 8px;
    border: 1px solid #f1f1f1;
}

.page-item-visibility-button{
    cursor:pointer;
    transition:transform 0.1s ease-in;
}

.report-button.slide-report{
    width:100% !important
}

.page-item-visibility-button:hover {
    transform: scale(1.1);
}

.page-selection-header {
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
    box-shadow: 0px 6px 8px 0px #dddddd;
    background-color: #27998a !important;
}

.page-selection-button {
    outline: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    color: black;
    transition: all 0.1s ease-in;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
}

.sync-warning-container{
    display:flex;
    flex-direction:row;
    gap : 8px;
    color : orange !important;
    margin-top:20px !important;
    justify-content:start;
    align-items:center;
}

.page-selection-button:hover {
    font-weight: bold;
    background-color: #f2f2f2 !important;
    color: #daaa00 !important;
}

.page-selection-button.selected {
    font-weight: bold;
    background-color: #f2f2f2 !important;
    color: #daaa00 !important;
}

.back-button {
    transition: transform 0.1s ease-in;
}

.back-button:hover{
    transform:scale(1.1);
}

.favourite-icon.favourite {
    color: #FFD43B;
}
.favourite-icon.not-favourite {
    filter: drop-shadow(0px 0px 0.5px black);
    color: white !important;
  
}

.favourite-icon-container {
    transition: all 0.1s ease-in;
}

.favourite-icon-container:hover {
    transform: scale(1.1);
}

.favourite-icon-container.disabled{
    pointer-events:none;
    opacity:0.5;
}

.search-bubble-tag {
    position: absolute;
    left: 1rem; /* a little from the left */
    bottom: -16px; /* creeping under the header—adjust how much it peeks out */
    width: 40px;
    height: 40px;
    background-color: white; /* or matching theme, maybe a slightly contrasting border */
    border: 1px solid #ccc;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1100; /* higher than header so it's visible */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

    .search-bubble-tag:hover {
        transform: scale(1.1);
    }

.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 900; /* less than search-drop if search-drop has z-index > 900 */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.content-overlay.active {
    opacity: 1;
    visibility: visible;
}


.search-drop {
    position: absolute;
    top: 100px; 
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid #ddd;
    height: 0;
    overflow: hidden;
    z-index: 1000; 
    transition: height 0.3s ease;
}

.form-check:not(.form-switch) .form-check-input[type=checkbox]:after {
    color: #daaa00 !important;
}

.search-result-item {
    gap: 1rem;
    justify-content: start;
    align-items: center;
    display: flex;
}

.search-drop.dropdown-visible {
    overflow:visible !important;
}


#loading-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display:flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.search-loading {
    padding: 0.5rem;
    text-align: center;
    font-style: italic;
    color: #666;
    display:flex;
    flex-direction : row;
    align-items:center;
    justify-content:center;
    gap:10px;
}


.search-results-dropdown ul li {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.search-results-dropdown ul li:hover {
    background-color: #f0f0f0;
}

.search-results-dropdown {
    position: absolute;
    top: 100%; 
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    /* hidden by default */
    display: none;
}

.search-drop.open {
    height: 60px; 
}


.search-drop .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-close-search {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
}

.page-list-flex{
    flex-direction:column;
    width:100%;
    align-items:end;
    flex-wrap : nowrap;
    overflow:auto;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.page-list-buttons-container{
    display:flex;
    flex-direction:column;
    flex-wrap: wrap;
    width:100%;

}


.page-list-buttons-container > div {
    flex: 1 1 50%;
    box-sizing: border-box;
    outline: 1px solid #e5e5e5;
    cursor:pointer;
    font-size: 0.8rem !important;
}

.page-list-buttons-container > div > p {

    font-size: 0.8rem !important;
}

.page-list-buttons-container > div:hover {
    color: #daaa00 !important;
    font-weight:bold;
}



.page-list-buttons-container > div > p,
.page-list-buttons-container > div > i {
    white-space: nowrap;
}

.navbar-vertical .navbar-nav > .nav-item .nav-link.active .icon {
    background-image: none !important;
}

.background-white {
    background-color: white !important;
}

.navbar-vertical.background-white {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, .05);
}

.loader.page-list-loader {
    border: 5px solid #daaa00 !important;
    border-bottom-color: transparent !important;
}

.form-check:not(.form-switch) .form-check-input[type=radio]:checked:after {
    background-color: #daaa00 !important;
}

.form-check-input:checked[type=checkbox], .form-check-input:checked[type=radio] {
    outline: 2px solid #daaa00 !important; 
}

.custom-name-save-button {
    transition: transform 0.1s ease-in;
}

.custom-name-save-button:hover {
    transform:scale(1.1);
}

.custom-name-save-button.disabled{
    pointer-events:none;
    opacity:0.5;
}

.nav-access-wrapper{
    width:300px;
}



@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} 

@media (max-width: 768px) {
    .login-logo {
        width:45%
    }

    .login-logo-container{
        justify-content:center !important;
        right:0px;
    }

    .page-selection-header{
        width:100%;
    }


    .page-selection-button{
        width:auto;
    }

    .page-list-flex {
        flex-direction: row;
        align-items: center !important;
        flex-wrap: wrap !important;
    }
}

@media(max-width : 575px){
    .folder-button{
        width:100% !important;
    }

    .report-button:not(.slide-report) {
        width: 100% !important;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .folder-button {
        width: calc(50% - 0.75rem) !important;
    }
    .report-button:not(.slide-report) {
        width: calc(50% - 0.75rem) !important;
    }
}


@media (min-width: 767px) and (max-width: 991px) {
    .folder-button {
        width: calc(33.3% - 1rem) !important;
    }
    .report-button:not(.slide-report) {
        width: calc(33.3% - 1rem) !important;
    }
}