/**************** Btn ****************/
.btn {
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(58, 58, 58, 0.11);

}

.btn-outlined-blue {
    border: 1px solid #303F9F;
    color: #303F9F !important;
    background: #ffffff !important;
}

.btn-outlined-gray {
    border: 1px solid #A9A9A9;
    color: #000 !important;
    background: #ffffff !important;
}

.btn-outlined-danger {
    border: 1px solid #ff3547;
    color: #ff3547 !important;
    background: #ffffff !important;
}

.btn-filled-blue {
    color: white;
    border: none;
    background: #303F9F !important;
    transition: background-color 0.3s ease;
}

.btn-filled-blue:hover {
    background-color: #1A237E;
    color: white !important;
}

.list_btn {
    border-radius: 50%;
    background-color: #ffffff !important;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
}

.btn-outlined-dark {
    border: 1px solid #262626;
    color: #262626 !important;
    background: #ffffff !important;
}

/* Bouton avec affichage en flex centré et espacement, 
   caché visuellement (invisible) mais conserve son espace dans la mise en page */
.btn-flex-hidden {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 5px;
    visibility: hidden;
}


/**************** Colors ****************/
.bg-light-blue :not(.nostyle) {
    background-color: #EBF6F8;
}

.bg-dark-blue {
    background-color: #d5eef3 !important;
}

.bg-dark-red {
    background-color: #f17b4757 !important;
}

.bg-light-red :not(.nostyle) {
    background-color: #f17b4724;
    font-weight: bold;
}

.table-danger,
.table-danger>td {
    background-color: #f5c6cb4d;
}

.table-hover .table-danger:hover>td {
    background-color: rgb(255 255 255 / 38%);
}

.table-success,
.table-success>td {
    background-color: #a1cdab42;
}

.text-blue {
    color: #303F9F !important;
}

.bg-success-light {
    background-color: #c3e6cb !important;
}

/**************** Checkbox ****************/
.custom-control-label::after {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    border: 1px solid #eee;
    background-color: #fff;
    top: 0rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 5px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-color: #007bff;
    border: none;
}


table .custom-control-label::after,
table .custom-checkbox .custom-control-label::before {
    top: -0.75rem;
}

.aligned .custom-control-label::after,
.aligned.custom-checkbox .custom-control-label::before {
    top: 0 !important;
}





/**************** Cards with border left ****************/
.callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
}

.callout-info {
    border-left-color: #303F9F;
}

.callout-warning {
    border-left-color: #E4A11B;
}

.callout-danger {
    border-left-color: #dc3545;
}


/**************** Cotation Section ****************/

.avg-table,
.fixed-tabel {
    border-collapse: separate;
    border-spacing: 20px;
    table-layout: fixed;
}

.avg-table thead tr {
    background-color: #f0f0f0;
}

.avg-table td {
    width: auto;
    white-space: nowrap;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.avg-table thead tr,
.avg-table thead td,
thead th {
    margin: 0;
    padding: 10px;
}

.avg-table tbody td.entete {
    background-color: #F1F3F9;
    text-align: center;
    color: #303F9F !important;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0px 4px 8px rgba(58, 58, 58, 0.11);
}

.avg-table td:not(.nostyle) {
    box-shadow: 0px 4px 8px rgba(58, 58, 58, 0.11);
    text-align: center;
    border-radius: 5px;
}

.price_simulateur,
.price_simulateur:focus {
    border: none !important;
    text-align: center;
    font-size: 1rem;
    height: auto;
    padding: 0;
}

.bg-dark-red .price_simulateur {
    background-color: #f17b4700 !important;
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: inherit;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after {
    opacity: 0 !important;
}


/* Autocomplete style modal google map */
.pac-container {
    z-index: 1051 !important;
    /* supérieur à Bootstrap modal (1050) */
}

.pac-container {
    z-index: 1051 !important;
    position: absolute !important;
}




/* HTML marker styles */
.fixedAddress {
    font-size: 38px;
}

.property {
    align-items: center;
    background-color: #c51616;
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 14px;
    gap: 15px;
    height: 30px;
    justify-content: center;
    padding: 4px;
    position: relative;
    position: relative;
    transition: all 0.3s ease-out;
    width: 30px;
}

.property::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #c51616;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 95%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;
}

.property .icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
}

.property .icon img,
.property.highlight .icon i {
    display: none;
}

.property.highlight .icon img {
    display: block;
}

.property .details {
    display: none;
    flex-direction: column;
    flex: 1;
}

.property .address {
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.property .features {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.property.highlight {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    height: auto;
    padding: 10px 20px;
    width: auto;
}

.property.highlight::after {
    border-top: 9px solid #FFFFFF;
}

.property.highlight .details {
    display: flex;
}


.not-allowed {
    cursor: not-allowed;
}

.colorPickSelector {
    z-index: 1050 !important;
    /* plus que les z-index de Bootstrap/DataTables */
}

#colorPick {
    right: 120% !important;
    left: inherit !important;
    z-index: 1050 !important;
}

.btn-floating.btn-sm {
    z-index: unset;
}

.fixed {
    position: fixed;
    top: 0;
    background-color: #fff;
    z-index: 9000;
    width: 100%;
    right: 0;
    left: 0;
    padding: 0;
}

button:disabled {
    cursor: not-allowed;
    pointer-events: unset !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* ==========================================================================
   Font Size Utility Classes
   Description : Classes utilitaires pour gérer facilement les tailles de police
   Utilisation : <p class="font-sm">Texte</p>
   ========================================================================== */

.font-xs {
    font-size: 0.75rem;
    /* 12px */
}

.font-sm {
    font-size: 0.875rem;
    /* 14px */
}

.font-md {
    font-size: 1rem;
    /* 16px */
}

.font-lg {
    font-size: 1.25rem;
    /* 20px */
}

.font-xl {
    font-size: 1.5rem;
    /* 24px */
}

.font-xxl {
    font-size: 2rem;
    /* 32px */
}

.font-xxxl {
    font-size: 2.5rem;
    /* 40px */
}