p {
    margin: 0;
}

body {
    max-height: 100vh;
    margin: 0;
}

button {
    cursor: pointer;
}

/* -- Navbar start -- */
.navbar .logo{
    width: 10%;
}
.navbar{
    background: red;
    display: flex;
}
.navbar ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 1% auto;
}
.navbar ul h2 span {
    color: #fff;
}

.btn-disconnect{
    width: 3%;
    margin-right: 3%;
    border-radius: 20%;
    transition: 0.25s ease-in;
    height: auto !important;
}
.btn-disconnect:hover{
    background-color: #fff;
}

.btn-disconnect img {
    width: 100%;
}
.loadCallBackForm{
    width: 3%;
    margin: 0;
    border-radius: 20%;
    transition: 0.25s ease-in;
}
.loadCallBackForm:hover{
    background-color: #fff;
}
.loadCallBackForm button{
    width: 100%;
    height: auto;
    background: none;
    border: none;
    cursor: pointer;
}

.loadCallBackForm button img{
    width: 100%;
}
.navbar .page{
    display: flex;
    width: 12%;
    justify-content: space-between;
}
.navbar form{
    margin: 0;
}
.navbar a, .navbar form button{
    text-decoration: none;
    color: #000;
    transition: 0.3s ease-in;
    background-color: transparent;
    border: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar a:hover, .navbar form button:hover{
    color: #fff;
}

/* -- Navbar end -- */

/* -- Home start -- */

.home-main {
    display: flex;
    justify-content: space-evenly;
}

.home-part {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.home-part-title {
    margin: 5% 0;
}

.home-part-title h2{
    margin: 0;
    font-size: xx-large;
    text-align: center;
    font-weight: normal;
}
.home-part-title h2 span {
    font-weight: bold;
}

.home-card {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto;
    padding: 5% 0;
    border-radius: 15px;
    transform-style: preserve-3d;
    box-shadow: 0 20px 20px rgba(0,0,0, 0.2), 0 0 20px rgba(0,0,0,0.2);
}

.home-card-content {
    display: flex;
    width: 90%;
    justify-content: space-evenly;
}

.home-card-info-block {
    width: 30%;
}

.home-card-action-block {
    width: 60%;
}

.home-part button {
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    border: 1px solid black;
    transition: 0.5s ease;
    padding: 1.5% 0;
}

.home-main button.active:hover {
    border-color: green;
    background-color: green;
    color: white;
    font-weight: bold;
}

.home-main button.inactive:hover {
    border-color: red;
    background-color: red;
    color: white;
    font-weight: bold;
}

.home-card-action-no-block {
    display: flex;
    align-items: center;
}

.home-card-action-no-block button {
    width: 30%;
    margin-right: 10%;
}

.customerForm-answer {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.customerForm-content p:not(:nth-child(6)) {
    margin: 0;
    font-weight: bold;
}

.customerForm-content span {
    font-weight: lighter;
}
.customerForm-mail {
    text-decoration: none;
    font-weight: bold;
}

.home-card-action-comments {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.home-card-action-content textarea {
    height: 100px;
    max-width: 100%;
    width: 90%;
    margin: 2.5% 0;
    resize: vertical;
    overflow-x: auto;
    align-items: flex-start; 
    border-radius: 5px;
    padding: 10px;
    font-style: italic;
}

.home-card-action-content textarea[name='commentObjectif'] {
    height: 50px;
}

.customerForm-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 0 5%;
}

.customerForm-btn button {
    width: 40%;
}

.callBackForm {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.alertBlock {
    height: 25px;
    margin: 0 0 5%;
    display: flex;
    justify-content: center;
}

.alertError {
    display: flex;
    justify-content: center;
}

.alertError p {
    color: red;
    text-align: center;
    font-weight: bold;
}

.callBackDate-title {
    border: 2.5px solid red;
    width: calc(100% - 2.5px);
    display: flex;
    justify-content: center;
    padding: 2.5% 0;
    margin-top: 5%;
}

.callBackDate-title p {
    font-weight: bold;
    font-size: 18px;
    color: red;
}

.callBackCalendar {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 2.5% 0;
}

#callBackDate, .reCallBackDate {
    height: 30px;
    width: 35%;
    text-align: center;
}

.callBackCalendar p {
    font-size: 16px;
}

.callBackForm button{
    transition: 0.5s ease;
    width: 50%;
}

.callBackForm button:disabled p {
    color: rgba(16, 16, 16, 0.3);
    font-weight: normal;
}

.callBackForm button:disabled:hover {
    background-color: transparent;
    border-color: black;
}

.callBackForm button:disabled:hover p {
    color: rgba(16, 16, 16, 0.3);
    font-weight: normal;
}

.callBackForm button:hover {
    color: #fff;
    border-color:  blue;
    background: blue;
    font-weight: bold;
}

form .customerDie{
    background-color: rgb(249, 72, 72);
    color: #fff;
    border: none;
}

form .customerDie:hover{
    background-color: rgb(136, 5, 5);
}
form .customerForm-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
form .customerStar {
    width: 10%;
}

/* -- Home end -- */

/* -- Connect start -- */
.connect-part{
    height: 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

.connect-card {
    padding: 5% 0;
    width: 30%;
}

.connect-card .form{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    width: 75%;
}
.connect-card .form h2{
    margin: 0 0 15%;
}

.connect-card .form input {
    border-radius: 5px ;
    border: none;
    padding: 2.5%;
}
.connect-card .form-input {
    padding: 5%;
}

.connect-card .form .form-btn {
    cursor: pointer;
    transition: ease-in 0.25s;
}
.connect-card .form .form-btn:hover{
    background-color: #000;
    color: #fff;
    font-weight: bold;

}

/* -- Connect end -- */



/* -- Admin start -- */
.admin-home-part {
    width: 45%;
}

.admin-home-part p, .admin-home-part h5 {
    font-size: 14px;
}

.admin-home-part .scrollview{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.admin-home-part .home-card {
    flex: 0 0 calc(50% - 10px); /* 50% de la largeur de la ligne, en soustrayant une marge */
    margin: 5px; /* Ajoutez une marge pour séparer les éléments */
    width: 45%;
    max-height: 400px;
}

.admin-home-part .home-card-content {
    flex-direction: column;
}

.admin-home-part:nth-child(3) .home-card {
    max-height: 180px;
}

.admin-customer-comment:nth-child(8) p{
    max-width: 90%;
    height: 150px;
    word-wrap: break-word;
}


.home-card-admin{
    display: flex;
    flex-direction: row-reverse;
}

.admin-delete{
    width: 10%;
    cursor: pointer;
}

.home-card-admin button {
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 5%;
}

.home-card-admin button:hover {
    background-color: red;
    border: 1px solid red;
}

.admin-home-part .customerForm-btn {
    flex-direction: column;
}

.admin-home-part .customerFrom-btn-exist {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

/* -- Admin end -- */

/* -- Search Start -- */


.search-form{
    display: flex;
    width: 25%;
    justify-content: space-between;
    margin: 1% auto;
}
.search-form input{
    width: 67%;
    height: 30px;
    border-radius: 20px;
    border: none;
    background: #e4dddd;
    padding: 0 12px;
}

.search-form button {
    border: none;
    border-radius: 10px;
    width: 25%;
    background: none;
    transition: 0.25s ease-in;
}

.search-form button:hover{
    background: #C5C5C5;
    color: #fff;
}
 
/* -- Search end -- */