@font-face {
    font-family: roca, sans-serif;
    src: url("/fonts/RocaOne-Bl.woff");
}


body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                    HEADER
-------------------------------------------------------------------------------------------------------------------*/

header {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: flex-end;
}

.nav-center {
    margin: 0 auto;
    padding: 5px;
}

.navbar {
    display: flex;
    align-items: center;
    padding-right: 20px;
    margin-left: 12%;
}

.navbar a {
    text-decoration: none;
    color: #125619;
    padding: 10px;
    transition: color 0.3s ease;
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-right: 30px;
    overflow: hidden;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #125619;
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar a:hover::before,
.navbar a.active::before {
    transform: scaleX(1);
}

.navbar a.active::before {
    transition: none; 
}


.btn-identify {
    background-color: #125619;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #f0fff0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Jost', sans-serif;
    position: relative;
    padding: 5px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-identify::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-identify:hover::after {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-identify-1 {
    background-color: #125619;
    border-radius: 5px;
    text-decoration: none;
    color: #f0fff0;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Jost', sans-serif;
    position: relative;
    padding: 13px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-identify-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0); 
    border-radius: 5px;
    transition: background-color 0.3s ease; 
}

.btn-identify-1:hover::after {
    background-color: rgba(255, 255, 255, 0.2); 
}

.btn-identify:hover::before {
    transform: scaleX(1);
}

.btn-identify:hover {
    color: rgb(255, 255, 255);
}

.btn-identify-1:hover {
    color: rgb(255, 255, 255);
}

.admin-button {
    background-color: #bcdf7b;
    border-radius: 5px;
    text-decoration: none;
    color: #125619;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Jost', sans-serif;
    position: relative;
    padding: 13px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0); 
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease; 
}

.admin-button:hover::after {
    background-color: rgba(255, 255, 255, 0.2); 
}

#logo {
    margin-right: auto;
}

#logo img {
    height: 50px;
    margin-left: 15%;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

#logo:hover img {
    transform: scale(1.1); 
}

/*-------------------------------------------------------------------------------------------------------------------
                                                    FOOTER
-------------------------------------------------------------------------------------------------------------------*/

.footer {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

#footer2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    font-family: 'Jost', sans-serif;
    color: #125619;
}

.footer-social,
.footer-download {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social p,
.footer-download p {
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.social-icons,
.download-buttons {
    display: flex;
    gap: 10px;
}

.footer-social img {
    width: 45px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease, border-radius 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-download .store-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #125619;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: #125619;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-download .store-button img {
    width: 18px; 
    height: auto;
}

.footer-download .store-button:hover {
    transform: scale(1.125);
}

.footer-bottom {
    width: 50%;
    margin-top: 5%;
    padding: 20px;
    text-align: center;
    margin-bottom: 5%;
}

.footer-links {
    font-family: 'Jost', sans-serif;
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #125619;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #125619d7;
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-copyright {
    margin-top: 10px;
}



/*-------------------------------------------------------------------------------------------------------------------
                                            PAGE MENTIONS LÉGALES
-------------------------------------------------------------------------------------------------------------------*/

body.mention-page {
    background-image: url('../../assets/images/banner-contact-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.mention-page::after {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: -1; 
}

.main-mention {
    padding: 25px 60px 60px;
}


/*-------------------------------------------------------------------------------------------------------------------
                                                    CONNEXION / INSCRIPTION
-------------------------------------------------------------------------------------------------------------------*/


main {
    background-color: white;
    margin-top: 6%;
    margin-bottom: 6%;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 40%;
    max-width: 40%;
    margin-left: 0%;
}

main h1 {
    text-align: center;
    margin-bottom: 20px;
    font-family: roca, sans-serif;
    color: #125619;
}

form {
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"] {
    margin-bottom: 15px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-left: 8%;
    margin-right: 8%;
}

form input[type="submit"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #125619;
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8%;
    margin-right: 8%;
}

form input[type="submit"]:hover {
    background-color: #125619ce;
}

p {
    text-align: center;
    margin-top: 20px;
    font-family: 'Jost', sans-serif;
}

h1 {
    font-family: roca, sans-serif;
    text-align: center;
    margin-top: 3%;
    margin-bottom: 3%;
    color: #125619;
}

p a {
    color: #125619;
    text-decoration: none;
}

p a:hover {
    color: #125619; 
    text-decoration: underline;
}

#content {
    display: flex;
    justify-content: center; 
    align-items: center; 
    min-height: calc(100vh - 120px);
}

form select.user-role {
    margin-bottom: 15px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-left: 8%;
    margin-right: 8%;
    appearance: none; 
    background-color: white;
    background-image: url('data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjQiIGhlaWdodD0iNDI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0xMiAxNEw4IDhsMTYgMTYtMTYgMTZ6Ii8+PC9zdmc+'); 
    background-repeat: no-repeat; 
    background-position: calc(100% - 10px) center; 
    background-size: 10px; 
    cursor: pointer; 
}

form select.user-role:focus {
    outline: none; 
    border-color: #125619;
    box-shadow: 0 0 5px rgba(18, 86, 25, 0.5); 
}


/*-------------------------------------------------------------------------------------------------------------------
                                        IMG BACKGROUND CONNEXION / INXCRIPTION
-------------------------------------------------------------------------------------------------------------------*/

body.connexion-page {
    background-image: url('../../assets/images/img-form.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.connexion-page::after {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: -1; 
}

body.inscription-page {
    background-image: url('../../assets/images/img-form2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.inscription-page::after {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1; 
}


/*-------------------------------------------------------------------------------------------------------------------
                                            PROFIL INFOS
-------------------------------------------------------------------------------------------------------------------*/

#user_info {
    font-family: roca, sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-right: 20px;
}

#profil {
    margin-left: auto;
    display: flex;
    padding: 10px;
}

#profil img {
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    margin-right: 10px; 
}


/*-------------------------------------------------------------------------------------------------------------------
                                                PAGE CONTACT
-------------------------------------------------------------------------------------------------------------------*/


body.contact-page {
    background-image: url('../../assets/images/img-contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.contact-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

main h1 {
    text-align: center;
    margin-bottom: 20px;
    font-family: Roca, sans-serif;
    color: #125619;
}

form {
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form input[type="submit"],
form textarea {
    margin-bottom: 15px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    margin-left: 8%;
    margin-right: 8%;
}

form input[type="submit"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #125619;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8%;
    margin-right: 8%;
}

form input[type="submit"]:hover {
    background-color: #0e4514;
    text-decoration: none;
}

p {
    text-align: center;
    margin-top: 20px;
    font-family: 'Jost', sans-serif;
}


/*-------------------------------------------------------------------------------------------------------------------
                                                    PAGE ADMIN
-------------------------------------------------------------------------------------------------------------------*/

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.admin-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../../assets/images/img-admin.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.admin-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

#main2 {
    flex: 1;
    background-color: white;
    margin: 6% auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 40%;
    max-width: 22%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-container {
    text-align: center;
}

.admin-container h1 {
    color: #125619;
    margin-bottom: 40px;
}

.admin-container p {
    font-size: 1.2em;
    margin: 20px 0;
}

.admin-container p a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
    font-family: 'Jost', sans-serif;
    position: relative;
    padding: 10px 20px;
    background-color: #125619;
    border-radius: 5px;
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-container p a:hover {
    background-color: #bcdf7b; 
    color: #125619; 
    text-decoration: none;
}

.admin-container .fa-arrow-right {
    margin-left: 10px;
    transition: color 0.3s ease;
}

.admin-container p a:hover .fa-arrow-right {
    color: #125619;
    text-decoration: none;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                PAGE MES DEMANDES
-------------------------------------------------------------------------------------------------------------------*/

body.demande-page {
    background-image: url('../../assets/images/banner-contact-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.demande-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

main {
    width: 90%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-container {
    overflow-x: auto;
}

#demande-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 11px;
}

#demande-table th, #demande-table td {
    border: 1px solid #125619;
    padding: 6px; 
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
}

#demande-table th {
    background-color: #125619;
    color: white;
    font-size: 11px;
}

#demande-table tbody tr td:first-child {
    width: 50px; 
}

#demande-table tbody tr td:last-child {
    width: 10px; 
}

#demande-table tbody tr td img {
    max-width: 50px; 
    max-height: 50px;
}



/*-------------------------------------------------------------------------------------------------------------------
                                                GESTION USER
-------------------------------------------------------------------------------------------------------------------*/

body.gestion-page {
    background-image: url('../../assets/images/img-gestion.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.gestion-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: -1;
}

.add-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px; 
    font-size: 18px;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    color: #ffffff;
    background-color: #125619;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 20px auto 50px;
    width: fit-content; 
}

.add-user-btn:hover {
    background-color: #125619c7;
    text-decoration: none;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #125619;
}

th, td {
    padding: 12px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

th {
    background-color: #125619;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* tbody tr:hover {
    background-color: #dcdcdc;
} */

tbody tr td:first-child {
    width: 50px;
}

tbody tr td:last-child {
    width: 10px;
}

tbody tr td img {
    max-width: 100px;
    max-height: 100px;
}

.user-table {
    width: 90%; 
    margin: 0 auto;
    margin-bottom: 40px;
}

.container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 100%;
    max-width: 85%; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
    border: 1px solid #ccc;
    margin-left: auto; 
    margin-right: auto; 
}


.btn-back {
    display: inline-block;
    padding: 8px 16px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    color: #ffffff;
    background-color: #125619;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 20px;
}

.btn-back:hover {
    background-color: #125619c7;
    text-decoration: none;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                GESTION USER / ADD
-------------------------------------------------------------------------------------------------------------------*/

.inscription-page {
    font-family: 'Jost', sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}

main {
    background-color: white;
    margin-top: 6%;
    margin-bottom: 6%;
    padding: 25px 60px 60px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 45%;
    max-width: 45%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15%;
    margin-bottom: 19%;
}

main h1 {
    text-align: center;
    margin-bottom: 20px;
    font-family: roca, sans-serif;
    color: #125619;
}

form {
    display: flex;
    flex-direction: column;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"] {
    margin-bottom: 15px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    margin-left: 8%;
    margin-right: 8%;
}

form input[type="submit"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #125619;
    color: white;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 8%;
    margin-right: 8%;
}

form input[type="submit"]:hover {
    background-color: #125619ce;
    text-decoration: none;
}

p {
    text-align: center;
}

a {
    text-decoration: none;
    color: #125619;
}

a:hover {
    text-decoration: none;
}

.btn-connexion {
    font-weight: bold;
}

select {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    margin-left: 8%;
    margin-right: 8%;
    margin-bottom: 15px;
}

.btn-retour {
    display: inline-block;
    background-color: #125619;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Jost';
}

.btn-retour:hover {
    background-color: #125619cc;
    text-decoration: none;
}

.info-obligatoire {
    font-size: 14px;
    color: #125619;
    font-weight: normal;
    background-color: #bcdf7b68;
    border-left: 4px solid #12561986;
    padding: 10px 15px;
    width: 78%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                GESTION JARDINS
-------------------------------------------------------------------------------------------------------------------*/

body.jardin-page {
    background-image: url('../../assets/images/img-jardin.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.jardin-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.add-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px; 
    font-size: 18px;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    color: #ffffff;
    background-color: #125619;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 20px auto 50px;
    width: fit-content; 
}

.add-user-btn:hover {
    background-color: #125619c7;
    text-decoration: none;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #125619;
}

th, td {
    padding: 12px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

th {
    background-color: #125619;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

tbody tr:hover {
    background-color: #dcdcdc;
}

tbody tr td:first-child {
    width: 50px;
}

tbody tr td:last-child {
    width: 10px;
}

tbody tr td img {
    max-width: 100px;
    max-height: 100px;
}

.user-table {
    width: 90%; 
    margin: 0 auto;
    margin-bottom: 40px;
}

.container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 100%;
    max-width: 85%; 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
    border: 1px solid #ccc;
    margin-left: auto; 
    margin-right: auto; 
}

.btn-back {
    display: inline-block;
    padding: 8px 16px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    color: #ffffff;
    background-color: #125619;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 20px;
}

.btn-back:hover {
    background-color: #125619c7;
    text-decoration: none;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                GESTION PARCELLE
-------------------------------------------------------------------------------------------------------------------*/

body.parcelle-page {
    background-image: url('../../assets/images/img-parcelle.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body.parcelle-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.btn-back-2 {
    display: inline-block;
    padding: 8px 16px;
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    color: #ffffff;
    background-color: #125619;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    margin-left: 27%;
}

.btn-back-2:hover {
    background-color: #125619c7;
    text-decoration: none;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                PAGE BOOKING (PICTO DELETE)
-------------------------------------------------------------------------------------------------------------------*/


.custom-margin {
    margin-left: 5px;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                PAGE ACCUEIL
-------------------------------------------------------------------------------------------------------------------*/

.accueil-page .banner {
    width: 100%;
    height: 700px; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.accueil-page .banner .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.accueil-page .banner .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%); 
}

.accueil-page .banner .banner-logo {
    position: relative;
    z-index: 1;
}

.accueil-page .banner .banner-logo img {
    max-width: 400px;
    height: auto;
}

.text-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin-top: 5%;
}

.text-image-section .text-content {
    margin-top: 5%;
    flex: 1;
    padding: 30px;
}

.text-image-section .image-content {
    margin-top: 5%;
    flex: 1;
    padding: 30px;
}

.text-image-section .image-content img {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.3s; 
}

.text-image-section .image-content img:hover {
    transform: scale(1.05);
}

.text-image-section .image-content-2 {
    margin-top: 5%;
    flex: 1;
    padding: 30px;
    text-align: center;
}

.text-image-section .image-content-2 img {
    width: 100%;
    height: auto;
    max-width: 450px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.text-image-section .image-content-2 img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


h2 {
    font-family: roca, sans-serif;
    text-align: center;
    margin-top: 3%;
    margin-bottom: 3%;
    color: #125619;
}

/*-------------------------------------------------------------------------------------------------------------------
                                        PAGE ACCUEIL / MOUSE SCROLL TO DOWN
-------------------------------------------------------------------------------------------------------------------*/

#scroll-accueil {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-family: 'Jost', sans-serif;
    transition: color 0.3s;
}

#scroll-accueil:hover {
    color: rgba(255, 255, 255, 0.736);
    cursor: pointer;
}

.scroll-wheel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: border-color 0.3s;
}

.scroll-wheel:hover .mouse {
    border-color: rgba(255, 255, 255, 0.736);
}

.scroll-wheel:hover .wheel {
    background-color: rgba(255, 255, 255, 0.736);
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
    margin-left: 7px;
    transition: border-color 0.3s;
}

.wheel {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    animation: scrollAnimation 1s infinite, scrollDownAnimation 1s infinite alternate;
    transition: background-color 0.3s;
}

@keyframes scrollAnimation {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes scrollDownAnimation {
    0% {
        top: 20%;
        opacity: 1;
    }
    100% {
        top: 30%;
        opacity: 0;
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                            PAGE ACCUEIL / VIGNETTES 
-------------------------------------------------------------------------------------------------------------------*/

.vignettes-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin-top: 7%;
}

.vignette {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 23%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vignette:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.vignette img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.vignette:hover img {
    transform: scale(1.1);
}

.vignette p {
    font-family: 'Jost', sans-serif;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

/*-------------------------------------------------------------------------------------------------------------------
                                            PAGE ACCUEIL / BANNIÃƒË†RE BAS DE PAGE (1)
-------------------------------------------------------------------------------------------------------------------*/

.banner-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #dadada57;
    padding: 50px;
    margin-top: 10%;
    margin-bottom: 3%;
}

.banner-image {
    flex: 1;
    margin-right: 20px;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.banner-text {
    flex: 1;
}

.banner-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 31%;
    width: 30%;
    padding: 12px 24px;
    background-color: #125619;
    color: #fff;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #125619cf;
}

/*-------------------------------------------------------------------------------------------------------------------
                                            PAGE ACCUEIL / BANNIÃƒË†RE BAS DE PAGE (2)
-------------------------------------------------------------------------------------------------------------------*/

.contact-banner {
    width: 100%;
    height: 500px; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 5%;
}

.contact-banner-image {
    overflow: hidden;
}

.contact-banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    filter: brightness(70%); 
}

.contact-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.974);
    padding: 20px;
    border-radius: 8px;
    max-width: 70%;
}

.contact-banner-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.btn-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    background-color: #125619;
    font-family: 'Jost', sans-serif;
    width: 25%;
    margin-left: 33%;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #125619cf;
}


/*-------------------------------------------------------------------------------------------------------------------
                                                    PAGE JARDIN
-------------------------------------------------------------------------------------------------------------------*/

h3 {
    font-family: 'Jost', sans-serif;
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
    color: #333;
    padding-bottom: 5px; 
    border-bottom: 2px solid #125619;
    border-top: 2px solid #125619;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.content {
    display: flex;
    margin: 0;
    padding: 20px;
}

#map-container {
    position: sticky;
    top: 0;
    width: 55%;
    height: 100vh;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

#garden-list-container {
    width: 45%;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.listingGarden {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff; 
    transition: all 0.3s ease;
}

.listingGarden:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    transform: translateY(-5px); 
}

.listingGarden h3 {
    font-size: 1.2rem;
    margin-top: 0;
}

.listingGarden p {
    margin: 5px 0;
    line-height: 1.4;
}

.listingGarden a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Jost', sans-serif;
    padding: 5px 10px;
    background-color: #125619; 
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.listingGarden a:hover {
    background-color: #125619e0; 
}


/*-------------------------------------------------------------------------------------------------------------------
                                                    PAGE JARDIN / RECHERCHE
-------------------------------------------------------------------------------------------------------------------*/

.search-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #125619; 
    font-family: 'Jost', sans-serif;
    color: #fff; 
    border: none;
    border-radius: 4px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
    margin-bottom: 20px;
    height: 100%; 
    margin-right: 4%;
}

.search-button:hover {
    background-color: #125619d7;
}

.search-button i {
    margin-right: 5px; 
}

.search-button span {
    font-size: 16px; 
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; 
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%; 
}

.search-container input[type="text"] {
    width: 100%; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; 
}

/*-------------------------------------------------------------------------------------------------------------------
                                                    PAGE JARDIN / BOX CONTAINER
-------------------------------------------------------------------------------------------------------------------*/

#main-jardin {
    background-color: white;
    margin-top: 6%;
    margin-bottom: 6%;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 70%;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                    PAGE JARDIN & SEARCH / BOX CONTAINER IMG
-------------------------------------------------------------------------------------------------------------------*/

.garden-image {
    max-width: 300px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.garden-user {
    width: 40px;
    height: 40px;
    border-radius: 50%; 
    margin-left: 45%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.garden-user-2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: 2%;
    margin-bottom: 2%;
}

/*-------------------------------------------------------------------------------------------------------------------
                                                    PAGE SEARCH
-------------------------------------------------------------------------------------------------------------------*/

#main-search {
    background-color: white;
    margin-top: 6%;
    margin-bottom: 6%;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 50%;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.search-gif {
    max-width: 350px;
    max-height: 150px;
    width: auto;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; 
    justify-content: center;
    padding: 20px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 400px;
    margin: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 18%;
    margin-top: 5%;
    margin-bottom: 5%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*-------------------------------------------------------------------------------------------------------------------
                                                    MAP POPUP
-------------------------------------------------------------------------------------------------------------------*/


.map-garden-image {
width: 300px;
height: 170px;
object-fit: contain;
margin-top: 2%;
}








/*-------------------------------------------------------------------------------------------------------------------
                                                    RESPONSIVE PAGE ACCUEIL
-------------------------------------------------------------------------------------------------------------------*/





@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        padding: 10px;
    }

    .vignettes-section {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .vignette {
        width: 90%;
        margin-bottom: 10px;
    }

    .banner-section {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .banner-image {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .btn, .btn-contact {
        width: 70%;
        margin-left: 15%;
        font-size: 14px;
    }

    .contact-banner-text h2 {
        font-size: 18px;
    }

    .contact-banner-text p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    #logo {
        text-align: center;
        margin-right: 22%; 
    }
    
    #logo img {
        max-width: 40%;
        height: auto; 
    }

    .accueil-page .banner {
        height: 300px;
    }

    .accueil-page .banner .banner-logo img {
        max-width: 150px;
    }

    .text-image-section {
        padding: 5px;
    }

    .text-image-section .text-content,
    .text-image-section .image-content,
    .text-image-section .image-content-2 {
        padding: 5px;
    }

    .vignettes-section {
        padding: 5px;
    }

    .banner-section {
        padding: 5px;
    }

    .btn, .btn-contact {
        width: 80%;
        margin-left: 10%;
        font-size: 12px;
        padding: 5px;
    }

    .contact-banner {
        height: 200px;
    }

    .contact-banner-text {
        padding: 5px;
    }

    .contact-banner-text h2 {
        font-size: 12px; 
        margin-bottom: 2px; 
    }

    .contact-banner-text p {
        font-size: 10px;
    }
}



/*-------------------------------------------------------------------------------------------------------------------
                                                    MENU BURGER
-------------------------------------------------------------------------------------------------------------------*/


#menuToggle {
    display: block;
    position: relative;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    margin-right: 20px; 
    z-index: 99;
}



#menuToggle a {
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    margin-left: 7%;
    color: #125619;
    transition: color 0.3s ease;
}

.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 6%;
}

#menu li a.btn-identify-1 {
    display: inline-block;
    padding: 10px 20px; 
    font-size: 16px;
    text-decoration: none;
    color: #ffffff; 
    background-color: #125619;
    border-radius: 5px; 
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#menu li a.btn-identify-1:hover {
    background-color: #125619;
    color: #ffffff;
    border-color: #125619; 
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 4px;
    margin-top: 15%;
    margin-left: 60%;
    margin-bottom: 5px;
    position: relative;
    background: #125619;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #125619;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: fixed;
    width: 430px;
    height: 651px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    background: #bcdf7b;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li {
    padding: 10px 0;
    font-size: 22px;
}

#menuToggle input:checked ~ ul {
    transform: none;
}

#menuToggle {
    display: none;
}

@media (max-width: 480px) {
    #menuToggle {
        display: block;
    }

    header .navbar,
    header #profil {
        display: none;
    }
}



/*-------------------------------------------------------------------------------------------------------------------
                                                RESPONSIVE PAGE JARDIN
-------------------------------------------------------------------------------------------------------------------*/



@media (max-width: 480px) {
    h3 {
        font-size: 1.5rem;
        padding-bottom: 3px;
        border-bottom-width: 1px;
        border-top-width: 1px;
    }
    .search-button span, .search-container input[type="text"] {
        font-size: 14px;
    }
    .search-button {
        padding: 5px 8px; 
        font-size: 12px; 
    }
    .search-container {
        width: 90%;
    }
    .listingGarden h3 {
        font-size: 1rem;
    }
    .listingGarden p, .listingGarden a {
        font-size: 0.8rem; 
    }
    .listingGarden a {
        padding: 4px 8px;
    }
    .listingGarden img.garden-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 5px;
    }
    .listingGarden img.garden-user {
        max-width: 40px;
        margin-bottom: 5px;
        border-radius: 50%;
        margin-left: 42%;
    }
    #main-jardin {
        width: 90%;
        padding: 15px;
    }
    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #map-container {
        display: none;
    }
    #garden-list-container {
        width: 100%;
    }
    #map {
        width: 100%;
        height: 100%;
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                                RESPONSIVE MAP POPUP
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    .map-garden-image {
        max-width: 50%; 
        margin-top: 5px; 
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                                RESPONSIVE PAGE SEARCH
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    #main-search {
        width: 90%;
        padding: 15px;
        margin-top: 10%;
        margin-bottom: 10%;
    }
    h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    .btn-back {
        display: block;
        margin-bottom: 15px;
        font-size: 0.8rem;
        text-align: center;
        padding: 8px 12px;
    }
    .card-container {
        padding: 10px;
        gap: 20px;
    }
    .card {
        width: 85%;
        margin: 10px 0;
        padding: 10px;
        margin-left: 3%;
    }
    .card h3 {
        font-size: 1rem;
        text-align: center;
    }
    .card p, .card a {
        font-size: 0.8rem;
        text-align: center;
    }
    .card a {
        padding: 5px 10px;
    }
    .card img.garden-image, .card img {
        max-width: 100%;
        height: auto;
        margin-bottom: 5px;
    }
    .search-gif {
        max-width: 90%;
        height: auto;
        margin-bottom: 10px;
    }

    .search-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        margin-left: 5%;
        margin-bottom: 10px; 
    }

    .search-container input[type="text"] {
        flex: 1; 
        margin-right: 10px; 
    }

    .search-button {
        padding: 8px 12px; 
        margin-top: 7%;
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                                RESPONSIVE PAGE CONTACT
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    body.contact-page {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }

    main h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    form {
        width: 100%;
        padding: 0 10px;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="submit"],
    form textarea {
        margin-bottom: 10px;
        padding: 12px;
        font-size: 14px;
        margin-left: 0;
        margin-right: 20px;
    }

    form input[type="submit"] {
        padding: 10px;
        font-size: 14px;
    }

    p {
        font-size: 0.9rem;
        margin-top: 10px;
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                            RESPONSIVE PAGE CONNEXION / INSCRIPTION
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    body.contact-page,
    body.connexion-page,
    body.inscription-page {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }

    main {
        width: 80%;
        max-width: 600px;
        margin: 10% auto;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    main h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #125619; 
        font-family: 'roca', sans-serif;
    }

    form {
        width: 100%;
        box-sizing: border-box;
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form input[type="file"],
    form textarea {
        width: calc(100% - 24px);
        margin-bottom: 10px;
        padding: 14px;
        font-size: 16px;
        border-radius: 5px;
        box-sizing: border-box;
        display: block;
        margin: 0 auto; 
    }

    form input[type="submit"] {
        width: calc(100% - -18px);
        padding: 14px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        background-color: #125619;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        display: block;
        margin-bottom: 30px;
        margin-left: -2%;
    }

    form input[type="submit"]:hover {
        background-color: #0e4514;
    }

    p {
        font-size: 0.9rem;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
        font-family: 'Jost', sans-serif;
    }

    body.connexion-page main {
        max-width: 600px; 
    }

    body.inscription-page main {
        max-width: 800px;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
                                                RESPONSIVE PAGE ADMIN (GESTION)
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    #main2 {
        width: 80%;
        margin-top: 35%;
        max-height: 300px;
        max-width: 300px;
        margin-bottom: 35%;
        box-sizing: border-box;
        height: auto;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .admin-container {
        text-align: center;
    }

    .admin-container h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .admin-container p {
        font-size: 1.2rem;
        margin: 15px 0;
    }

    .admin-container p a {
        display: inline-block;
        width: 75%;
        padding: 12px 20px;
        font-size: 1rem;
        background-color: #125619;
        color: white;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        text-decoration: none;
    }

    .admin-container p a:hover {
        background-color: #0e4514;
    }

    .admin-container .fa-arrow-right {
        margin-left: 10px;
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                            RESPONSIVE PAGE GESTION UTILISATEURS
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    .container {
        padding: 10px;
        margin-top: 15%;
        margin-bottom: 10%;
        max-width: 85%;
        overflow-x: auto; 
    }

    .add-user-btn {
        font-size: 14px;
        padding: 8px 12px;
        margin: 10px auto 30px;
    }

    .user-table {
        width: calc(100% - 20px); 
        margin-left: auto;
        margin-right: auto;
        table-layout: fixed; 
    }

    .btn-back {
        font-size: 14px;
        padding: 8px 12px;
        width: 56%;
    }

    table {
        font-size: 14px;
        width: 100%;
        border-collapse: collapse;
        word-wrap: break-word; 
    }

    th, td {
        padding: 12px 8px; 
        text-align: center;
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis; 
    }

    tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    tbody tr:hover {
        background-color: #dcdcdc;
    }

    tbody tr td img {
        max-width: 60px; 
        height: auto;
    }
}

    main .btn-retour {
        display: inline-block;
        padding: 8px 16px;
        font-size: 16px;
        font-family: 'Jost', sans-serif;
        text-decoration: none;
        color: #ffffff;
        background-color: #125619;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
        margin-right: 70%;
        margin-bottom: 8%;
        position: relative;
        top: 20px;
        left: 20px;
    }

    main .btn-retour:hover {
        background-color: #0e4514;
        text-decoration: none;
    }

    main .btn-back-2 {
        display: inline-block;
        padding: 8px 16px;
        font-size: 16px;
        font-family: 'Jost', sans-serif;
        text-decoration: none;
        color: #ffffff;
        background-color: #125619;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 56%;
        margin-left: 18%;
    }
    
    main .btn-back-2:hover {
        background-color: #125619c7;
        text-decoration: none;
    }

/*-------------------------------------------------------------------------------------------------------------------
                                        RESPONSIVE PAGE PARCELLES 
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    body.parcelle-page {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }


    table {
        margin-top: 13%;
        margin-bottom: 13%;
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed; 
        word-wrap: break-word; 
    }

    th, td {
        padding: 8px 5px;
        text-align: center; 
        overflow: hidden; 
        text-overflow: ellipsis; 
        white-space: nowrap; 
    }

    th {
        background-color: #125619; 
        color: white; 
        font-size: 14px;
    }

    td {
        font-size: 12px;
        background-color: #f9f9f9; 
    }

    tbody tr:nth-child(even) {
        background-color: #f2f2f2; 
    }

    tbody tr:hover {
        background-color: #dcdcdc; 
    }

    tbody tr td img {
        max-width: 50px; 
        height: auto;
        display: block; 
        margin: 0 auto; 
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                            RESPONSIVE PAGE BOOKING (PICTO DELETE)
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 480px) {
    .custom-margin {
        margin-left: 5px;
    }
}


/*-------------------------------------------------------------------------------------------------------------------
                                                    RESPONSIVE FOOTER
-------------------------------------------------------------------------------------------------------------------*/

@media (max-width: 768px) {
    #footer2 {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .footer-social,
    .footer-download {
        width: 48%;
        margin-bottom: 10px;
    }

    .footer-bottom {
        width: 100%;
        margin-top: 20px;
        padding: 10px 0;
    }

    .footer-links {
        margin-bottom: 10px;
    }

    .social-icons,
    .download-buttons {
        justify-content: center;
        gap: 10px;
    }

    .footer-social img {
        width: 35px; /* Taille normale pour les icônes des réseaux sociaux */
    }

    .footer-download .store-button {
        width: 140px; /* Augmenter la largeur des boutons de téléchargement */
        padding: 12px; /* Augmenter le padding des boutons */
    }

    .footer-download .store-button img {
        width: 18px; /* Réduire légèrement la taille des icônes Apple et Google */
    }
}

@media (max-width: 480px) {
    #footer2 {
        flex-direction: column;
        align-items: center;
    }

    .footer-social,
    .footer-download {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-bottom {
        width: 100%;
        margin-top: 10px;
        padding: 10px 0;
    }

    .footer-links {
        margin-bottom: 10px;
    }

    .social-icons,
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .footer-social {
        order: -1; 
        margin-bottom: 20px; 
    }

    .footer-download {
        order: 0; 
        margin-bottom: 20px; 
    }

    .footer-bottom {
        order: 1;
    }

    .footer-social img {
        width: 38px; 
    }

    .footer-download .store-button {
        width: 70px;
        padding: 5px; 
        text-align: center;
    }

    .footer-download .store-button img {
        width: 25px;
        margin-left: 23px;
    }
}
