/* Profile page specific styles */
.profile-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  background-color: #222;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #ff6b00;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
}

.profile-initials {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.profile-info {
  flex-grow: 1;
}

.profile-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #fff;
}

.profile-email {
  color: #aaa;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.profile-member-since {
  font-size: 0.85rem;
  color: #888;
}

.join-date {
  color: #ff6b00;
}

.profile-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 25px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
}

.profile-tabs::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}

.profile-tab {
  background: none;
  border: none;
  color: #888;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.profile-tab.active {
  color: #ff6b00;
  border-bottom: 2px solid #ff6b00;
}

.profile-tab:hover:not(.active) {
  color: #ccc;
}

.profile-tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-tab-content h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #fff;
}

.profile-form {
  background-color: #222;
  padding: 25px;
  border-radius: 10px;
}

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

.profile-form label {
  display: block;
  margin-bottom: 8px;
  color: #ccc;
  font-size: 0.95rem;
}

.profile-form input,
.profile-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.profile-form input:focus,
.profile-form textarea:focus {
  outline: none;
  border-color: #ff6b00;
}

.profile-form textarea {
  resize: vertical;
  min-height: 80px;
}

.profile-save-button {
  background-color: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.profile-save-button:hover {
  background-color: #e05e00;
}

/* Empty state styling */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  background-color: #222;
  border-radius: 10px;
  margin-bottom: 30px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.empty-state h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.empty-state p {
  color: #888;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.create-listing-button,
.shop-now-button,
.explore-button {
  background-color: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.create-listing-button:hover,
.shop-now-button:hover,
.explore-button:hover {
  background-color: #e05e00;
}

/* Responsive styles */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }

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

  .profile-tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .profile-main {
    padding: 20px 15px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-initials {
    font-size: 2rem;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-form {
    padding: 20px 15px;
  }
}

.profile-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  margin-bottom: 25px;
  overflow-x: auto;
  scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar {
  display: none;
}

.profile-tab {
  background: none;
  border: none;
  color: #888;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.profile-tab.active {
  color: #ff6b00;
  border-bottom: 2px solid #ff6b00;
}

.profile-tab:hover:not(.active) {
  color: #ccc;
}

/* Add a subtle animation for tab transitions */
@keyframes tabHover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.profile-tab:hover {
  animation: tabHover 0.3s ease-in-out;
}

/* Style for the active tab (Account) */
.profile-tab[data-tab="account"].active {
  background-color: rgba(255, 107, 0, 0.1);
  border-radius: 8px 8px 0 0;
}

/* Add some spacing between tabs */
.profile-tab:not(:last-child) {
  margin-right: 10px;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .profile-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .profile-tab {
    flex: 1 1 40%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .profile-tab {
    flex: 1 1 100%;
  }
}

