/* Company / Profile page – NGO/Industry UI (two-column, green buttons, clean inputs) */

.view-profile-page .profile-page-header {
  margin-bottom: var(--space-lg, 1.5rem);
}

.view-profile-page .profile-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0;
}

.view-profile-page .profile-page-subtitle {
  color: var(--color-text-muted, #6b7280);
  margin: 0.25rem 0 0 0;
  font-size: 0.9375rem;
}

.profile-card {
  max-width: 720px;
  padding: var(--space-xl, 1.5rem);
  background: var(--color-surface, #fff);
  border-radius: 12px;
  border: 1px solid var(--color-border, #e5e7eb);
}

.profile-photo-section {
  display: flex;
  align-items: center;
  gap: var(--space-lg, 1.5rem);
  margin-bottom: var(--space-xl, 1.5rem);
  padding-bottom: var(--space-xl, 1.5rem);
  border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.profile-photo-wrap.profile-photo-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(147, 197, 253, 0.25);
  border: 2px solid rgba(96, 165, 250, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 2.5rem;
  background: transparent;
}

.profile-photo-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.profile-change-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.profile-form {
  margin-top: 0;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-bottom: var(--space-lg, 1.5rem);
}

/* Left column: Organisation name, Mobile, Username. Right: Address, Email, New password */
.profile-form-grid .form-group {
  margin-bottom: 0;
}

.profile-form-grid .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.9375rem;
}

.profile-card .profile-input,
.profile-card .form-control.profile-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: 8px;
  background: #fff;
  font-size: 0.9375rem;
}

.profile-card .profile-input:focus,
.profile-card .form-control.profile-input:focus {
  outline: none;
  border-color: var(--color-primary, #059669);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

@media (max-width: 600px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.profile-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: 0.5rem;
}

.profile-update-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
}

.profile-message {
  font-size: 0.9375rem;
  font-weight: 500;
}

.profile-message.success {
  color: var(--color-success, #059669);
}

.profile-message.error {
  color: var(--color-error, #dc2626);
}

.profile-card .form-hint {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted, #6b7280);
  display: block;
}

.profile-card input[readonly],
.profile-card .profile-input[readonly] {
  background: var(--color-bg, #f9fafb);
  color: var(--color-text-muted, #6b7280);
  cursor: default;
}

.profile-card .btn-outline {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}

.profile-card .btn-outline:hover {
  background: rgba(5, 150, 105, 0.08);
  border-color: var(--color-primary);
}
