/* Estilos da página Editar Perfil da Empresa (o cabeçalho usa styles.css) */
:root {
  --primary-color: #0369a1;
  --primary-hover: #0284c7;
  --primary-light: rgba(3, 105, 161, 0.1);
  --accent-color: #06b6d4;
  --accent-light: rgba(6, 182, 212, 0.12);
  --gradient-hero: linear-gradient(135deg, #0369a1 0%, #0891b2 50%, #06b6d4 100%);
  --secondary-color: #f0f9ff;
  --background-color: #ffffff;
  --text-color: #0c1a2e;
  --text-muted: #4b6280;
  --text-subtle: #94a3b8;
  --border-color: #bae6fd;
  --border-subtle: #e0f2fe;
  --shadow-xs: 0 1px 2px rgba(3, 105, 161, 0.06);
  --shadow-sm: 0 2px 8px rgba(3, 105, 161, 0.08);
  --shadow: 0 4px 16px rgba(3, 105, 161, 0.12);
  --shadow-md: 0 8px 32px rgba(3, 105, 161, 0.16);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* User Menu Styles */











/* Edit Profile Page Styles */
.edit-profile-container {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
  background-color: var(--secondary-color);
  padding: 2rem 1rem;
}

.edit-sidebar {
  background-color: var(--background-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  overflow: hidden;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.sidebar-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.sidebar-nav {
  padding: 1rem 0;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-nav ul li a:hover {
  background-color: var(--secondary-color);
}

.sidebar-nav ul li a.active {
  color: var(--primary-color);
  font-weight: 500;
  background-color: rgba(79, 70, 229, 0.1);
  border-left: 3px solid var(--primary-color);
}

.sidebar-nav ul li a i {
  width: 1rem;
  text-align: center;
}

.sidebar-actions {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edit-content {
  background-color: var(--background-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.profile-completion {
  width: 100%;
  max-width: 300px;
}

.completion-text {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.completion-bar {
  height: 0.5rem;
  background-color: var(--border-color);
  border-radius: 9999px;
  overflow: hidden;
}

.completion-progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 9999px;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.edit-form {
  padding: 1.5rem;
}

.form-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.media-upload {
  margin-bottom: 2rem;
}

.banner-upload {
  position: relative;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.banner-preview {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.banner-preview:hover .upload-overlay,
.logo-preview:hover .upload-overlay {
  opacity: 1;
}

.upload-overlay i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.logo-upload {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  cursor: pointer;
}

.logo-preview {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: var(--shadow);
  position: relative;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.input-with-icon input {
  padding-left: 2.5rem;
}

.values-container,
.highlights-container,
.benefits-container,
.locations-container {
  margin-bottom: 2rem;
}

.values-list,
.highlights-list,
.benefits-list,
.locations-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.value-item,
.highlight-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  background-color: var(--secondary-color);
}

.value-header,
.highlight-header,
.benefit-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.value-header input,
.highlight-header input,
.benefit-header input {
  flex: 1;
}

.value-header select,
.highlight-header select,
.benefit-header select {
  width: auto;
}

.value-item textarea,
.highlight-item textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.875rem;
  resize: vertical;
}

.btn-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background-color: var(--border-color);
}

.benefit-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1rem;
  background-color: var(--secondary-color);
}

.location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-item input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.photos-container {
  margin-bottom: 2rem;
}

.photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 200px;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.photo-overlay input {
  flex: 1;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.photo-overlay input:focus {
  outline: none;
  border-bottom-color: white;
}

.photo-actions {
  display: flex;
  gap: 0.5rem;
}

.photo-actions .btn-icon {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
}

.photo-actions .btn-icon:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.photo-upload {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.photo-upload:hover {
  border-color: var(--primary-color);
  background-color: rgba(79, 70, 229, 0.05);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
}

.upload-placeholder i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 3rem;
}

/* Responsive styles */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-list,
  .highlights-list,
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .photos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .edit-profile-container {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .edit-profile-container {
    flex-direction: row;
    gap: 2rem;
    padding: 3rem;
  }

  .edit-sidebar {
    width: 300px;
    margin-bottom: 0;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    max-height: calc(100vh - 4rem);
  }

  .edit-content {
    flex: 1;
  }

  .photos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .edit-sidebar {
    width: 350px;
  }

  .banner-preview {
    height: 250px;
  }

  .logo-upload {
    width: 120px;
    height: 120px;
  }
}
