/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevenir zoom automático no iOS */
input, select, textarea {
  font-size: 16px !important;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  color: #333;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #667eea;
  text-decoration: none;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

.user-icon-container {
  position: relative;
  display: inline-block;
}

.user-icon {
  width: 50px;
  height: 50px;
  border-radius: 10%;
  background: linear-gradient(45deg, #f8039a, #fa7c22, #c411cc, #1e8af5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: white; /* Color del ícono de usuario */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.user-icon:hover {
  transform: scale(1.05);
}

.dropdown-menu {
  position: absolute;
  top: 50px; /* Ajusta según sea necesario para que el menú caiga debajo del ícono */
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f1f1f1;
  border-radius: 10px;
}

/* Main content */
.main {
  padding: 2rem 0;
  min-height: calc(100vh - 230px);
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Formularios */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333 !important;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff !important;
  color: #333 !important;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
  color: #666 !important;
  opacity: 1;
}

/* Estilos específicos para garantir visibilidade */
.form-group label,
.form-label {
  color: #333 !important;
  font-weight: 600 !important;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-input,
.form-textarea {
  background: #ffffff !important;
  color: #333 !important;
  border: 2px solid #e1e5e9 !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
  color: #666 !important;
  opacity: 1 !important;
}

.form-group small {
  color: #666 !important;
}

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

/* Password input container */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container .form-input {
  padding-right: 50px; /* Espaço para o botão do olho */
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.password-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.password-toggle:focus {
  outline: none;
  background-color: rgba(0, 0, 0, 0.1);
}

.eye-icon {
  width: 20px;
  height: 20px;
  color: #666;
  transition: color 0.2s ease;
}

.password-toggle:hover .eye-icon {
  color: #333;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #f8039a, #fa7c22, #c411cc, #1e8af5);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
  background: #f8f9fa;
  border-color: #667eea;
}

.btn-full {
  width: 100%;
}

/* Search */
.search-container {
  text-align: center;
  padding: 4rem 0;
}

.search-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  background: rgba(241, 241, 241, 1);
  backdrop-filter: blur(10px);
}

.search-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Profile cards */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.profile-card {
  text-align: center;
  position: relative;
}

.profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.profile-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.profile-handle {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 1rem;
}

.profile-description {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-info {
  background: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
  border: 1px solid rgba(23, 162, 184, 0.2);
}

/* Loading */
.loading {
  text-align: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(102, 126, 234, 0.1);
  border-left: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* PIX Payment */
.pix-container {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.qr-code {
  max-width: 300px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
}

.pix-code {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  font-family: monospace;
  word-break: break-all;
  margin: 1rem 0;
}

/* Logo responsiva */
.search-container img {
  max-width: 100%;
  height: auto;
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    gap: 1rem;
    padding: 0.75rem 0;
  }

  .nav-links {
    gap: 1rem;
  }

  .search-title {
    font-size: 2rem;
  }

  .search-form {
    flex-direction: row;
    gap: 0.5rem;
  }

  .search-input {
    font-size: 16px; /* Evita zoom no iOS */
    padding: 0.75rem 1rem;
  }

  .search-button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }

  .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .main {
    padding: 1rem 0;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .user-icon {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .dropdown-menu {
    top: 70px;
    min-width: 130px;
  }

  .dropdown-menu a {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Logo responsiva para tablets */
  .search-container img {
    max-width: 600px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .search-title {
    font-size: 1.5rem;
  }

  .search-subtitle {
    font-size: 1rem;
  }

  .search-form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .search-input {
    font-size: 16px; /* Evita zoom no iOS */
    padding: 0.6rem 0.8rem;
  }

  .search-button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .card {
    padding: 1rem;
    border-radius: 15px;
  }

  .main {
    padding: 0.5rem 0;
  }

  .nav {
    padding: 0.5rem 0;
  }

  .user-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .dropdown-menu {
    top: 45px;
    min-width: 120px;
  }

  .dropdown-menu a {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .form-input {
    padding: 0.6rem 0.8rem;
    font-size: 16px; /* Evita zoom no iOS */
  }

  .form-label {
    font-size: 0.9rem;
  }

  /* Logo responsiva para celulares */
  .search-container img {
    max-width: 350px;
    margin-bottom: 30px;
  }
}

/* Para telas muito pequenas (320px e abaixo) */
@media (max-width: 320px) {
  .search-container img {
    max-width: 280px;
    margin-bottom: 20px;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.block { display: block; }


/* Footer */
footer {
  background-color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

.footer-links a {
  color: rgb(118, 118, 118);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #464646;
}

/*BOTÃO DE PESQUISA*/
.search-button {
  background: linear-gradient(45deg, #f8039a, #fa7c22, #c411cc, #1e8af5);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.search-button i {
  font-size: 1.5rem;
}

/* Busca Avançada */
.advanced-search-toggle {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.advanced-search-toggle .btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.advanced-search-toggle .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.advanced-search-form {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Estilos específicos para busca avançada */
.advanced-search-form .form-group {
  display: flex;
  flex-direction: column;
}

.advanced-search-form .form-group label {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.advanced-search-form .form-group input {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.advanced-search-form .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.advanced-search-form .form-group input:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.form-actions .btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 120px;
}

.form-actions .btn-primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.form-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Score de relevância */
.relevance-score {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  margin: 0.5rem 0;
  display: inline-block;
}

/* Score de similaridade semântica */
.semantic-score {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  margin: 0.5rem 0;
  display: inline-block;
}

/* Método de busca */
.search-method {
  background: linear-gradient(45deg, #ffc107, #fd7e14);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  margin: 0.5rem 0;
  display: inline-block;
}

/* Container dos scores */
.profile-scores {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  align-items: center;
}

/* Informação do método de busca */
.search-method-info {
  margin-bottom: 1rem;
}

.search-method-info .alert {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.search-method-info .alert-info {
  background: rgba(23, 162, 184, 0.1);
  border-color: rgba(23, 162, 184, 0.3);
  color: #17a2b8;
}

/* Informações sobre o método de busca */
.search-info {
  margin-bottom: 1rem;
}

.search-info .alert {
  background: rgba(23, 162, 184, 0.1);
  border: 1px solid rgba(23, 162, 184, 0.3);
  color: #17a2b8;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.search-info h4 {
  margin: 0 0 0.5rem 0;
  color: #17a2b8;
  font-size: 1.1rem;
}

.search-stats {
  margin-bottom: 0.5rem;
}

.search-stats p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.search-note {
  margin: 0.5rem 0 0 0;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Melhorias na visualização dos resultados */
.profile-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.profile-card .profile-photo {
  flex-shrink: 0;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #f8039a, #fa7c22, #c411cc, #1e8af5);
  color: white;
  font-size: 3rem;
  font-weight: bold;
  overflow: hidden;
}

.profile-card .profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.profile-card .profile-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.profile-card .profile-handle {
  margin: 0 0 1rem 0;
  color: #666;
  font-size: 0.9rem;
}

.profile-card .profile-description {
  margin: 0 0 1rem 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1;
}

.profile-card .profile-scores {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.profile-card .profile-tags {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.profile-card .btn {
  margin-top: auto;
  align-self: center;
}

.profile-card .profile-tags {
  margin: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Indicador de busca semântica */
.semantic-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

.semantic-indicator::before {
  content: "🧠";
  font-size: 0.8rem;
}

/* Tags dos perfis */
.profile-tags {
  margin: 0.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Responsive para busca avançada */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .form-actions .btn {
    width: 100%;
    max-width: 200px;
  }
}

/* Responsive para os scores */
@media (max-width: 768px) {
  .profile-scores {
    flex-direction: column;
    align-items: stretch;
  }
  
  .relevance-score,
  .semantic-score,
  .search-method {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Estilos para cards compactos */
.profile-card-compact {
  background: #ffffff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e1e5e9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.profile-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.profile-card-compact .profile-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, #f8039a, #fa7c22, #c411cc, #1e8af5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  overflow: hidden;
}

.profile-card-compact .profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #333;
  text-align: center;
}

.profile-card-compact .profile-handle {
  color: #667eea;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.profile-card-compact .profile-location {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  text-align: center;
}

.profile-card-compact .profile-bio {
  margin-bottom: 1rem;
}

.profile-card-compact .bio-text {
  color: #555;
  font-size: 0.60rem;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  padding: 0.5rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  border-left: 3px solid #667eea;
}

.profile-card-compact .highlighted-words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.profile-card-compact .highlighted-word {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.profile-card-compact .profile-actions {
  text-align: center;
}

.profile-card-compact .profile-actions .btn {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* Responsive para cards compactos */
@media (max-width: 768px) {
  .profile-card-compact {
    padding: 1rem;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
  }
  
  .profile-card-compact .profile-photo {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
  
  .profile-card-compact .profile-name {
    font-size: 1rem;
  }
  
  .profile-card-compact .bio-text {
    font-size: 0.7rem;
    padding: 0.4rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .profile-card-compact {
    padding: 0.8rem;
    min-height: 540px !important;
    max-height: 240px !important;
    min-width: 147px !important;
  }
  
  .profile-card-compact .profile-photo {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  
  .profile-card-compact .profile-name {
    font-size: 0.9rem;
  }
  
  .profile-card-compact .profile-handle {
    font-size: 0.8rem;
  }
  
  .profile-card-compact .profile-location {
    font-size: 0.75rem;
  }
  
  .profile-card-compact .bio-text {
    font-size: 0.35rem;
    padding: 0.3rem;
    line-height: 1.2;
  }
  
  .profile-card-compact .highlighted-word {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }
  
  .profile-card-compact .profile-actions .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Força altura fixa para todos os cards compactos */
.profile-card-compact,
div.profile-card-compact,
[class*="profile-card-compact"] {
  height: 380px !important;
  min-height: 380px !important;
  max-height: 380px !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .profile-card-compact,
  div.profile-card-compact,
  [class*="profile-card-compact"] {
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
  }
}

@media (max-width: 480px) {
  .profile-card-compact,
  div.profile-card-compact,
  [class*="profile-card-compact"] {
    height: 340px !important;
    min-height: 340px !important;
    max-height: 340px !important;
  }
}
