.rdev-profile-wrapper {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Layout Horizontal */
.rdev-tabs-layout-horizontal .rdev-profile-wrapper {
    flex-direction: column;
}

.rdev-tabs-layout-horizontal .rdev-profile-nav-list {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

/* Navegação */
.rdev-profile-nav {
    flex: 0 0 250px;
}

.rdev-profile-user-info {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.rdev-profile-user-info img {
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #f8f8f8;
}

.rdev-user-name {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.rdev-profile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.rdev-profile-nav-item {
    border-bottom: 1px solid #f8f8f8;
}

.rdev-profile-nav-item a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rdev-profile-nav-item i, 
.rdev-profile-nav-item svg {
    width: 16px;
    height: 16px;
}

.rdev-profile-nav-item:hover a,
.rdev-profile-nav-item.is-active a {
    background: #fdfdfd;
    color: #000;
}

.rdev-profile-nav-item.is-active {
    border-left: 3px solid #000;
}

/* Conteúdo */
.rdev-profile-content {
    flex: 1;
    min-width: 0; /* Fix para flex items com conteúdo longo */
}

.rdev-profile-panel {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WooCommerce Overrides */
.rdev-profile-panel .woocommerce-MyAccount-content {
    width: 100%;
}

.rdev-profile-panel .woocommerce-MyAccount-navigation {
    display: none; /* Esconder a navegação padrão do WC dentro do nosso widget */
}

.rdev-extra-tab-content {
    line-height: 1.6;
    color: #444;
}

/* Responsivo */
@media (max-width: 768px) {
    .rdev-profile-wrapper {
        flex-direction: column;
    }
    .rdev-profile-nav {
        flex: 1;
    }
    .rdev-profile-nav-list {
        flex-direction: row;
        overflow-x: auto;
        border-bottom: 1px solid #eee;
    }
    .rdev-profile-nav-item {
        white-space: nowrap;
        border-bottom: none;
    }
    .rdev-profile-nav-item.is-active {
        border-left: none;
        border-bottom: 2px solid #000;
    }
}