:root {
    --color-primary-landing: #005ea9;
    --color-secondary-landing: #EDF3FF;
    --color-tertiary-landing: #BCD3FF;
    --color-inactif: dimgray;
}

.no-padding {
    padding: 0 !important;
}

a {
    text-decoration: none !important;
}

.container-logo {
    width: 100%;
}

.container-logo img {
    display: block;
    margin: auto;
    margin-bottom: 5px;
}

.container-logo span {
    color: var(--color-primary-landing);
}

.container-bloc-landing{
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));*/
    /*gap: 30px;*/
    /*justify-items: center;*/
    /*padding: clamp(20px, 5vw, 50px);*/

    display: grid;
    gap: 25px;
    justify-items: start;
    padding: 40px;
    padding-top: 25px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 350px);

}



.bloc-landing {
    width: 100%;
    background-color: var(--color-secondary-landing);
    color: var(--color-primary-landing);
    padding: 20px;
    max-width: 500px;
}

.bloc-landing.sous-bloc {
    background-color: unset;
    border: 1px solid var(--color-tertiary-landing);
}

.bloc-landing .titre {
    font-weight: 900;
    font-size: 21px;
    text-transform: capitalize;
}

.bloc-landing .texte {
    line-height: 1.5em;
    min-height: 3em; /* 2 × 1.5em */
}

.bloc-landing .separator {
    width: 75%;
    height: 3px;
    background-color: var(--color-primary-landing);
    margin-bottom: 10px;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .container-logo img {
        display: none;
    }

    .container-bloc-landing{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        justify-items: center;
        padding: clamp(20px, 5vw, 50px);
    }

}

/************************************************************************************************
                             STRUCTURE - BLOC-LANDING - LANDING NAV
*************************************************************************************************/

.landing_title {
    display: flex;
    justify-content: center;
    margin-top: 25px;

    letter-spacing: 0;
    color: #494949 !important;
    font-size: 18px;
}

.bo-decl-landing {
    padding: 15px 25px;
    max-width: 1584px;
    margin: 0 auto;
}

.bo-decl-header {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 28px;
}

.bo-decl-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #B70E80;
    letter-spacing: 0.04em;
}

.bo-decl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.bo-svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.bo-decl-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #5E96FF;
    padding: 26px 24px 26px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.bo-decl-card:hover {
    box-shadow: 0 3px 10px #74BCF180;
}

.bo-decl-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: #fff;
    border: 1px solid #FBB400;
    padding: 3px 10px;
    border-radius: 6px;
    text-align: left;
    font: normal bold 11px / 12px Tahoma;
    letter-spacing: 0.1px;
    color: #FFA910;
    text-transform: uppercase;
    opacity: 1;
}

.bo-decl-description-badge {
    background: #fff;
    border: 1px solid #FBB400;
    padding: 3px 10px;
    border-radius: 6px;
    text-align: left;
    font: normal bold 11px / 12px Tahoma;
    letter-spacing: 0.1px;
    color: #FFA910;
    text-transform: uppercase;
    opacity: 1;
}

.bo-decl-card-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 0;
}

.bo-decl-card-title a,
.bo-decl-card-title span {
    color: var(--primary-color);
    text-decoration: none;
    /*text-transform: capitalize;*/
}

.bo-decl-card-sep {
    border: none;
    border-top: 3px solid var(--primary-color);
    margin: 7px 0 14px;
    width: 85%;
    opacity: 1;
}

.bo-decl-card-desc {
    font: normal 14px/1.5em Tahoma, sans-serif;
    color: #494949;
    flex: 1;
    margin-bottom: 18px;
    max-height: 44px;
}

.bo-decl-btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    align-self: flex-start;
    transition: background .15s, color .15s;
}

.bo-decl-btn--outline {
    border: 1.5px solid #5E96FF;
    color: #5E96FF;
    background: #EDF3FF;
    text-decoration: none;
    font-weight: 900;
}

.bo-decl-btn--outline:hover:not(:disabled) {
    background: #5E96FF;
    color: #fff;
    text-decoration: none;
}

.bo-decl-btn--outline:disabled {
    border-color: #d1d5db;
    color: #9ca3af;
    opacity: 0.6;
    cursor: default;
}

/************************************************************************************************
                  STRUCTURE - BLOC-LANDING - LANDING NAV - BOUTON MULTI RUBRIQUES
*************************************************************************************************/

.bo-admin-rub-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EDF3FF;
    color: var(--tertiary-color);
    padding: 7px 14px 7px 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background .15s, color .15s;
    border: 1px solid var(--tertiary-color);
    border-radius: 10px;
    max-height: 37px;
}

.bo-admin-rub-label {
    flex: 1;
    text-align: left;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0;
    color: var(--tertiary-color);
    opacity: 1;
}

.bo-admin-rub-count {
    width: 32px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent 0 0 no-repeat padding-box;
    border: 1px solid var(--tertiary-color);
    border-radius: 10px;
    opacity: 1;
    position: relative;
    left: -9px;
    font: normal bold 12px / 15px Tahoma;
    letter-spacing: 0;
    font-weight: 900;
    color: var(--tertiary-color);
}

.bo-admin-rub-arrow {
    font-size: 15px;
    opacity: 1;
}

.bo-admin-rub-list li a, .bo-admin-rub-list li .bo-admin-rub-disabled {
    font-size: 14px;
    color: var(--tertiary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 900;
    gap: 8px;
}

.bo-admin-rub-list li:hover {
    background-color: #EDF3FF;
    border-radius: 10px;
    opacity: 1;
}

.bo-admin-rub-disabled {
    color: rgba(94, 150, 255, 0.58) !important;
    cursor: default;
}

.bo-admin-rub-list li a::before, .bo-admin-rub-list li .bo-admin-rub-disabled::before {
    content: '→';
    font-size: 14px;
    flex-shrink: 0;
}

.bo-admin-rub-list li::marker {
    content: "";
}

.bo-admin-rub-list {
    padding: 0 !important;
}

.bo-admin-rub-list li {
    padding: 7px 4px;
    margin-top: 5px;
}

.bo-admin-rub-list {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-5px);
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.bo-admin-rub-list.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

/************************************************************************************************
                        STRUCTURE - BLOC-LANDING - LANDING NAV - BOUTON
*************************************************************************************************/

.bo-decl-btn--filled {
    border: 1.5px solid var(--secondary-color);
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 900;
}

.bo-decl-btn--filled:hover {
    border: 1.5px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    font-weight: 900;
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    .bo-svc-grid  { grid-template-columns: repeat(2, 1fr); }
    .bo-decl-grid { grid-template-columns: repeat(2, 1fr); }
    .bo-decl-landing { padding: 20px; }
    .resp-no-padding { padding: 0 !important;
    }
}
@media (max-width: 600px) {
    .bo-svc-grid, .bo-decl-grid { grid-template-columns: 1fr; }
}

/************************************************************************************************
                                  BO PHARMACIE BO BLOC TITLE - CONTAINER
**************************************************************************************************/

.bo-pharmacie__container {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #5E96FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 15px 7px 25px;
    border-radius: 10px;
    z-index: 20;
    position: relative;
}

.bo-pharmacie__title {
    font: normal bold 18px/13px Tahoma;
    letter-spacing: 0;
    color: var(--primary-color);
    text-transform: uppercase;
    display: inline-block
}

.bo-pharmacie__btn-container {
    display: inline-block;
}

#special-btn-container-smaller {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 6px 8px !important;
    min-height: 35px;
    min-width: 35px;
    justify-content: center;
}

#special-btn-container-smaller i {
    flex-shrink: 0;
    font-size: 16px;
}

#special-btn-container-smaller .btn-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.35s ease;
}

#special-btn-container-smaller:hover .btn-text {
    max-width: 333px;
    opacity: 1;
    margin-left: 8px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .bo-pharmacie__container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

/************************************************************************************************
                  TABLEAU BOOSTRAP - AFFICHAGE & STYLE - MULTI PAGE
*************************************************************************************************/

.fixed-table-body {
    border: 1px solid #E3E3E3;
    border-bottom: 0 !important;
    border-radius: 10px 10px 0 0;
}

.table-layout-phie {
    padding: 0 !important;
    /*border: 1px solid #D6D6D6;*/
    /*margin-top: 15px;*/
}

.table-layout-phie i {
    font-size: 18px;
}

.bootstrap-table .table-layout-phie > thead > tr > th {
    border-bottom: 0 solid white !important;
}

.table-layout-phie svg,
.table-layout-phie span {
    font-size: 16px;
    color: #013F78;
}

.table-layout-phie tr .th-inner {
    background-color: #F2F2F2;
    border-bottom: 1px solid #D6D6D6;
}

.table-layout-phie > tbody > tr > td {
    border-top: 1px solid #D6D6D6;
    font: normal normal normal 12px/14px Arial;
    letter-spacing: 0.9px;
    color: #212121;
    opacity: 1;
}

.table-layout-phie th .th-inner {
    background-color: #F2F2F2;
    border-bottom: 1px solid #D6D6D6;
    color: black;
}

.table-layout-phie th.detail .fht-cell {
    border-bottom: 1px solid #D6D6D6;
}

.table-layout-phie th {
    background-color: #F2F2F2 !important;
}

.table-layout-phie .table>thead:first-child>tr:first-child>th {
    border-top: 0;
    background-color: #F2F2F2;
}

.table-layout-phie tr:first-child td {
    border-top: 0 !important;
}

.table-layout-phie > tbody > tr:nth-of-type(odd) {
    background-color: #FFFFFF !important;
}

.table-layout-phie > tbody > tr:nth-of-type(even) {
    background-color: #FBFBFB !important;
}

.phie-datatable-icon-btn {
    background: #F2F2F2 0% 0% no-repeat padding-box;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phie-datatable-icon-btn svg,
.phie-datatable-icon-btn i {
    color: #494949 !important;
}

.phie-datatable-icon-btn:hover {
    background-color: white;
}

.pharmacie-content__table-layout-phie .page-list,
.pharmacie-content__table-layout-phie .pagination-info {
    color: #212121;
}

.pharmacie-content__table-layout-phie .btn-default {
    background-color: #F2F2F2;
    color: #212121;
    border: 0;
}

.pharmacie-content__table-layout-phie .btn-default:hover {
    background-color: #F2F2F2;
    color: #212121;
    border: 0;
    border-radius: 0 !important;
}

.pharmacie-content__table-layout-phie .caret,
.pharmacie-content__table-layout-phie .page-size {
    color: #212121;
}

.pharmacie-content__table-layout-phie .pagination > .active > a {
    font-weight: 900;
    color: #212121 !important;
    background-color: white !important;
    border-color: #f2f2f2 !important;
}

.pharmacie-content__table-layout-phie .pagination > li > a {
    font-weight: 900;
    color: #ADACAD;
    background-color: #F2F2F2;
    border-color: #f2f2f2;
}

.pharmacie-content__table-layout-phie .pagination > li > a:hover {
    font-weight: 900;
    color: #212121 !important;
    background-color: #E2E2E2FF;
    border-color: #E2E2E2FF;
}

.pharmacie-content__table-layout-phie .pagination .pagination-goto .goto-submit {
    color: black;
    background-color: #F2F2F2;
    border-color: #f2f2f2;
}

.pharmacie-content__table-layout-phie .pagination .pagination-goto .goto-submit:hover {
    background-color: #E2E2E2FF;
    border-color: #E2E2E2FF;
}

.pharmacie-content__table-layout-phie .pagination .pagination-goto .selector {
    color: black;
}

#containerBlocPharmacieEquipe .extra-actions {
    display: inline-block;
}

#containerBlocPharmacieEquipe .grand-titre-row-containment {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phie-datatable-icon-btn {
    background: #F2F2F2 0 0 no-repeat padding-box;
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-layout-phie svg, .table-layout-phie span {
    font-size: 16px;
    color: var(--primary-color);
}

.table-layout-phie .fa-times {
    color: red !important;
    font-size: 24px;
}

.table-layout-phie .fa-file-download {
    font-size: 21px;
}

.table-stim td a:has(> :is(.fas, .far, .fab):only-child),
.bootstrap-table tbody td a:has(> :is(.fas, .far, .fab):only-child) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #EBEBEB;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s, transform .12s, box-shadow .15s;
    vertical-align: middle;
    border: 1px solid #D6D6D6;
    color: #494949;
}

.table-stim td a:has(> :is(.fas, .far, .fab):only-child):hover,
.bootstrap-table tbody td a:has(> :is(.fas, .far, .fab):only-child):hover {
    background: white;
    border: 1px solid #D6D6D6;
}

.fixed-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 10px 0 5px;
}

.bootstrap-table .fixed-table-toolbar .form-control, .fixed-table-toolbar .search > .form-control {
    height: 40px;
    min-width: 460px;
    background: #fafafa !important;
    border: 1px solid #E3E3E3 !important;
    border-radius: 20px;
    font-size: 13px;
    box-shadow: none;
    margin-top: 0;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.bootstrap-table .fixed-table-toolbar .form-control:focus, .fixed-table-toolbar .search > .form-control:focus {
    border: 1px solid #5E96FF !important;
    background-color: #fff !important;
    color: #333 !important;
    outline: none;
}

.fixed-table-toolbar .search > .form-control::placeholder {
    color: rgba(51, 51, 51, 0.38) !important;
}

/* LE DERNIER ELEMENT DE CHAQUE DATATABLE DOIT ETRE STICKY POUR FACILITER LA VIE DES USERS */

.fixed-table-body .table-sticky-lc td:last-child {
    position: sticky !important;
    right: 0 !important;
    z-index: 3;
    background: inherit;
}

.fixed-table-body .table-sticky-lc td:last-child::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -8px;
    width: 8px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0));
    pointer-events: none;
}


.bootstrap-table .table > tbody > tr:hover > td {
    background-color: #f2f2f2 !important;
}

 /*Fond blanc sur lignes alternées pour que le sticky ne soit pas transparent*/
.table-striped tbody tr:nth-of-type(odd) td:last-child { background: #ffffff !important; }
.table-striped tbody tr:nth-of-type(even) td:last-child { background: #f9f9f9 !important; }
.table-striped tbody tr:hover td:last-child { background: #f0f4f8 !important; }


/************************************************************************************************
                  AFFICHAGE SOUS TITRE - INFORMATION & STATS - MULTIPAGES
*************************************************************************************************/

.pharma-stats-row {
    display: flex;
    align-items: stretch;
    gap: 15px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 0 0 10px 10px;
    padding: 18px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 3px #00000026;
    position: relative;
    top: -7px;
}

.pharma-stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 16px 10px 16px;
    border-radius: 8px;
    min-width: 160px;
    border: 1px solid #5E96FF;
    background-color: white;
}

.pharma-stat-value {
    text-align: left;
    font: normal bold 21px/15px Tahoma;
    letter-spacing: 0;
    color: #005EA9;
    text-transform: uppercase;
    opacity: 1;
}

.pharma-stat-label {
    text-align: left;
    font: normal bold 12px/15px Tahoma;
    letter-spacing: 0;
    color: #494949;
    opacity: 1;
    margin-bottom: 5px;
}

.pharma-stat-switch-view {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #5E96FF;
    border-radius: 10px;
    opacity: 1;
    letter-spacing: 0;
    padding: 10px;
}

.pharma-stat-switch-view:hover {
    background: #EDF3FF 0 0 no-repeat padding-box;
    border: 1px solid #5E96FF;
    border-radius: 10px;
    opacity: 1;
    letter-spacing: 0;
    padding: 10px;
    text-decoration: none;
    font-weight: 900 !important;
}

.pharma-stat-switch-view span {
    color : #005EA9;
    font: normal normal normal 14px/24px Tahoma;
}

.pharma-stat-switch-view.active {
    background: #EDF3FF 0 0 no-repeat padding-box;
    border: 1px solid #5E96FF;
    border-radius: 10px;
    opacity: 1;
    letter-spacing: 0;
    padding: 10px;
}

.pharma-stat-switch-view.active span {
    font-weight: 900;
    color: #005EA9;
    font-family: Tahoma, sans-serif;
}

.statistiques-container {
    background: #EDF3FF 0 0 no-repeat padding-box;
    border: 1px solid #5E96FF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 8px 30px 13px;
    gap: 6px;
}

.statistiques-title {
    text-align: center;
    font: normal bold 14px/25px Tahoma;
    letter-spacing: 0;
    color: #005EA9;
    text-transform: uppercase;
    opacity: 1;
}

/******************************************************************************************************
                       BACK OFFICE - BO_RECHERCHE.PHP - RECHERCHE ETABLISSEMENT
*********************************************************************************************************/

.recherche_professionnel {
    display: flex;
    gap: 31px;
    margin-top: 15px;
}

.recherche_professionnel-left {
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.phie-recherche-container {
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid var(--tertiary-color);
    border-radius: 15px;
    opacity: 1;
    padding: 13px 20px 13px 20px;
}

.phie-recherche-title {
    font: normal bold 14px/21px Tahoma;
    letter-spacing: 0;
    color: var(--primary-color);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phie-recherche-title i {
    font-size: 16px;
}

.phie-recherche-form {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.phie-recherche-container.open .phie-recherche-form {
    max-height: 500px;
    opacity: 1;
    overflow: visible;
    transform: translateY(0);
}