/* Card background with 80% transparency */
.card {
    background-color: rgba(19, 5, 30, 0.8);
    border: none;
    border-radius: 15px;
    padding: 20px;
	border: 1px solid #ffffff4f;
	font-family: 'Roboto', sans-serif;
}

/* Card title */
.card-title {
    color: #ffffff;
    font-size: 46px;
    margin-bottom: 20px;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
}

/* Input fields with white borders */
.form-control {
    border: 1px solid #ffffff;
    background-color: #0d0d0d66;
    color: #ffffff;
	font-family: 'Roboto', sans-serif;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* On focus, placeholder disappears */
.form-control:focus::placeholder {
    color: transparent;
}

.form-control:focus {
    background-color: #0d0d0d66;
    color: #ffffff;
    outline: none;
    box-shadow: none;
	border-color: #DF1366;
}

/* Error messages */
.invalid-feedback {
    display: block;
    color: #ff6b6b;
    font-family: 'Roboto', sans-serif;
    margin-top: 5px; /* Add some space between the input and the error message */
}

/* Avatar upload area */
.avatar-upload {
    display: flex;
    justify-content: center;
    align-items: center;
	font-family: 'Roboto', sans-serif;
}

.avatar-label {
    cursor: pointer;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    background-color: transparent;
    border: 2px solid #ffffff9c;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: background-color 0.3s, border-color 0.3s;
	font-family: 'Roboto', sans-serif;
}

.avatar-circle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #DF1366;
}

.avatar-circle i {
    font-size: 24px;
    margin-bottom: 8px;
}

.avatar-circle span {
    font-size: 16px;
}

/* Register button styling */
.register-button {
    width: 50%;
    padding: 10px;
    background-image: linear-gradient(to right, #E50A62, #5F84C2) !important;
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
	margin-top: 15px;
	font-family: 'Roboto', sans-serif;
}

.register-button:hover {
    background-image: linear-gradient(to right, #ff3399, #9933ff) !important; /* Un éclaircissement des couleurs originales */
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6) !important; /* Halo lumineux tout autour du bouton */
}

.back-home-button {
    width: 50%;
    padding: 10px;
    background-image: linear-gradient(to right, #E50A62, #5F84C2) !important;
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 50px;
    margin-bottom: 20px; /* Ajouter un espace sous le bouton */
    font-family: 'Roboto', sans-serif;
}

.back-home-button:hover {
    background-image: linear-gradient(to right, #ff3399, #9933ff) !important;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6) !important;
}


/* Style for the asterisk next to required fields */
.required-asterisk {
    color: #DF1366;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

/* Ensure the form-control input takes the full width */
.form-group .form-control {
    width: 100%;
}

/* Style for the required fields info at the bottom */
.required-info {
    margin-top: 15px;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
}


/* Adjust .col-md-6 as per your instructions */
.col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 80%;
    max-width: 80%;
}

/* Adjustments for the form layout */
.form-row {
    display: flex;
    align-items: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.col-md-4 {
    display: flex;
    justify-content: center;
}

.col-md-8 .form-group {
    margin-bottom: 10px;
}

.alert-success {
  background-color: transparent;
  border-color: transparent;
}

.highlight-text {
    color: #DF1366;
}

/* Styles pour le message de succès */
.custom-success-card {
    border-radius: 15px;
    padding: 0px;
    text-align: center;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    position: relative;
    width: 100%;
}

/* Titre du message de succès */
.success-title {
    font-size: 36px; /* Taille de police plus grande pour mettre en avant le message */
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 50px;
}

/* Paragraphe du message */
.custom-success-card p {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
}

/* Image du message de succès */
.success-image {
    width: 210px;
    height: auto;
    margin-top: 50px;
}

/* Centrer l'image dans le message */
.custom-success-card img {
    display: block;
	margin-top: 50px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

.form-check-label {
    color: #ffffff;
}

/* Style pour le lien vers les conditions d'utilisation */
.form-check-label a {
    color: #DF1366;
    text-decoration: none; /* Supprime le soulignement par défaut */
    transition: color 0.3s ease;
}

.form-check-label a:hover {
    color: #F06291; /* Couleur plus claire au survol */
    text-decoration: underline; /* Ajout du soulignement au survol */
}



/* Adjustments for smaller screens */
@media (max-width: 576px) {
    .card {
        padding: 15px;
    }
    .avatar-circle {
        width: 100px;
        height: 100px;
    }
    .avatar-circle i {
        font-size: 20px;
    }
    .avatar-circle span {
        font-size: 14px;
    }
    .card-title {
        font-size: 40px;
    }
    .form-row {
        flex-direction: column;
    }
    .col-md-8 {
        width: 100%;
    }
    .form-group.col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }
	.success-title {
		font-size: 24px;
	}
	
	.success-image {
		width: 130px;
	}

	
	.card-body {
		padding: 0px;
	}

}
