/* Minimalistic Profile Page Styles */

/* Main container */
.profile-page-minimal {
  padding-top: 40px;
  background-color: #f8f9fa;
  min-height: calc(100vh - 70px);
}

.dark-theme .profile-page-minimal {
  background-color: #1a1a2e;
}

/* Profile header section */
.profile-header-minimal {
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.dark-theme .profile-header-minimal {
  background-color: #16213e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.profile-minimal-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar */
.profile-avatar-minimal {
  margin-bottom: 20px;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dark-theme .avatar-img {
  border-color: #16213e;
}

/* Profile info */
.profile-name-minimal {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.dark-theme .profile-name-minimal {
  color: #e9ecef;
}

.profile-username-minimal {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 15px;
}

.profile-bio-minimal {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 20px;
  max-width: 600px;
}

.dark-theme .profile-bio-minimal {
  color: #adb5bd;
}

/* Meta information */
.profile-meta-minimal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.meta-item {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.meta-item i {
  margin-right: 5px;
}

.meta-item a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s;
}

.meta-item a:hover {
  color: #007bff;
}

/* Stats */
.profile-stats-minimal {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #007bff;
}

.dark-theme .stat-value {
  color: #4dabf7;
}

.stat-label {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Actions */
.profile-actions-minimal {
  margin-top: 10px;
}

/* Content section */
.profile-content-minimal {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 40px;
}

.dark-theme .profile-content-minimal {
  background-color: #16213e;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Tabs */
.profile-tabs-minimal {
  margin-bottom: 30px;
}

.nav-minimal {
  border: none;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.nav-minimal .nav-link {
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  color: #495057;
  font-weight: 500;
  background-color: #f8f9fa;
  transition: all 0.2s;
}

.dark-theme .nav-minimal .nav-link {
  background-color: #1e293b;
  color: #adb5bd;
}

.nav-minimal .nav-link:hover {
  background-color: #e9ecef;
}

.dark-theme .nav-minimal .nav-link:hover {
  background-color: #273c5a;
}

.nav-minimal .nav-link.active {
  background-color: #007bff;
  color: #fff;
}

.dark-theme .nav-minimal .nav-link.active {
  background-color: #4dabf7;
  color: #16213e;
}

/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.post-card-minimal {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dark-theme .post-card-minimal {
  background-color: #1e293b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.post-card-minimal:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
  height: 180px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card-minimal:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 0px 0;
}

.post-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.dark-theme .post-title {
  color: #e9ecef;
}

.post-excerpt {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.post-date {
  color: #6c757d;
}

.post-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.post-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Empty state */
.empty-state-minimal {
  text-align: center;
  padding: 50px 20px;
}

.empty-icon {
  font-size: 3rem;
  color: #dee2e6;
  margin-bottom: 20px;
}

.dark-theme .empty-icon {
  color: #273c5a;
}

.empty-state-minimal h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #495057;
}

.dark-theme .empty-state-minimal h3 {
  color: #e9ecef;
}

.empty-state-minimal p {
  color: #6c757d;
  margin-bottom: 20px;
}

/* About section */
.about-section-minimal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.about-bio,
.about-info,
.about-social,
.about-interests {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dark-theme .about-bio,
.dark-theme .about-info,
.dark-theme .about-social,
.dark-theme .about-interests {
  background-color: #1e293b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about-section-minimal h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  padding-bottom: 10px;
}

.dark-theme .about-section-minimal h3 {
  color: #e9ecef;
}

.about-section-minimal h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #007bff;
  border-radius: 3px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}

.dark-theme .info-list li {
  border-bottom-color: #273c5a;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: #6c757d;
  font-weight: 500;
}

.info-label i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.info-value {
  color: #495057;
  text-align: right;
}

.dark-theme .info-value {
  color: #adb5bd;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.dark-theme .social-icon {
  background-color: #273c5a;
  color: #adb5bd;
}

.social-icon:hover {
  background-color: #007bff;
  color: #fff;
  transform: translateY(-3px);
}

/* Interests */
.interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tag {
  background-color: #f8f9fa;
  color: #495057;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.dark-theme .interest-tag {
  background-color: #273c5a;
  color: #adb5bd;
}

/* Responsive */
@media (min-width: 768px) {
  .profile-minimal-layout {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .profile-avatar-minimal {
    margin-right: 30px;
    margin-bottom: 0;
  }

  .profile-meta-minimal {
    justify-content: flex-start;
  }

  .profile-stats-minimal {
    justify-content: flex-start;
  }

  .about-section-minimal {
    grid-template-columns: 2fr 1fr;
  }

  .about-bio {
    grid-column: 1 / 3;
  }
}

@media (max-width: 767px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .profile-stats-minimal {
    gap: 15px;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .nav-minimal {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .nav-minimal .nav-link {
    white-space: nowrap;
  }
}
