body {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.profile-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr; /* Coluna lateral de 300px e o resto para o conteúdo */
    gap: 40px;
}

/* Coluna da Esquerda (Sidebar) */
.profile-sidebar {
    position: sticky; /* Fica fixa ao rolar a página */
    top: 100px; /* 70px do header + 30px de margem */
    align-self: start; /* Alinha ao topo */
}

.sidebar-card {
    background-color: #343a40;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--yellow-accent);
    margin: 0 auto 20px auto;
}

.profile-name {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.profile-crp {
    font-size: 1em;
    color: #adb5bd;
    margin: 5px 0 20px 0;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1em;
    border-radius: 8px;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

.whatsapp-btn:hover {
    background-color: #e6c300;
}

/* Coluna da Direita (Conteúdo Principal) */
.profile-main-content {
    background-color: #343a40;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.specialty-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.pill {
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--yellow-accent);
    color: var(--yellow-accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h2 {
    font-size: 1.5em;
    color: var(--yellow-accent);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin: 0 0 15px 0;
}

.profile-section p, .profile-section li {
    color: #ced4da;
    line-height: 1.7;
}

.profile-section ul {
    list-style: none;
    padding: 0;
}

.profile-section li {
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr; 
    }
    .profile-sidebar {
        position: static; 
    }
}