/* rendez-vous.css */    

@media (max-width: 768px) {
    .mg-mainpanel{padding:0px}
}

#modal-resume-rv .modal-header {
    background-color: #007bff;
    color: white;
}
#modal-resume-rv .modal-body p {
    margin: 0.5rem 0;
}
#modal-resume-rv .modal-footer {
    justify-content: space-between;
}
#modal-resume-rv .toggle-wrapper {
    display: flex;
    align-items: center;
}
#modal-resume-rv .toggle-button {
    width: 70px;
    height: 30px;
    background-color: #ccc;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    margin-left: 10px;
    transition: background-color 0.3s;
}
#modal-resume-rv .toggle-button::before {
    content: '';
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform 0.3s;
}
#modal-resume-rv .toggle-button.active {
    background-color: #007bff;
}
#modal-resume-rv .toggle-button.active::before {
    transform: translateX(40px);
}
#modal-resume-rv .toggle-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: white;
}
#modal-resume-rv .toggle-text span {
    position: absolute;
    width: 50%;
}
#modal-resume-rv .toggle-text .yes {
    left: 0;
    color: black;
}
#modal-resume-rv .toggle-text .no {
    right: 0;
    color: black;
}



#modal-resume-rv .day-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #555;
    cursor: pointer;
    margin: 5px;
    position: relative;
    flex-direction: column;
    flex-shrink: 0;
    padding-bottom:10px
}
#modal-resume-rv .day-circle.selected {
    background-color: #28a745;
    color: #fff;
}
#modal-resume-rv .day-circle .check-icon {
    position: absolute;
    bottom: 7px;
    font-size: 12px;
    display: none;
}
#modal-resume-rv .day-circle.selected .check-icon {
    display: block;
}

#modal-resume-rv .day-circle.disabled {    
    pointer-events: none;
}

#modal-resume-rv .day-circle.disabled::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3); 
    z-index: 10; 
}

/* buttons PLUS/MINUS */   
#modal-resume-rv .input-group-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}      

#modal-resume-rv .input-group-btn button {
    padding: 0;
    width: 30px;
    height: 20px;
    text-align: center;
}

/* Fix issue with datepicker in modal */
.ui-datepicker {
    z-index: 1051 !important;
    position: absolute!important;
}

/* TODO NOW DEBUG */
#modal-resume-rv .form-group-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
#modal-resume-rv .form-group-inline label {
    margin-right: 10px;
    flex: 1;
}
#modal-resume-rv .form-group-inline select, #modal-resume-rv .form-group-inline input {
    flex: 2;
}





/* modale recurrence */

.recap-header {
    background-color: #007bff;
    color: white;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: top;
}
.recap-header img {
    border-radius: 50%;
    margin-right: 10px;
}



/* page confirmation */


.tab-content {
    /* padding: 15px 50px; */
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    max-width: 800px; 
    margin:auto;
    
}

.btn-group-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}


.tab-information .radio-options .custom-radio input[type="radio"] {
    width: 24px;
    height: 24px; 
    cursor:pointer;  
}
        
.tab-information .custom-radio label{
    font-size:16px;
    text-transform: uppercase;
    position:relative;
    bottom:5px;
    cursor:pointer; 
}


.tab-information {counter-reset: my-counter;}
.tab-information .step-number div {counter-increment: my-counter;}
.tab-information .step-number div:before {content: counter(my-counter);}

@media (max-width: 768px) {
    .document-list table thead {
        display: none; /* On cache l'en-tête du tableau sur petits écrans */
    }
    .document-list table, .document-list table tbody, .document-list table tr, .document-list table td {
        display: block; 
        width: 100%;
    }
    .document-list table tr {
        margin-bottom: 15px; 
    }
    .document-list .btn {
        display: block;
        width: 100%!important;
        margin-bottom: 5px; 
    }
    
    
    
}


/* ************************************************************************** PANIER ***************/

.tab-panier h4, .tab-panier h5{
    font-weight:normal;
    font-size:1.2em;
}
.tab-panier .list-group-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding: 20px 10px;
    position: relative;
}
.tab-panier .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
    margin-right: 15px;
}
.tab-panier .session-details {
    flex: 1;
    min-width: 250px;
}
.tab-panier .session-price {
    min-width: 100px;
    text-align: right;
    font-size: 1.2em;
    /* font-weight: bold; */
    margin-bottom: 10px;           
}

.tab-panier .session-details .separator-icon {
    color:#4a90e2;
    font-size:0.7em;            
}

/*
.tab-panier .highlight-payment {
    background-color: #e0f7fa;
    border-left: 5px solid #0097a7;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.tab-panier .highlight-payment h5, .highlight-payment p {
    margin: 0;
    color: #004d40;
}
.tab-panier .payment-detail {
    margin-top: 10px;
    margin-bottom: 0;
    color: #004d40;
}
.tab-panier p.payment-detail{
    font-size:0.8em;
}
*/


.tab-panier .badge-immediate {
    background-color: #0097a7;
    color: white!important;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: inline-block;
}

.tab-panier .session-icon {
    margin-right: 5px;
}
.tab-panier .action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.tab-panier .btn-text {
    display: none;
}
.tab-panier .action-buttons .btn {
    font-size: 1em;
    padding: 5px 10px;
}

.tab-panier .icon-stage {
    width:60px;height:60px;
    text-align:center;   
    
}
.tab-panier .icon-stage i {
    position:relative;
    top:10px;
    font-size:32px;
}



@media (max-width: 768px) {
    .tab-panier .session-price{
        width:100%;
    }
    .tab-panier .action-buttons {
        flex-direction: column;
        
    }
    .tab-panier .action-buttons .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;                
    }
    .tab-panier .btn-text {
        display: inline;
    }
}


.tab-panier .form-check {
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px;
    transition: border-color 0.3s, background-color 0.3s;
}
.tab-panier .form-check.selected {
    border-color: #007bff;
    background-color: #e7f1ff;
}
.tab-panier .form-check-input {
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.tab-panier .form-check-label {
    margin-left: 15px;
    vertical-align: middle;
    font-size: 1.2em;
    cursor: pointer;
}
.tab-panier .form-check-label i {
    font-size: 0.8em;
}

.tab-panier .container-total-panier .list-group-item {
    justify-content: flex-end;
}
.tab-panier .option-row {
    font-weight:bold;
}
        
.tab-panier .terms {
    margin-top: 20px;
    font-size: 0.9em;
    color: #555;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.time-slot{min-width:50px}
      
.time-slot.already-selected{
    background-color:rgba(0, 255, 0, 0.1);
    border:2px solid #00CC00;
    cursor: not-allowed;
}


/*************************************************************************** sheet payment *******************

.tab-paiement h5{
    font-weight:normal;
    font-size:1.2em;
}

.tab-paiement .container-paiement {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.tab-paiement .payment-summary, .tab-paiement .stripe-module {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

.tab-paiement .option-header {
    display: flex;
    align-items: center;
    background-color: #4a90e2;
    color: white;
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-size: 1.2em;
}
.tab-paiement .option-header i {
    margin-right: 10px;
}

.tab-paiement .session-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e6e9ed;
    padding-bottom: 15px;
}
.tab-paiement .session-item h5 {
    font-size: 1em; 
    color: #333;
    margin-bottom: 10px;
}
.tab-paiement .session-item h5 i {
    color:#4a90e2;
    font-size:0.7em;            
}
.tab-paiement .session-item ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}
.tab-paiement .session-item ul li {
    margin: 5px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9em;
    color: #555;
}
.tab-paiement .session-item ul li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #4a90e2;
}

.tab-paiement .subtotal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    font-weight: bold;
   
}
.tab-paiement .subtotal p {
    margin: 0;
}
.tab-paiement .subtotal p:first-child{
    font-weight:normal;
    font-style:italic;
    margin-right:5px;
    
}
.tab-paiement .total-amount {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    text-align: right;
}
*/

/************************************ TODO NOW DEBUG */

/* TODO NOW move to common-css */
.temporary-alert {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom:10px;
}
.temporary-alert .icon {
    margin-right: 10px;
}



/********************************************************************* TABLE RECURRENCES **/


/* TODO NOW DEBUG   

th.sorting:before, th.sorting_asc:before, th.sorting_desc:before {
             font-family: 'Font Awesome 6 Free';
            padding-right: 5px;
        }
        th.sorting:before {
            content: '\f0dc'; 
        }
        th.sorting_asc:before {
            content: '\f0de'; 
        }
        th.sorting_desc:before {
            content: '\f0dd'; 
        }
 */
 
 
 
#table-recurrences .card {
    margin-bottom: 10px;
}

#table-recurrences .card.success{
    border-left: 10px solid green;
}
#table-recurrences .card.warning{
    border-left: 10px solid orange;
}

#table-recurrences .card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
}
#table-recurrences .btn-action {
    margin-left: 10px;
}
/* Supprimer le fond et les bords du tableau */
#table-recurrences_wrapper .dataTables_wrapper .dataTables_length, 
#table-recurrences_wrapper .dataTables_wrapper .dataTables_filter,
#table-recurrences_wrapper .dataTables_wrapper .dataTables_info, 
#table-recurrences_wrapper .dataTables_wrapper .dataTables_paginate {
    margin: 10px 0;
}
#table-recurrences_wrapper .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0;
}
#table-recurrences {
    border: none;
    background-color: transparent;
}
/*
#table-recurrences thead {
    display: none;
}
*/
#table-recurrences tbody tr {
    border: none;
}
#table-recurrences tbody td {
    padding: 0;
    border: none;
}

#table-recurrences .card-title {margin:0;font-weight:normal;}
#table-recurrences .card-text {margin:0;color:#999999}


.dataTables_wrapper .dataTables_paginate {
    border:1px solid #cccccc;
    padding:0px;
    border-radius: 0.25rem;
    margin-top:5px;
}
        
.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin: 0;
    color:#007bff!important;
    border-left: 1px solid #cccccc;
}
       

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-image:none;
    background-color:#00008B ;         
}
        
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: #cccccc!important;
    background-color:#eeeeee;
    cursor: default;
    pointer-events: none;          
}
        
       
        
.dataTables_wrapper .dataTables_paginate .paginate_button.current {           
    background-image:none;         
    background-color: #007bff;            
    color: white!important;                   
}
        
        
 /*         
        
        

Custom sorting icons 
        table.dataTable thead .sorting:before,
        table.dataTable thead .sorting:after,
        table.dataTable thead .sorting_asc:before,
        table.dataTable thead .sorting_asc:after,
        table.dataTable thead .sorting_desc:before,
        table.dataTable thead .sorting_desc:after {
            position: absolute;
            bottom: .9em;
            display: block;
            opacity: 0.3;
        }
        table.dataTable thead .sorting {
            background: none;
        }
        table.dataTable thead .sorting:before {
            right: 1.2em;
            content: "\f0dc";
            font-family: "Font Awesome 6 Free";
            color:red;
            
        }
        table.dataTable thead .sorting:after {
            right: 1em;
            content: "\f0dd";
            font-family: "Font Awesome 6 Free";
            
        }
        table.dataTable thead .sorting_asc:before {
            right: 1em;
            content: "\f0de";
            font-family: "Font Awesome 6 Free";
            color:red;
            
        }
        table.dataTable thead .sorting_asc:after {
            right: 1.2em;
            content: "\f0dd";
            font-family: "Font Awesome 6 Free";
            
            opacity: 0;
        }
        table.dataTable thead .sorting_desc:before {
            right: 1em;
            content: "\f0de";
            font-family: "Font Awesome 6 Free";
            
            opacity: 0;
        }
        table.dataTable thead .sorting_desc:after {
            right: 1.2em;
            content: "\f0dd";
            font-family: "Font Awesome 6 Free";
           
        }

*/ 


th.sorting:before, th.sorting_asc:before, th.sorting_desc:before {
    font-family: 'Font Awesome 6 Free';    
    position:absolute;
    right:5px;
    font-weight:900;
}
th.sorting:before {
    content: '\f884'; 
    
}
th.sorting_asc:before {
    content: '\f884'; 
    
}
th.sorting_desc:before {
    content: '\f885';
    
}  

/* COMPLETE PROFILE */
.profession-header {
    font-weight: bold;
    margin-top: 20px;
}
.service-item {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}
.service-header {
    font-weight: bold;
    color: #7CA594;
}
.service-details {
    font-size: 0.9em;
    color:grey;
}
.price-duration {
    font-style: italic;
}



