.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px 0;
    background-color: var(--bg-gray, #f0f2f5);
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.login-wrapper .loginbox {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0 auto;
}

.login-wrapper .loginbox .login-right {
    width: 100%;
    padding: 30px 25px;
}

.login-wrapper .loginbox .login-right .login-right-wrap {
    width: 100%;
}

.login-wrapper .loginbox .login-right h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.account-subtitle {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
}

.login-wrapper .loginbox .login-right .forgotpass a {
	color: #a0a0a0;
}
.login-wrapper .loginbox .login-right .forgotpass a:hover {
	color: #333;
	text-decoration: underline;
}
.login-wrapper .loginbox .login-right .dont-have {
	color: #777;
	margin-top: 15px;
	text-align: center;
	font-size: 14px;
}
.login-wrapper .loginbox .login-right .dont-have a {
	color: #00a753;
	font-weight: 500;
	text-decoration: none;
}
.login-wrapper .loginbox .login-right .dont-have a:hover {
	text-decoration: underline;
}
.social-login {
	text-align: center;
}
.social-login > span {
	color: #a0a0a0;
	margin-right: 8px;
}
.social-login > a {
	background-color: #ccc;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	font-size: 18px;
	height: 32px;
	line-height: 32px;
	margin-right: 6px;
	text-align: center;
	width: 32px;
}
.social-login > a:last-child {
	margin-right: 0;
}
.social-login > a.facebook {
	background-color: #4b75bd;
}
.social-login > a.google {
	background-color: #fe5240;
}
.login-or {
	color: #888;
	margin: 25px 0;
	text-align: center;
	position: relative;
}
.or-line {
	background-color: #e5e5e5;
	height: 1px;
	width: 100%;
	display: block;
	margin: 10px 0;
}
.span-or {
	background-color: #fff;
	display: inline-block;
	padding: 0 10px;
	position: relative;
	top: -10px;
	font-size: 14px;
}

/* Ajout des media queries pour améliorer le responsive */
@media screen and (max-width: 767px) {
    .login-wrapper .loginbox {
        margin: 1rem auto;
        min-height: auto;
        padding-bottom: 20px;
    }
    
    .login-wrapper .loginbox .login-right {
        padding: 20px 15px;
    }
    
    .login-wrapper .loginbox .login-right h1 {
        font-size: 22px;
    }
    
    .account-subtitle {
        font-size: 15px;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-check-inline {
        display: block;
        margin-bottom: 10px;
    }
    
    .login-or {
        margin: 15px 0;
    }
    
    .dont-have {
        margin-top: 15px;
    }
}

@media screen and (max-width: 480px) {
    .login-wrapper .loginbox {
        border-radius: 8px;
        margin: 0 10px;
    }
    
    .login-wrapper .loginbox .login-right {
        padding: 25px 20px;
    }
    
    .login-wrapper .loginbox .login-right h1 {
        font-size: 22px;
    }
    
    .account-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .login-wrapper .loginbox .login-right .form-control {
        height: 45px;
        font-size: 14px;
    }
    
    .login-wrapper .loginbox .login-right .btn-block {
        height: 45px;
        font-size: 15px;
    }
}

/* Styles pour les nouveaux éléments */
.small-text {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.radio-group {
    margin-bottom: 20px;
}

.radio-group .form-check {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.radio-group .form-check-input {
    margin-right: 10px;
}

.radio-group .form-check-label {
    font-size: 14px;
    color: #333;
}

.terms-group {
    margin-bottom: 20px;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.terms-group .form-check {
    display: flex;
    align-items: flex-start;
}

.terms-group .form-check input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
}

.terms-group .form-check label {
    line-height: 1.4;
    font-size: 13px;
}

.terms-group .form-check label a {
    color: #00a753;
    text-decoration: none;
}

.terms-group .form-check label a:hover {
    text-decoration: underline;
}

.login-wrapper .loginbox .login-right .form-control[type="file"] {
    height: auto;
    padding: 10px;
    background-color: #f0f7ff;
}

.col-form-label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Ajustements pour les écrans très petits */
@media screen and (max-width: 480px) {
    .small-text {
        font-size: 12px;
    }
    
    .terms-group .form-check label {
        font-size: 12px;
    }
    
    .radio-group .form-check-label {
        font-size: 13px;
    }
    
    .col-form-label {
        font-size: 13px;
    }
    
    .terms-group {
        padding: 10px;
    }
}

/* Styles spécifiques pour la page de connexion */
.login-wrapper .loginbox .login-right .form-group {
    margin-bottom: 20px;
}

.login-wrapper .loginbox .login-right .form-control {
    height: 48px;
    border-radius: 6px;
    background-color: #f0f7ff;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    font-size: 15px;
    width: 100%;
    transition: all 0.2s ease;
}

.login-wrapper .loginbox .login-right .form-control:focus {
    border-color: #4d94ff;
    box-shadow: 0 0 0 2px rgba(77, 148, 255, 0.2);
}

.login-wrapper .loginbox .login-right .btn-block {
    height: 48px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #00a753;
    border: none;
    margin-top: 5px;
    transition: all 0.2s ease;
}

.login-wrapper .loginbox .login-right .btn-block:hover {
    background-color: #009149;
}

/* Styles spécifiques pour la page de mot de passe oublié */
.login-wrapper .loginbox .login-right .account-subtitle {
    margin-bottom: 25px;
    line-height: 1.4;
}

.login-wrapper .loginbox .login-right .alert {
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 4px;
}

.login-wrapper .loginbox .login-right .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.login-wrapper .loginbox .login-right .alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

/* Ajustements supplémentaires pour les écrans mobiles */
@media screen and (max-width: 767px) {
    .login-wrapper .loginbox .login-right .account-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .login-wrapper .loginbox .login-right .alert {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    .login-wrapper .loginbox .login-right .account-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .login-wrapper .loginbox .login-right .alert {
        font-size: 12px;
        padding: 7px 10px;
    }
}

/* Très petits appareils */
@media screen and (max-width: 320px) {
    .login-wrapper .loginbox .login-right {
        padding: 20px 15px;
    }
    
    .login-wrapper .loginbox .login-right h1 {
        font-size: 20px;
    }
    
    .account-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .login-wrapper .loginbox .login-right .form-control {
        height: 42px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .login-wrapper .loginbox .login-right .btn-block {
        height: 42px;
        font-size: 14px;
    }
    
    .login-or {
        margin: 20px 0;
    }
    
    .login-wrapper .loginbox .login-right .dont-have {
        font-size: 13px;
    }
}