:root {
    --primary-color: #0D6BAB;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --border-color: #dee2e6;
    --text-color: #212529;
    --hover-color: #e9ecef;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-user-profile {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 100%;
    margin: 0;
    background: white;
    padding: 0;
    color: var(--text-color);
    position: relative;
    min-height: 100vh;
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
	background: white;
    box-shadow: var(--card-shadow);
    color: white;
    border-radius:14px;
	margin: 0 5px;
    margin-bottom: 20px;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 30px;
	display:none;
}

.user-info h2 {
    margin: 0;
    font-size: 1.4rem;
}

.user-info p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-color);
    transition: background 0.3s;
    cursor: pointer;
}

.mobile-menu-item:active {
    background-color: var(--hover-color);
}

.menu-icon {
    width: 24px;
    text-align: center;
    margin-right: 18px;
    color: var(--primary-color);
    font-size: 18px;
}

.menu-text {
    flex: 1;
    font-size: 16px;
}

.menu-arrow {
    color: var(--secondary-color);
    font-size: 14px;
}

.menu-section {
    margin: 25px 0 15px;
    padding: 0 20px;
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    margin: 10px;
    box-shadow: var(--card-shadow);
}

.whatsapp-button {
    display: block;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 16px;
    margin: 20px 10px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--card-shadow);
}

.tab-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 100;
    padding: 20px;
    overflow-y: auto;
}

.tab-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.back-button {
    background: none;
    border: none;
    font-size: 18px;
    margin-right: 15px;
    color: var(--primary-color);
    cursor: pointer;
}

.tab-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.info-form {
    padding: 10px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--background-color);
    color: var(--text-color);
    box-sizing: border-box;
}

.form-group input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note {
    margin-top: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 14px;
    color: var(--secondary-color);
}

.form-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

.tab-text-content {
    line-height: 1.6;
}

.tab-text-content p {
    margin-bottom: 15px;
}

.language-options {
    margin-top: 20px;
}

.language-option {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.language-option.active {
    color: var(--primary-color);
    font-weight: 500;
}

.language-option.active .fa-check {
    display: block;
}

.language-option .fa-check {
    display: none;
    color: var(--primary-color);
}

/* Animation pour l'ouverture/fermeture des onglets */
.tab-content {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.tab-content.active {
    transform: translateX(0);
    display: block;
}

/* Support pour la langue arabe */
body[lang="ar"] .mobile-user-profile {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}

body[lang="ar"] .profile-header,
body[lang="ar"] .menu-card,
body[lang="ar"] .whatsapp-button {
    direction: rtl;
}

body[lang="ar"] .user-info {
    margin-right: 15px;
    margin-left: 0;
}

body[lang="ar"] .menu-icon {
    margin-right: 0;
    margin-left: 18px;
}

body[lang="ar"] .back-button {
    margin-right: 0;
    margin-left: 15px;
}


/* Support pour la langue arabe */
body[lang="ar"] .mobile-user-profile,
body[lang="ar"] .profile-header,
body[lang="ar"] .menu-card,
body[lang="ar"] .whatsapp-button,
body[lang="ar"] .tab-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
}

body[lang="ar"] .avatar {
    margin-right: 0;
    margin-left: 15px;
}

body[lang="ar"] .menu-icon {
    margin-right: 0;
    margin-left: 18px;
}

body[lang="ar"] .back-button {
    margin-right: 0;
    margin-left: 15px;
}

body[lang="ar"] .form-note {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

body[lang="ar"] .language-option {
    text-align: right;
}

.elementor-element.elementor-element-a727386{
	padding-top:0 !important;
}


/* Ajoutez ceci temporairement pour voir si les onglets fonctionnent */
.tab-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

/* Style pour voir visuellement les options de langue */
.language-option {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.active {
    background-color: #e9ecef;
    color: #0D6BAB;
}