*{
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            text-decoration: none;
            border: none;
            list-style: none;
            font-family: Arial, serif;
            scroll-behavior: smooth;
            outline: none;
        }

        :root {
            --rose1: #B20349;
            --rose2: #FB025E;
            --gris: #303843;
            --color: rgba(42, 184, 42, 0.833);
            --noir: #000000;
            --light-white: #F7F6f7;
            --shad-white: #F3EEEB;
            --white: #ffffff;
            
            --bg1: #ffffff;
            --bg2: #dfdfdf;
            --bg3: #303843;
            
            --text-clr1: #303843;
            --text-clr2: #B20349;
            
            --shadow1: rgba(0,0,0,0.1);
            --shadow2: rgba(0,0,0,0.25);
        }

        ::-webkit-scrollbar{
            width: 1px;
        }

        .container{
            width: 100%;
            min-height: 100vh;
            background: linear-gradient(rgba(255,255,255,0.14),rgba(255,255,255,0.4),rgba(255,255,255,0.6)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3');
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .container form{
            width: 45%;
            min-height: 200px;
            padding: 18px;
            background: var(--light-white);
            border-radius: 30px;
            box-shadow: -1px 2px 6px rgba(0,0,0,0.12);
        }

        .container form h1.title{
            color: var(--rose1);
            letter-spacing: 1px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-transform: uppercase;
        }

        .double-in{
            display: flex;
            align-items: center;
            width: 100%;
            gap: 20px;
        }

        .double-in .box{
            width: 50%;
            position: relative;
        }

        .double-in .box label{
            margin-left: 5px;
            color: var(--gris);
            letter-spacing: 1px;
            margin-bottom: 3px;
        }

        h3.message{
    width: 45%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
    border-radius: 20px;
    border: 2px dashed black;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
}

h3.message i{
    position: absolute;
    top: -20px;
    right: -10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000;
    color: #dfdfdf;
    cursor: pointer;
    transition: .2s;
    animation: .3s i linear;
    animation-delay: .5s;
}

h3.message i:hover{
    transform: scale(1.1);
}

h3.message.succes{
    color: rgb(4, 96, 4);
    background: rgba(4, 210, 4, 0.53);
    border: 3px dashed rgb(4, 96, 4);
    animation: .5s succes linear;
}

h3.message.error{
    color: rgb(155, 12, 4);
    background: rgba(255, 0, 0, 0.53);
    border: 3px dashed rgb(155, 12, 4);
    animation: 1s error linear;
}

        input, select, textarea{
            width: 100%;
            padding: 6px;
            border-radius: 5px;
            resize: none;
        }

        /* Styles spécifiques pour le sélecteur de date */
        .date-input-container {
            position: relative;
            width: 100%;
        }

        .date-display {
            width: 100%;
            padding: 6px;
            border-radius: 5px;
            background: white;
            border: 1px solid #ccc;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 32px;
        }

        .date-display:hover {
            border-color: var(--rose1);
        }

        .date-display.active {
            border-color: var(--rose1);
        }

        .date-display i {
            color: var(--gris);
            font-size: 1.1rem;
        }

        .date-popup {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 2px solid var(--rose1);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            z-index: 1000;
            padding: 15px;
            display: none;
            animation: slideDown 0.3s ease;
        }

        .date-popup.show {
            display: block;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .date-popup h4 {
            color: var(--rose1);
            text-align: center;
            margin-bottom: 15px;
            font-size: 1rem;
            letter-spacing: 1px;
        }

        .date-selectors {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .date-selector {
            flex: 1;
            text-align: center;
        }

        .date-selector label {
            display: block;
            color: var(--gris);
            font-size: 0.9rem;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .date-selector select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 0.9rem;
            background: white;
        }

        .date-selector select:focus {
            border-color: var(--rose1);
            outline: none;
        }

        .date-popup-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .date-popup-btn {
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9rem;
            letter-spacing: 1px;
            transition: all 0.2s;
            border: 2px solid var(--rose1);
        }

        .date-popup-btn.confirm {
            background: var(--rose1);
            color: white;
        }

        .date-popup-btn.cancel {
            background: white;
            color: var(--rose1);
        }

        .date-popup-btn:hover {
            transform: scale(1.05);
        }

        .one-in{
            width: 100%;
        }

        .one-in .box{
            width: 100%;
        }

        .btn-box{
            width: 100%;
            text-align: center;
        }

        .btn-box button{
            background: var(--rose1);
            color: var(--light-white);
            font-size: 1rem;
            padding: 10px 15px;
            border-radius: 30px;
            letter-spacing: 1px;
            cursor: pointer;
            transition: .2s;
        }

        .btn-box button:hover{
            letter-spacing: 2px;
        }

        input:focus, select:focus, textarea:focus{
            border: 1px solid var(--rose1);
        }

        /* Overlay pour fermer le popup en cliquant à l'extérieur */
        .date-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.1);
            z-index: 999;
            display: none;
        }

        .date-overlay.show {
            display: block;
        }

        @media screen and (max-width: 950px) {
            .container form{
                width: 80%;
            }

            h3.message{
                width: 80%;
            }
        }

        @media screen and (max-width: 550px) {
            .container form h1.title{
                font-size: 1.2rem;
            }

            .double-in .box label{
                font-size: .7rem;
            }

            input, select{
                padding: 15px 5px;
            }

            .date-display {
                padding: 15px 5px;
            }

            .btn-box p{
                font-size: .8rem;
            }

            .date-selectors {
                flex-direction: column;
                gap: 10px;
            }

            .date-popup {
                left: -10px;
                right: -10px;
            }

            h3.message{
                font-size: .8rem;
            }
        }
