/* ============================================================
   USER PROFILE PAGE - UNIQUE STYLES ONLY
   ============================================================ */

/* User Profile Header */
.gm-user-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.gm-user-avatar {
  flex-shrink: 0;
}

.gm-user-info {
  flex: 1;
  min-width: 0;
}

.gm-user-name {
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 600;
  color: #1c1e21;
}

.gm-user-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.gm-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gm-stat-value {
  font-size: 20px;
  font-weight: 600;
  color: #1c1e21;
  line-height: 1;
}

.gm-stat-label {
  font-size: 13px;
  color: #65676b;
  margin-top: 4px;
}

.gm-user-phone {
  color: #65676b;
  font-size: 14px;
  margin-bottom: 16px;
}

.gm-edit-profile-btn {
  background: #e4e6eb;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1c1e21;
  cursor: pointer;
  transition: background 0.2s;
}

.gm-edit-profile-btn:hover {
  background: #d8dadf;
}

/* Listings Section */
.gm-user-listings .gm-listings-section {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.gm-user-listings .gm-listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e4e6eb;
}

.gm-user-listings .gm-listings-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1c1e21;
}

/* User Feed Grid */
.gm-user-listings .gm-user-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
}

@media (min-width: 640px) {
  .gm-user-listings .gm-user-feed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gm-user-listings .gm-user-feed-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Delete Button - Below Each Listing */
.gm-user-delete-btn {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 6px;
  color: #c00;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.gm-user-delete-btn:hover {
  background: #fdd;
  border-color: #faa;
}

.gm-user-delete-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Empty States */
.gm-user-listings .gm-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #65676b;
}

.gm-user-listings .gm-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.gm-user-listings .gm-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: #1c1e21;
  margin-bottom: 8px;
}

.gm-user-listings .gm-empty-desc {
  font-size: 14px;
  color: #65676b;
  line-height: 1.4;
}

/* Notifications */
@keyframes gmUserSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes gmUserSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 639px) {
  .gm-user-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .gm-user-stats {
    justify-content: center;
  }
  
  .gm-user-listings .gm-user-feed-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    padding: 16px;
  }
}
