/* Profile Page Styles */
.profile-container {
  padding: 1rem;
  max-width: 100%;
}

.profile-header {
  margin-bottom: 2rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 100%;
}

.profile-card {
  padding: 2rem;
}

/* Responsive Design */
@media (min-width: var(--breakpoint-mobile)) {
  .profile-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .profile-container {
    padding: 2rem;
  }
}

@media (max-width: calc(var(--breakpoint-mobile) - 1px)) {
  .profile-card {
    padding: 1.5rem;
  }
}

/* Success/Error Messages */
.profile-message {
  background: var(--color-success);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.profile-error {
  background: var(--color-error);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.profile-message i,
.profile-error i {
  margin-right: 0.5rem;
}

/* Card Headers */
.profile-card h2 {
  margin: 0 0 1.5rem 0;
  color: var(--color-primary);
}

.profile-card h2 i {
  margin-right: 0.5rem;
}

/* Form Elements */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.profile-form textarea {
  resize: vertical;
}

/* User Info Fields */
.profile-field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-field-item {
  display: flex;
  flex-direction: column;
}

.profile-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-secondary);
}

.profile-field-value {
  margin: 0;
  padding: 0.75rem;
  background: var(--color-bg-secondary);
  border-radius: 0.25rem;
}

.profile-field-value--monospace {
  font-family: monospace;
  font-size: 0.9rem;
}

/* Status Items */
.profile-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--color-bg-secondary);
  border-radius: 0.25rem;
}

.profile-status-label {
  font-weight: 600;
}

.profile-status-value {
  font-weight: 600;
}

.profile-status-value--success {
  color: var(--color-success);
}

.profile-status-value--error {
  color: var(--color-error);
}

/* Quick Actions */
.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-action-btn {
  text-align: left;
  justify-content: flex-start;
}

.profile-action-btn i {
  margin-right: 0.5rem;
}
