/* Profile container styles */
.profile-container {
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-radius: 0;
  padding: 30px;
  box-shadow: none;
}

/* Add toggle switch styles */
/* Profile toggle styles - positioned on the right */
.profile-toggle {
  display: flex;
  align-items: center;
  margin-left: auto;
  position: absolute;
  top: 30px;
  z-index: 10;
  position: absolute;
  top: 30px;
  right: 80px;; /* Ajuste para a direita */
  margin-left: auto;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin: 0 10px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #1bb187;
}

input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

.toggle-label {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

/* Make profile header position relative for absolute positioning of toggle */
.profile-header {
  position: relative;
}

.container {
  padding: 0;
  max-width: 100%;
  margin: 0;
  flex: 1;
}

/* Adjust the post layout for better full-width display */
.post {
  background: #fff;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: none;
}


  
  .timeline-main {
    padding-right: 20px;
  }
  
  .timeline-sidebar {
    border-left: 1px solid #eee;
    padding-left: 20px;
    display: flex;
  flex-direction: row-reverse; /* Inverte a ordem dos elementos para colocar a sidebar à direita */
}
  


.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.profile-pic-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;

  margin-right: 30px;
  background-color: #e1e1e1;
  border: 3px solid #1bb187;
}

.profile-info h2 {
  margin-bottom: 50px;
  font-size: 1.8rem;
}

.profile-role {
  color: #1bb187;
  font-size: 1.2rem;
  font-weight: 500;
}

.profile-stats {
  display: flex;
  margin-top: 10px;
  gap: 20px;
}

.stat {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.stat i {
  margin-right: 5px;
  color: #1bb187;
}

.profile-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  overflow-x: auto;
}

.profile-tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.profile-tab.active {
  border-bottom: 3px solid #1bb187;
  color: #1bb187;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.save-btn, .post-btn {
  background: #1bb187;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.save-btn:hover, .post-btn:hover {
  background: #159b76;
}

/* Post styles */
.create-post {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
}

.post-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
  margin-bottom: 10px;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-attachments {
  display: flex;
  gap: 15px;
}

.attachment-btn {
  display: flex;
  align-items: center;
  color: #555;
  cursor: pointer;
}

.attachment-btn i {
  margin-right: 5px;
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.post-author-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.post-author-info h4 {
  margin: 0;
  font-size: 1.1rem;
}

.post-date {
  color: #777;
  font-size: 0.8rem;
}

.post-content {
  margin-bottom: 15px;
}

.post-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.post-image {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
  height: 150px;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.post-reactions {
  display: flex;
  gap: 15px;
}

.reaction {
  display: flex;
  align-items: center;
  color: #555;
  cursor: pointer;
}

.reaction i {
  margin-right: 5px;
}

.comments-section {
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.comment {
  display: flex;
  margin-bottom: 15px;
}

.comment-author-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.comment-content {
  background: #f5f5f5;
  padding: 10px 15px;
  border-radius: 15px;
  flex: 1;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 5px;
}

/* Comment form styles */
.add-comment {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.comment-form {
    display: flex;
    align-items: flex-start;
}

.comment-input-container {
    flex: 1;
    margin-right: 10px;
}

.comment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

.rating-selector {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
}

.star-rating {
    display: flex;
    margin-left: 10px;
}

.star-rating i {
    color: #ffc107;
    margin-right: 3px;
    cursor: pointer;
}

.comment-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.comment-btn:hover {
    background-color: #45a049;
}

/* Comment styles */
.post-comments {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.comment {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.comment-author-info h5 {
    margin: 0;
    font-size: 14px;
}

.comment-rating {
    display: flex;
    margin-top: 3px;
}

.comment-rating i {
    color: #ffc107;
    font-size: 12px;
    margin-right: 2px;
}

.comment-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.rating-stars {
  display: flex;
  gap: 5px;
}

.rating-stars i {
  color: #FFD700;
}

/* Sidebar section styles */
.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-section h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #333;
}

.popular-services {
  list-style: none;
  padding: 0;
}

.popular-services li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;}
