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;
}

/*#admin tbody,
#admin td,
#admin tfoot,
#admin th,
#admin thead,
#admin tr {
    border-color: inherit;
    border-style: solid;
    border-width: 1px;
}*/

#admin th {
    --ct-table-bg: #f6f7fb;
}

    #admin th .fas {
        padding: 0 0 0 5px;
    }


.list-properties tbody,
.list-properties td,
.list-properties tfoot,
.list-properties th,
.list-properties thead,
.list-properties tr {
    border: 0px !important;
    padding: 5px;
}

.list-properties .label {
    text-align: left;
    font-weight: bold;
    max-width: 50px;
}

.position-relative {
    position: relative;
}

.position-relative:hover img {
    filter: brightness(80%);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    min-width: 100px;
    min-height: 100px;
}

.avatar-overlay:hover {
    opacity: 1;
}

.avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #0acf97;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.avatar-icon:hover {
    transform: scale(1.1);
    background-color: #09b080;
}

.avatar-icon:last-child {
    background-color: #fa5c7c;
    margin-left: 5px;
}

.avatar-icon:last-child:hover {
    background-color: #d54e69;
    margin-left: 5px;
}

.custom-file-input {
    display: none;
}

.min-size {
    min-width: 100px;
    min-height: 100px;
}

.expense-file {
    cursor: pointer;
    text-decoration: underline;
}

.max-size {
    max-height: 600px;
    max-width: 600px;
}

.preview-min-size {
    width: 100%;
    height: 600px;
}

.preview-pdf-min-size {
    width: 100%;
    height: 580px;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; 
}

.flatpickr-calendar.static {
    position: absolute;
    top: auto !important;
}

.cursor-pointer {
    cursor: pointer;
}

.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #333;
    animation: spin 1s infinite linear;
    margin: 0 auto;
    margin-top: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
