.custom-button {
    background-color: #003E4B;
    border-color: #003E4B;
    color: white;
    margin-inline: 20px;
    padding-inline: 20px;
    border-radius: 20px;
}

.custom-button-play {
    background-color: #00A3A6;
    border-color: #00A3A6;
    color: white;
    align-self: center;
    margin-inline: 20px;
    padding-inline: 20px;
}

.custom-button-play:hover {
    background-color: #00D3D7;
    border-color: #00D3D7;
    margin-inline: 20px;
    padding-inline: 20px;
}

body {
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-image: url("../../assets/images/background_register.png");
    background-size: cover;
    background-attachment: fixed;
    margin-inline: 70px;
    align-content: center;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

li {
    padding-inline: 15px;
}

.image-legume {
    pointer-events: none;
    position: fixed;
    bottom: 0;
    right: 0;
}

.catch-phrase {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 900;
    color: white;
    font-size: 85px;
    margin-bottom: -40px;
}

.catch-phrase-container {
    padding-top: 130px;
}

.second-container {
    padding-top: 40px;
    display: flex;
    flex-direction: row;
    padding-left: 20px;
    align-items: flex-start;
}

.catch-sentence {
    margin-left: 30px;
    width: 400px;
    font-size: 20px;
    color: white;
    overflow: hidden;
}

.play-button {
    background-color: #003E4B;
    border-width: 0;
    color: white;
    padding-top: 4px;
    margin-top: 8px;
    padding-bottom: 4px;
    margin-inline: 30px;
    padding-inline: 70px;
    font-size: 30px;
    border-radius: 50px;
    transform: scale(1);
    transition: 0.2s;
}

.play-button:hover {
    background-color: #004C5C;
}

.play-button:active {
    background-color: #004C5C !important;
    transform: scale(0.95);
    transition: 0.2s;
}

.image-leaves {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.rank {
    height: 800px;
    background-color: red;
    width: 200px;
}

.form-container {
    height: auto;
    overflow: visible;
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 62, 75, 0.2);
}

p {
    font-weight: bold;
    font-size: 60px;
    color: white;
}

.form-control, .form-select {
    width: 100% !important;
    max-width: 100%;
    background-color: #009295;
    color: white;
    border: 1px solid #00767a;
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    background-color: #00A3A6;
    color: white;
    border-color: #00D3D7;
    box-shadow: 0 0 0 0.25rem rgba(0, 163, 166, 0.25);
}

::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}

::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type=number] {
    -moz-appearance: textfield !important;
}

.btn-register {
    background-color: #003E4B;
    border-width: 0;
    padding-inline: 50px;
    padding: 12px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: #004C5C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 62, 75, 0.3);
}

.btn-register:active {
    background-color: #004C5C !important;
    transform: scale(0.95);
    transition: 0.2s;
}

.btn-login {
    color: white !important;
}

.intitled {
    color: black;
    font-weight: bold;
    font-size: 30px;
}

.playing-container {
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.categorie {
    color: #00A3A6;
    padding-bottom: 20px;
}

.title-scoreboard {
    color: black;
}

.tips {
    color: black;
    font-weight: normal;
    font-size: 20px;
    width: 500px;
    text-align: center;
    align-self: center;
}

.tips-container {
    margin-top: 150px;
    display: flex;
    width: 500px;
    flex-direction: column;
    justify-content: center;
    background-image: url("../../assets/images/background-tip.png");
    background-size: auto;
}

.point-label {
    color: #00A3A6;
    font-size: 30px;
    padding-bottom: 20px;
}

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

.progress {
    width: 400px;
    margin-inline: auto;
}

.points {
    color: black !important;
    font-size: 20px !important;
}

.forgot {
    font-weight: bold;
    color: #004C5C;
}

.paragraphe-forgot {
    font-weight: normal;
    color: #004C5C;
    font-size: 15px;
}

.error-message {
    font-weight: normal;
    color: red;
    font-size: 15px;
}

.btn-text {
    border: none;
    background-color: inherit;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
}

.info {
    color: #00A3A6;
}

.justify-left {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.hint-id {
    color: black !important;
    font-size: 12px;
}

.input-group-prepend {
    text-align: center !important;
    justify-content: left;
    display: flex;
    font-size: 20px;
    padding-bottom: 20px;
    align-items: center;
    gap: 20px;
    padding-right: 30px;
}

/* Styles pour le formulaire d'inscription */
.navbar {
    background: rgba(0, 62, 75, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-link {
    color: white !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00D3D7 !important;
    transform: translateY(-2px);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0f7fa;
}

.section-title {
    color: #003E4B;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #00A3A6;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #003E4B;
    margin-bottom: 8px;
    display: block;
    font-size: 16px;
}

.input-group-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.input-item {
    flex: 1 1 250px;
    min-width: 250px;
}

.game-info {
    background-color: #e0f7fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #00A3A6;
}

.info-text {
    font-size: 16px;
    color: #003E4B;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    background-color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid #00A3A6;
    margin-right: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-weight: 700;
    color: #003E4B;
    margin-right: 10px;
    font-size: 16px;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #00A3A6;
}

.radio-option label {
    font-weight: 500;
    color: #003E4B;
    cursor: pointer;
}

.container.mt-4 {
    margin-top: 100px !important;
}

.modal-content {
    border-radius: 15px;
    border: 3px solid #00A3A6;
}

.modal-header {
    background-color: #003E4B;
    color: white;
    border-radius: 12px 12px 0 0;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (max-width: 768px) {
    body {
        margin-inline: 20px;
    }

    .form-container {
        padding: 20px;
        margin: 15px;
    }

    .input-item {
        flex: 1 1 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .info-badge {
        flex-direction: column;
        align-items: flex-start;
        margin-right: 0;
        width: 100%;
    }

    .navbar-nav {
        text-align: center;
    }

    .catch-phrase {
        font-size: 50px;
    }

    .play-button {
        padding-inline: 40px;
        font-size: 24px;
    }
}

@media (max-height: 900px) {
    body {
        overflow-y: visible;
        background-position: center;
        background-position-y: 0px;
        background-size: auto;
        background-repeat: no-repeat;
    }

    p {
        font-size: 2.5rem;
    }
}