#page-43 {

    background-color: #f7f7f7;

    .machines-containers {
        margin-bottom: -20%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-bar {
        width: 80%;
        margin: 30px 50px 0px 250px;
        display: flex;
        justify-content: left;
    }
    
    .search-container {
        position: relative;
        width: 33%;
    }
    
    .search-bar input[type="search"] {
        width: 100%;
        padding: 10px 10px 10px 30px;
        border-radius: 10px;
        border: 2px solid rgba(0, 0, 0, 0.8);
        font-size: 11px;
        outline: none;
    }
    
    .search-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: rgb(90, 90, 90);
        pointer-events: none;
        font-size: 17px;
    }
    
    .listing-machines {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 2%;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .machine-card {
        width: 250px;
        margin: 15px;
        height: 390px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        font-family: 'Poppins';
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 15px;
        position: relative;
        background-color: white;
        z-index: 1;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .machine-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
    }
    
    .machine-card:hover::after {
        content: '';
        position: absolute;
        top: -10px;
        bottom: -10px;
        left: -10px;
        right: -10px;
        border-radius: 10px;
        border: 2px solid rgba(255, 255, 255, 0.815);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.815);
        z-index: -1;
    }
    
    .machine-color-feature {
        width: 129px;
        height: 195px;
        position: absolute;
        left: 60px;
        top: 0;
    }
    
    .top-rectangle {
        width: 250px;
        height: 132px;
        background-color: #1F2243;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        position: absolute;
        top: 0;
        left: -60px;
        z-index: -1;
    }
    
    .listing-machines .machine-card:nth-child(even) .top-rectangle {
        background-color: #EA581D;
    }
    
    .middle-rectangle {
        width: 129px;
        height: 136px;
        background-color: #747CF9;
        z-index: -1;
    }
    
    .middle-ellipse {
        width: 129px;
        height: 125px;
        background-color: #747CF9;
        border-radius: 9999px;
        position: absolute;
        top: 70px;
        z-index: -1;
    }
    
    .listing-machines .machine-card:nth-child(even) .middle-rectangle {
        background-color: #EB936C;
    }
    
    .listing-machines .machine-card:nth-child(even) .middle-ellipse {
        background-color: #EB936C;
    }
    
    .machine-nom {
        color: black;
        font-weight: 700;
        font-size: 11px;
        position: absolute;
        top : 64%;
        width: 90%;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1.65px;
    }
    
    .machine-tag {
        color: black;
        background-color: white;
        font-weight: 700;
        font-size: 8px;
        z-index: 15;
        border-radius: 10px;
        width: fit-content;
        text-align: center;
        padding: 5px;
    }
    
    .machine-description {
        color: #666666;
        font-weight: 600;
        font-size: 8px;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1.65px;
        position: absolute;
        top: 75%;
        padding: 2%;
    }
    
    .machine-detail-link {
        width: 250px;
        height: 39px;
        background-color: #747CF9;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        position: absolute;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .listing-machines .machine-card:nth-child(even) .machine-detail-link {
        background-color: #EB936C;
    }
    
    .machine-detail-link p {
        font-size: 10px;
        color: white;
        text-transform: uppercase;
        letter-spacing: 1.65px;
        font-weight: 600;
        white-space: nowrap;
        margin-top: 4%;
    }
    
    .machine-detail-link:hover {
        background-color: #1F2243;
    }
    
    .machine-card:nth-child(even) .machine-detail-link:hover {
        background-color: #EA581D;
    }
    
    .machine-img {
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
    }
    
    .machine-no_img {
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 60%;
        max-height: 100%;
    }
    
    .info-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: rgb(255, 255, 255);
        pointer-events: none;
        font-size: 17px;
    }
    
    .title-machines h1 {
        text-align: center;
        margin-top: 20px;
    }
}

#page-46 {
    .machine-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1200px;
        margin: 20px auto;
        padding-top: 20px;
    }

    .detail-machine {
        width: 100%;
    }

    .machine-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }

    .top-container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        flex-direction: row;
        width: 100%;
    }

    .image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: white;
        padding: 20px;
        border-radius: 10px 0 0 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 50%;
        height: auto;
    }

    .machine-img, .machine-no_img {
        max-width: 80%;
        max-height: 80%;
        border-radius: 10px;
    }

    .info-container {
        flex: 1;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #1F2243;
        padding: 20px;
        border-radius: 0 10px 10px 0;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .machine-nom {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 6%;
        color: white;
        align-self: flex-start;
    }

    .machine-tarif {
        font-size: 20px;
        color: #EA581D;
        font-weight: 600;
    }

    .machine-prestation {
        font-size: 14px;
        color: white;
        font-weight: 400;
        margin-bottom: 6%;
    }

    .description-container {
        padding: 0;
        margin-bottom: 10px;
        color: white;
        width: 100%;
    }

    .description-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 10px;
        background-color: #EA581D;
        border-radius: 10px 10px 0 0;
    }

    .description-title {
        font-size: 18px;
        font-weight: bold;
        color: white;
    }

    .arrow {
        font-size: 24px;
        transition: transform 0.3s ease;
        color: white;
    }

    .arrow.up {
        transform: rotate(180deg);
    }

    .description-content {
        max-height: 0;
        overflow: hidden;
        background-color: #EB936C;
        border-radius: 0 0 10px 10px;
        transition: max-height 0.5s ease, padding 0.3s ease;
    }

    .description-content.open {
        max-height: 150px;
        padding: 10px;
        overflow-y: auto;
    }

    .description-content::-webkit-scrollbar {
        width: 6px;
    }

    .description-content::-webkit-scrollbar-track {
        background: #EB936C;
        border-radius: 10px;
    }

    .description-content::-webkit-scrollbar-thumb {
        background: #EA581D;
        border-radius: 10px;
    }

    .machine-description {
        font-size: 12px;
        color: white;
        margin-bottom: 10px;
    }

    .caracteristique-container {
        width: 100%;
        margin: 20px 0;
        display: flex;
        justify-content: center;
        border: 1px solid #EA581D;
        border-radius: 10px;
    }

    .caracteristique-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #EA581D;
    }

    .caracteristique-table th, .caracteristique-table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
        font-size: 12px;
        border: 1px solid #EA581D;
        background-color: white;
    }

    .caracteristique-table th {
        background-color: white;
        color: #EA581D;
        font-size: 16px;
        text-align: center;
    }

    .date-inputs {
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .date-inputs label {
        font-size: 10px;
        margin-bottom: 5px;
        color: white;
    }
    
    .date-inputs input[type="date"] {
        display: block;
        margin-bottom: 10px;
        padding: 10px;
        font-size: 12px;
        color: rgb(143, 143, 143);
        width: 100%;
        border: 1px solid transparent;
        border-radius: 10px;
    }
    
    .date-inputs input[type="date"]:focus {
        border: 1px solid #EA581D;
        outline: none;
    }
    

    button[type="submit"] {
        background-color: #EA581D;
        color: white;
        border: 2px solid transparent;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 10px;
        cursor: pointer;
        width: 100%;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    button[type="submit"]:hover {
        background-color: white;
        color: #EA581D;
        border: 2px solid #EA581D;
    }
}
