        body {
            margin: 0;
            font-family: sans-serif;
            overflow: hidden;
            background-color: transparent;
        }

        .calendar-wrapper {
            position: relative;
            width: 100vw;
            overflow: hidden;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                top: 50px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                top: 30px;
            }

        }

        #calendar-container {
            height: 220px;
            margin: 0 32px;
            /* espace pour les flèches */
            display: flex;
            flex-direction: column;
            overflow: hidden;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                height: 235px;
                margin: unset;
            }
        }

        /* scrollables avec largeur limitée */
        .header-scroll {
            display: flex;
            overflow: hidden;
            width: calc(100vw - 64px);
            /* 100vw - (2 * 32px) */

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                width: 100vw;
            }
        }


        #calendar-header {
            position: absolute;
            top: 0;
            background: black;
            z-index: 10;
            display: flex;
            flex-direction: column;
        }


        .villa-name {
            width: 100px;
            min-width: 100px;
            text-align: left;
            padding-left: 4px;
            flex-shrink: 0;
            height: 30px;
            color: goldenrod;
            text-shadow:
                1px 1px 1px #000,
                /* lumière haute */
                -1px -1px 1px #ccc;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }



        #cache-line {
            position: absolute;
            top: 0;
            height: 40px;
            background: linear-gradient(90deg, black, black 30%, transparent 90%, transparent);
            width: 150px;
            z-index: 11;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                opacity: 0;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 40px;
            }
        }

        #month-line {
            display: flex;
            height: 25px;
            font-size: 12px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }

        #day-line {
            display: flex;
            height: 15px;
            font-size: 12px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                height: 30px;
            }
        }

        .month-cell {
            width: 24px;
            text-align: center;
            line-height: 25px;
            flex-shrink: 0;
            color: goldenrod;
            background: linear-gradient(90deg, black, #2a0707 30%, #2a0707 70%, black);
        }

        .day-cell {
            width: 25px;
            text-align: center;
            flex-shrink: 0;
            color: goldenrod;
        }

        #calendar-scroll {
            display: flex;
            flex-direction: column;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            position: relative;
            top: 40px;
            -webkit-overflow-scrolling: touch;
            height: 180px;
            background-color: #164816;
            touch-action: pan-x;
            user-select: none;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                top: 55px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 150px;
            }
        }

        #calendar-scroll::-webkit-scrollbar {
            display: none;
        }

        .villa-row {
            display: flex;
            height: 30px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }

        .villa-mask {
            position: fixed;
            width: calc(100vw - 64px);
            height: 30px;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            font-size: 14px;
            color: rgb(190, 180, 61);
            line-height: 30px;
            text-align: center;
            display: none;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }

        .cell {
            width: 25px;
            height: 30px;
            flex-shrink: 0;
            box-sizing: border-box;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }


        .free {
            cursor: pointer;
            box-sizing: border-box;
            border: 0.1px solid #0e170d;
            border-radius: 6px 6px 6px 6px;
            background: #045704;

            &:hover {
                background: rgb(0, 117, 21);
                border-radius: 4px 4px 4px 4px;
                box-shadow: 0 3px rgba(10, 10, 10, 0.3);
                transform: translateY(-0.5px);
                transition-duration: 0.1s;
                color: black;
            }
        }

        .sunday {
            border-left: 1px solid #807120;
        }

        .busy {
            pointer-events: none;
            cursor: not-allowed;
            box-sizing: border-box;
            border-radius: 3px;
            border: 0.1px solid rgba(80, 40, 40, 1);
            border-radius: 2px;
            background: rgba(61, 6, 6, 1);
        }

        .busy-start {

            cursor: pointer;
            background: linear-gradient(to bottom right, #045704, #045704 50%, rgba(61, 6, 6, 1) 50%, rgba(61, 6, 6, 1));
            width: 25px;
            cursor: pointer;
            color: transparent;

            border: 0.1px solid #242312;
            border-radius: 6px 2px 2px 2px;

            &:hover {
                background: linear-gradient(to bottom right, rgb(0, 117, 21), rgb(0, 117, 21) 50%, rgba(61, 6, 6, 1) 50%, rgba(61, 6, 6, 1));

                border-radius: 4px 4px 4px 4px;

                box-shadow: 0 3px rgba(10, 10, 10, 0.3);
                transform: translateY(-0.5px);
                transition-duration: 0.1s;
                color: white;

            }
        }

        .busy-end {

            cursor: pointer;
            background: linear-gradient(to bottom right,
                    rgba(61, 6, 6, 1),
                    rgba(61, 6, 6, 1) 50%,
                    #045704 50%,
                    #045704);

            border-radius: 2px 6px 2px 2px;
            width: 25px;

            &:hover {
                background: linear-gradient(to bottom right,
                        rgba(61, 6, 6, 1),
                        rgba(61, 6, 6, 1) 50%,
                        rgb(0, 117, 21) 50%,
                        rgb(0, 117, 21));
                border-radius: 4px 4px 4px 4px;
                box-shadow: 0 3px rgba(10, 10, 10, 0.3);
                transform: translateY(-0.5px);
                transition-duration: 0.1s;
                color: black;
            }
        }



        .selected {
            background-color: goldenrod;
            border-top: 2px solid rgb(219, 142, 75);
            border-bottom: 2px solid rgb(219, 142, 75);
            border-left: 0.1px solid white;
            border-radius: 0px;
        }

        .selected.start,
        .selected.end {
            transform: none;
        }

        .selected.notenough,
        .free.selected.start.notenough,
        .free.selected.end.notenough {
            background-color: #024202;
            border-top-color: red;
            border-bottom-color: red;
            border-left-color: black;
        }


        .notenough-text {
            position: absolute;
            pointer-events: none;
            display: none;
            font-size: 11px;
            line-height: 30px;
            min-width: max-content;
            color: white;
        }

        .busy-start.selected {
            background: linear-gradient(to bottom right, goldenrod 50%, rgba(61, 6, 6, 1) 50%);
            cursor: pointer;
            border-bottom: 2px solid rgb(219, 142, 75);
            border-right: 2px solid rgb(219, 142, 75);
            border-radius: 0 50% 50% 0;
        }

        .busy-start.selected.notenough {
            background: linear-gradient(to bottom right, #024202 50%, rgba(61, 6, 6, 1) 50%);
            border-color: red;


        }

        .busy-end.selected {
            background: linear-gradient(to bottom right, rgba(61, 6, 6, 1) 50%, goldenrod 50%);
            border-top: 2px solid rgb(219, 142, 75);
            border-radius: 50% 0 0% 50%;
            cursor: pointer;
            border-bottom: 2px solid rgb(219, 142, 75);
            border-left: 2px solid rgb(219, 142, 75);
        }

        .busy-end.selected.notenough {
            background: linear-gradient(to bottom right, rgba(61, 6, 6, 1) 50%, #024202 50%);
            border-right: 0.1px solid black;
            border-color: red;
        }


        .free.selected.end {
            background: linear-gradient(to bottom right, goldenrod 50%, #045704 50%);
            border-radius: 0 50% 50% 0;
            border-right: 2px solid rgb(219, 142, 75);
        }

        .free.selected.end.notenough {
            background: linear-gradient(to bottom right, #024202 50%, #045704 50%);
            border-left-color: black;
            border-right-color: red;
        }

        .free.selected.start {
            background: linear-gradient(to bottom right, #045704 50%, goldenrod 50%);
            border-top: 2px solid rgb(219, 142, 75);
            border-left: 2px solid rgb(219, 142, 75);
            border-radius: 50% 0% 0% 50%;
            border-bottom: 2px solid rgb(219, 142, 75);
        }

        .free.selected.start.notenough {
            background: linear-gradient(to bottom right, #045704 50%, #024202 50%);
            border-left-color: red;
            border-right-color: black;
        }

        .free.selected.start.end {
            border-radius: 0;
        }

        .notenough {
            background-color: #024202;
        }

        .arrow {
            width: 32px;
            height: 220px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
            z-index: 10;
            position: absolute;
            background-color: transparent;
            top: 0;
            transform: scaleX(-1);
            right: 0;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 180px;
            }
        }

        .arrow.left {
            left: 0;
            right: unset;
            transform: unset;
        }

        .arrow:hover,
        .arrow:active {
            background: rgba(218, 165, 32, 0.3);
        }

        .arrow-icon {
            font-size: 24px;
            color: #333;
            transition: transform 0.2s ease;
        }

        .arrow:hover .arrow-icon {
            transform: scale(1.2);
        }

        .arrow.active {
            background-color: rgba(218, 165, 32, 0.2);
        }


        .villa-labels {
            background: linear-gradient(90deg, black, black 30%, transparent 90%, transparent);
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 40px;
            width: 140px;
            min-width: 140px;
            font-size: 18px;
            padding: 0 0 0 10px;
            z-index: 12;
            cursor: default;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                top: 55px;
                background: none;
                pointer-events: none;
                line-height: 0;
                font-size: 14px;
                cursor: pointer;
                left: 10px;
            }
        }



        #reservation-popup {
            display: flex;
            position: absolute;
            top: 230px;

            z-index: 1000;
            color: white;
            padding: 10px;
            font-size: 12px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                width: 90vw;
                min-height: 127px;
                top: 320px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                top: 230px;
            }

        }


        #reservation-form {
            display: flex;
            gap: 10px;
            width: 90vw;
            margin-left: 30vw;
            max-width: 500px;
            justify-content: center;

            @media screen and (max-width: 900px) and (hover: hover) and (pointer: fine) {

                flex-direction: column;
                align-content: center;
                max-width: 250px;
            }

            @media screen and (max-width: 600px) and (hover: hover) and (pointer: fine) {

                flex-direction: column;
                align-content: unset;
                max-width: 250px;
                margin-left: unset;
            }


            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                flex-direction: column;
                justify-content: unset;
                margin-left: 20px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                margin-left: 50px;
            }
        }

        #reservation-dates {
            display: flex;
            gap: 10px;
        }

        #reservation-form label {
            gap: 6px;
        }

        #reservation-form input::placeholder {
            color: grey;
            opacity: 0.5;
        }

        #reservation-form h3 {
            font-size: 12px;
            margin: 0;
        }

        #reservation-form input:invalid {
            background: rgba(242, 235, 235, 0.829);
            outline: 3px solid red;
        }

        #reservation-form input {
            color: #26502e;
            background: #eefff0;
            font-weight: bolder;
            box-sizing: border-box;
            outline: 3px solid green;
            width: 105px;
        }

        #reservation-dates label {
            display: flex;
            flex-direction: column;
            width: fit-content;
        }

        @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
            #reservation-dates input {
                width: 105px;
            }
        }

        #reservation-guests {
            display: flex;
            flex-direction: column;
        }

        #reservation-g-number {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        #reservation-g-number label {
            display: flex;
            flex-direction: column;
        }

        #reservation-g-number input {

            width: 105px;
        }


        #children-ages {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        #children-ages label {
            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                max-width: 100px;
                margin-left: -20%;
            }
        }

        #children-ages input {
            margin-top: 5px;
            width: 50px;
        }

        @keyframes shake {
            0% {
                transform: translateX(0);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            25% {
                transform: translateX(-5px);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            50% {
                transform: translateX(5px);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            75% {
                transform: translateX(-5px);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            100% {
                transform: translateX(0);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }
        }

        .shake {
            animation: shake 0.4s ease;
        }

        #submit-btn {
            background: url('/assets/frog1.CisVxamJ.png') center/contain no-repeat;
            color: white;
            text-align: center;
            height: 100px;
            width: 100px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow:
                0 8px 12px rgba(0, 0, 0, 0.5),
                inset 0 3px 6px rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            transition: box-shadow 0.3s ease, transform 0.2s ease;
            position: absolute;
            left: 100%;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                left: 260px;
                top: 20px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                top: 20px;
            }
        }

        button[type="submit"] .submit-txt {
            color: #d6ad68;
            display: block;
            margin-top: 60%;
            font-weight: bolder;
            position: relative;
            font-size: 16px;
        }

        #submit-btn:hover {
            box-shadow:
                0 4px 6px rgba(0, 0, 0, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
        }

        @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
            #reservation-form button {
                position: fixed;
                left: 100%;
                transform: translateX(-105%);
                top: 5%;
                height: 90%;
                width: 130px;
            }
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @media (max-width: 768px) {

            .month-cell,
            .day-cell,
            .cell {
                width: 25px;
            }
        }
        
         body {
            margin: 0;
            font-family: sans-serif;
            overflow: hidden;
            background-color: transparent;
        }

        .calendar-wrapper {
            position: relative;
            width: 100vw;
            overflow: hidden;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                top: 50px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                top: 30px;
            }

        }

        #calendar-container {
            height: 220px;
            margin: 0 32px;
            /* espace pour les flèches */
            display: flex;
            flex-direction: column;
            overflow: hidden;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                height: 235px;
                margin: unset;
            }
        }

        /* scrollables avec largeur limitée */
        .header-scroll {
            display: flex;
            overflow: hidden;
            width: calc(100vw - 64px);
            /* 100vw - (2 * 32px) */

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                width: 100vw;
            }
        }


        #calendar-header {
            position: absolute;
            top: 0;
            background: black;
            z-index: 10;
            display: flex;
            flex-direction: column;
        }


        .villa-name {
            width: 100px;
            min-width: 100px;
            text-align: left;
            padding-left: 4px;
            flex-shrink: 0;
            height: 30px;
            color: goldenrod;
            text-shadow:
                1px 1px 1px #000,
                /* lumière haute */
                -1px -1px 1px #ccc;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }



        #cache-line {
            position: absolute;
            top: 0;
            height: 40px;
            background: linear-gradient(90deg, black, black 30%, transparent 90%, transparent);
            width: 150px;
            z-index: 11;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                opacity: 0;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 40px;
            }
        }

        #month-line {
            display: flex;
            height: 25px;
            font-size: 12px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }

        #day-line {
            display: flex;
            height: 15px;
            font-size: 12px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                height: 30px;
            }
        }

        .month-cell {
            width: 24px;
            text-align: center;
            line-height: 25px;
            flex-shrink: 0;
            color: goldenrod;
            background: linear-gradient(90deg, black, #2a0707 30%, #2a0707 70%, black);
        }

        .day-cell {
            width: 25px;
            text-align: center;
            flex-shrink: 0;
            color: goldenrod;
        }

        #calendar-scroll {
            display: flex;
            flex-direction: column;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            position: relative;
            top: 40px;
            -webkit-overflow-scrolling: touch;
            height: 180px;
            background-color: #164816;
            touch-action: pan-x;
            user-select: none;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                top: 55px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 150px;
            }
        }

        #calendar-scroll::-webkit-scrollbar {
            display: none;
        }

        .villa-row {
            display: flex;
            height: 30px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }

        .villa-mask {
            position: fixed;
            width: calc(100vw - 64px);
            height: 30px;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            font-size: 14px;
            color: rgb(190, 180, 61);
            line-height: 30px;
            text-align: center;
            display: none;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }

        .cell {
            width: 25px;
            height: 30px;
            flex-shrink: 0;
            box-sizing: border-box;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 25px;
            }
        }


        .free {
            cursor: pointer;
            box-sizing: border-box;
            border: 0.1px solid #0e170d;
            border-radius: 6px 6px 6px 6px;
            background: #045704;

            &:hover {
                background: rgb(0, 117, 21);
                border-radius: 4px 4px 4px 4px;
                box-shadow: 0 3px rgba(10, 10, 10, 0.3);
                transform: translateY(-0.5px);
                transition-duration: 0.1s;
                color: black;
            }
        }

        .sunday {
            border-left: 1px solid #807120;
        }

        .busy {
            pointer-events: none;
            cursor: not-allowed;
            box-sizing: border-box;
            border-radius: 3px;
            border: 0.1px solid rgba(80, 40, 40, 1);
            border-radius: 2px;
            background: rgba(61, 6, 6, 1);
        }

        .busy-start {

            cursor: pointer;
            background: linear-gradient(to bottom right, #045704, #045704 50%, rgba(61, 6, 6, 1) 50%, rgba(61, 6, 6, 1));
            width: 25px;
            cursor: pointer;
            color: transparent;

            border: 0.1px solid #242312;
            border-radius: 6px 2px 2px 2px;

            &:hover {
                background: linear-gradient(to bottom right, rgb(0, 117, 21), rgb(0, 117, 21) 50%, rgba(61, 6, 6, 1) 50%, rgba(61, 6, 6, 1));

                border-radius: 4px 4px 4px 4px;

                box-shadow: 0 3px rgba(10, 10, 10, 0.3);
                transform: translateY(-0.5px);
                transition-duration: 0.1s;
                color: white;

            }
        }

        .busy-end {

            cursor: pointer;
            background: linear-gradient(to bottom right,
                    rgba(61, 6, 6, 1),
                    rgba(61, 6, 6, 1) 50%,
                    #045704 50%,
                    #045704);

            border-radius: 2px 6px 2px 2px;
            width: 25px;

            &:hover {
                background: linear-gradient(to bottom right,
                        rgba(61, 6, 6, 1),
                        rgba(61, 6, 6, 1) 50%,
                        rgb(0, 117, 21) 50%,
                        rgb(0, 117, 21));
                border-radius: 4px 4px 4px 4px;
                box-shadow: 0 3px rgba(10, 10, 10, 0.3);
                transform: translateY(-0.5px);
                transition-duration: 0.1s;
                color: black;
            }
        }



        .selected {
            background-color: goldenrod;
            border-top: 2px solid rgb(219, 142, 75);
            border-bottom: 2px solid rgb(219, 142, 75);
            border-left: 0.1px solid white;
            border-radius: 0px;
        }

        .selected.start,
        .selected.end {
            transform: none;
        }

        .selected.notenough,
        .free.selected.start.notenough,
        .free.selected.end.notenough {
            background-color: #024202;
            border-top-color: red;
            border-bottom-color: red;
            border-left-color: black;
        }


        .notenough-text {
            position: absolute;
            pointer-events: none;
            display: none;
            font-size: 11px;
            line-height: 30px;
            min-width: max-content;
            color: white;
        }

        .busy-start.selected {
            background: linear-gradient(to bottom right, goldenrod 50%, rgba(61, 6, 6, 1) 50%);
            cursor: pointer;
            border-bottom: 2px solid rgb(219, 142, 75);
            border-right: 2px solid rgb(219, 142, 75);
            border-radius: 0 50% 50% 0;
        }

        .busy-start.selected.notenough {
            background: linear-gradient(to bottom right, #024202 50%, rgba(61, 6, 6, 1) 50%);
            border-color: red;


        }

        .busy-end.selected {
            background: linear-gradient(to bottom right, rgba(61, 6, 6, 1) 50%, goldenrod 50%);
            border-top: 2px solid rgb(219, 142, 75);
            border-radius: 50% 0 0% 50%;
            cursor: pointer;
            border-bottom: 2px solid rgb(219, 142, 75);
            border-left: 2px solid rgb(219, 142, 75);
        }

        .busy-end.selected.notenough {
            background: linear-gradient(to bottom right, rgba(61, 6, 6, 1) 50%, #024202 50%);
            border-right: 0.1px solid black;
            border-color: red;
        }


        .free.selected.end {
            background: linear-gradient(to bottom right, goldenrod 50%, #045704 50%);
            border-radius: 0 50% 50% 0;
            border-right: 2px solid rgb(219, 142, 75);
        }

        .free.selected.end.notenough {
            background: linear-gradient(to bottom right, #024202 50%, #045704 50%);
            border-left-color: black;
            border-right-color: red;
        }

        .free.selected.start {
            background: linear-gradient(to bottom right, #045704 50%, goldenrod 50%);
            border-top: 2px solid rgb(219, 142, 75);
            border-left: 2px solid rgb(219, 142, 75);
            border-radius: 50% 0% 0% 50%;
            border-bottom: 2px solid rgb(219, 142, 75);
        }

        .free.selected.start.notenough {
            background: linear-gradient(to bottom right, #045704 50%, #024202 50%);
            border-left-color: red;
            border-right-color: black;
        }

        .free.selected.start.end {
            border-radius: 0;
        }

        .notenough {
            background-color: #024202;
        }

        .arrow {
            width: 32px;
            height: 220px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
            z-index: 10;
            position: absolute;
            background-color: transparent;
            top: 0;
            transform: scaleX(-1);
            right: 0;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                height: 180px;
            }
        }

        .arrow.left {
            left: 0;
            right: unset;
            transform: unset;
        }

        .arrow:hover,
        .arrow:active {
            background: rgba(218, 165, 32, 0.3);
        }

        .arrow-icon {
            font-size: 24px;
            color: #333;
            transition: transform 0.2s ease;
        }

        .arrow:hover .arrow-icon {
            transform: scale(1.2);
        }

        .arrow.active {
            background-color: rgba(218, 165, 32, 0.2);
        }


        .villa-labels {
            background: linear-gradient(90deg, black, black 30%, transparent 90%, transparent);
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 40px;
            width: 140px;
            min-width: 140px;
            font-size: 18px;
            padding: 0 0 0 10px;
            z-index: 12;
            cursor: default;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                top: 55px;
                background: none;
                pointer-events: none;
                line-height: 0;
                font-size: 14px;
                cursor: pointer;
                left: 10px;
            }
        }



        #reservation-popup {
            display: flex;
            position: absolute;
            top: 230px;

            z-index: 1000;
            color: white;
            padding: 10px;
            font-size: 12px;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                width: 90vw;
                min-height: 127px;
                top: 320px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                top: 230px;
            }

        }


        #reservation-form {
            display: flex;
            gap: 10px;
            width: 90vw;
            margin-left: 30vw;
            max-width: 500px;
            justify-content: center;

            @media screen and (max-width: 900px) and (hover: hover) and (pointer: fine) {

                flex-direction: column;
                align-content: center;
                max-width: 250px;
            }

            @media screen and (max-width: 600px) and (hover: hover) and (pointer: fine) {

                flex-direction: column;
                align-content: unset;
                max-width: 250px;
                margin-left: unset;
            }


            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                flex-direction: column;
                justify-content: unset;
                margin-left: 20px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                margin-left: 50px;
            }
        }

        #reservation-dates {
            display: flex;
            gap: 10px;
        }

        #reservation-form label {
            gap: 6px;
        }

        #reservation-form input::placeholder {
            color: grey;
            opacity: 0.5;
        }

        #reservation-form h3 {
            font-size: 12px;
            margin: 0;
        }

        #reservation-form input:invalid {
            background: rgba(242, 235, 235, 0.829);
            outline: 3px solid red;
        }

        #reservation-form input {
            color: #26502e;
            background: #eefff0;
            font-weight: bolder;
            box-sizing: border-box;
            outline: 3px solid green;
            width: 105px;
        }

        #reservation-dates label {
            display: flex;
            flex-direction: column;
            width: fit-content;
        }

        @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
            #reservation-dates input {
                width: 105px;
            }
        }

        #reservation-guests {
            display: flex;
            flex-direction: column;
        }

        #reservation-g-number {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        #reservation-g-number label {
            display: flex;
            flex-direction: column;
        }

        #reservation-g-number input {

            width: 105px;
        }


        #children-ages {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        #children-ages label {
            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                max-width: 100px;
                margin-left: -20%;
            }
        }

        #children-ages input {
            margin-top: 5px;
            width: 50px;
        }

        @keyframes shake {
            0% {
                transform: translateX(0);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            25% {
                transform: translateX(-5px);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            50% {
                transform: translateX(5px);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            75% {
                transform: translateX(-5px);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }

            100% {
                transform: translateX(0);
                box-shadow:
                    0 4px 6px rgba(179, 14, 14, 0.3),
                    /* ombre portée */
                    inset 0 2px 4px rgba(241, 37, 37, 0.3);
            }
        }

        .shake {
            animation: shake 0.4s ease;
        }

        #submit-btn {
            background: url('./img/frog1.png') center/contain no-repeat;
            color: white;
            text-align: center;
            height: 100px;
            width: 100px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            box-shadow:
                0 8px 12px rgba(0, 0, 0, 0.5),
                inset 0 3px 6px rgba(255, 255, 255, 0.5);
            transform: translateY(-2px);
            transition: box-shadow 0.3s ease, transform 0.2s ease;
            position: absolute;
            left: 100%;

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
                left: 260px;
                top: 20px;
            }

            @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: landscape) {
                top: 20px;
            }
        }

        button[type="submit"] .submit-txt {
            color: #d6ad68;
            display: block;
            margin-top: 60%;
            font-weight: bolder;
            position: relative;
            font-size: 16px;
        }

        #submit-btn:hover {
            box-shadow:
                0 4px 6px rgba(0, 0, 0, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
        }

        @media only screen and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: coarse) and (hover: none) and (orientation: portrait) {
            #reservation-form button {
                position: fixed;
                left: 100%;
                transform: translateX(-105%);
                top: 5%;
                height: 90%;
                width: 130px;
            }
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.9);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @media (max-width: 768px) {

            .month-cell,
            .day-cell,
            .cell {
                width: 25px;
            }
        }

#custom-calendar {
  position: absolute;
  top: 60px;
  left: 20px;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 1000;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(14, 2em);
  gap: 4px;
}
.calendar-cell {
  padding: 0.5em;
  background: #f4f4f4;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
}
.calendar-cell.disabled {
  background: #ccc;
  pointer-events: none;
  opacity: 0.5;
}
.calendar-cell.in-range {
  background: #fdd835;
}
.calendar-cell.range-start,
.calendar-cell.range-end {
  background: #fbc02d;
  font-weight: bold;
}
