.elementor-profile-widget {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}
.elementor-profile-widget .welcome-message {
    text-align: center;
    margin-bottom: 30px;
}
.elementor-profile-widget .welcome-message h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}
.elementor-profile-widget .welcome-message p {
    color: #666;
    font-size: 16px;
}
.elementor-profile-widget .profile-avatar {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
}

.elementor-profile-widget .profile-avatar-container {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.elementor-profile-widget .avatar-info {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.elementor-profile-widget .profile-avatar-container::after {
    content: "\f044";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

.elementor-profile-widget .profile-avatar-container::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.elementor-profile-widget .profile-avatar-container:hover::before,
.elementor-profile-widget .profile-avatar-container:hover::after {
    opacity: 1;
    cursor: pointer;
}
.elementor-profile-widget .avatar-upload {
    display: none;
}
.elementor-profile-widget .profile-avatar:hover img {
    transform: scale(1.02);
}
.elementor-profile-widget .profile-avatar img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #4054b2;
    padding: 3px;
}
.elementor-profile-widget .section-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;}
.elementor-profile-widget .rgpd-notice {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-align: left;
}
.elementor-profile-widget .delete-account-form {
    margin-top: 20px;
    text-align: center;
}
.elementor-profile-widget .rgpd-notice .delete-account-form {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.elementor-profile-widget .elementor-button-danger {
    background-color: #dc3545;
    color: #fff;
    font-size: 14px;
    padding: 8px 16px;
    opacity: 0.8;
    margin-top: 10px;
}
.elementor-profile-widget .elementor-button-danger:hover {
    background-color: #c82333;
    opacity: 1;
}
.elementor-profile-widget .elementor-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4054b2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.elementor-profile-widget .elementor-button:hover {
    background-color: #2f3f8f;
    transform: translateY(-2px);
}
.elementor-profile-widget .form-group {
    margin-bottom: 20px;
}
.elementor-profile-widget .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.elementor-profile-widget .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}
.elementor-profile-widget .form-group input:focus {
    outline: none;
    border-color: #4054b2;
    box-shadow: 0 0 5px rgba(64, 84, 178, 0.2);
}
.elementor-profile-widget .form-group input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}
.elementor-profile-widget .profile-message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}
.elementor-profile-widget .profile-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.elementor-profile-widget .profile-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}
@media (max-width: 767px) {
    .elementor-profile-widget {
        padding: 15px;
        margin: 0 10px;
    }
.elementor-profile-widget .rgpd-notice h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}
.elementor-profile-widget .rgpd-notice p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.elementor-profile-widget .rgpd-notice ul {
    margin: 15px 0;
    padding-left: 20px;
}
.elementor-profile-widget .rgpd-notice ul li {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
}
.elementor-profile-widget .rgpd-notice strong {
    color: #dc3545;
}
}
.elementor-profile-widget .avatar-upload {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.elementor-profile-widget .avatar-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 16px;
}

.elementor-profile-widget input[type="file"] {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.elementor-profile-widget input[type="file"]:hover {
    border-color: #4054b2;
}

.elementor-profile-widget .field-info {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    display: block;
    margin: 10px 0 15px;
}

.elementor-profile-widget .elementor-button-small {
    background-color: #4054b2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    min-width: 150px;
}

.elementor-profile-widget .elementor-button-small:hover {
    background-color: #2f3f8f;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.elementor-profile-widget .avatar-upload-form {
    text-align: center;
}

/* Style pour l'aperçu de l'avatar actuel */
.elementor-profile-widget .profile-avatar img {
    border: 3px solid #4054b2;
    padding: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.elementor-profile-widget .profile-avatar img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Responsive design */
@media (max-width: 767px) {
    .elementor-profile-widget .avatar-upload {
        padding: 15px;
    }
    
    .elementor-profile-widget input[type="file"] {
        padding: 20px;
    }
    
    .elementor-profile-widget .elementor-button-small {
        width: 100%;
    }
}