/* style.css */
/* :root {
    --main-color: #5d239f;
    --back-color: rgb(98 54 210 / 79%);
} */

html, body {
    display: flex;
    flex-direction: column;
}




body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: rgb(54 116 210 / 79%); */
    background-color: var(--back-color)!important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

.popup {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 120vh;
    max-height: 90%;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    height: 90%;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: var(--main-color)!important; */
    background-color: var(--main-color) !important;
    border-radius: 12px 12px 0 0;
    padding: 10px 0;
    /*position: sticky;*/
    position: relative;
    top: 0;
    z-index: 10;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.custom-menu {
    border: none!important;
    display: flex;
    justify-content: space-around;
    /* background-color: var(--main-color); */
    background-color: var(--main-color)!important;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 50px; /* Height of the header */
    z-index: 10;
}

.custom-menu a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.custom-menu a:hover {
    border-radius: 8px;
    color: black; /* Change the text color on hover */
}

.custom-menu a.custom-selected {
    background-color: #e0e0e0;
    border-radius: 8px;
    color: var(--main-color)!important; /* Change the text color for the selected item */
    font-weight: bold; /* Optional: Make the text bold */
    margin-left: 20px;
    margin-right: 20px;
}

.content {
    text-align: center;
    /* padding: 50px 20px; */
}

.content img {
    width: 80px;
    height: auto;
}

.content p {
    font-size: 18px;
    color: #333;
}

.sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar .register {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar .register button {
    background-color: var(--main-color)!important;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
}

.sidebar .register button:hover {
    background-color: var(--main-color)!important;
}

.custom-menu-toggle {
    display: none;
    position: fixed;
    top: 45px;
    right: 20px;
    background-color: var(--main-color)!important;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 20;
}

@media (max-width: 768px) {
    .custom-menu {
        display: none;
        flex-direction: column;
        background-color: var(--main-color)!important;
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        border-top: none;
        border-bottom: none;
        z-index: 10;
    }

    .custom-menu.custom-menu-open {
        display: flex;
    }

    .custom-menu a {
        padding: 10px;
        text-align: center;
    }

    .custom-menu-toggle {
        display: block;
    }
}
.content input {
    width: 90%;
    max-width: 400px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.content input:focus {
    border-color: var(--main-color)!important;
    box-shadow: 0 0 0 1px var(--main-color)!important;
    outline: none;
}

/* Styles pour le bouton dans la section content */
.content button {
    background-color: var(--main-color)!important;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.content button:hover {
    background-color: var(--main-color)!important;
    transform: scale(1.02);
}

/* Styles spécifiques pour le bouton et l'input dans .sidebar .register */
.sidebar .register input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.sidebar .register input:focus {
    border-color: var(--main-color)!important;
    box-shadow: 0 0 0 1px var(--main-color)!important;
    outline: none;
}

.sidebar .register button {
    background-color: var(--main-color)!important;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}

.sidebar .register button:hover {
    background-color: var(--main-color)!important;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    #resultsIframe {
        height: 75vh!important;
    }
}


