/* Vértice — Design System & Custom Style Sheet */

/* =========================================================================
   1. RESET & ESTILOS BASE
   ========================================================================= */

:root {
  --color-cyan: hsl(190, 90%, 50%);
  --color-emerald: hsl(145, 80%, 45%);
  --color-dark-bg: #0b0d12;
  --color-card-bg: rgba(26, 29, 36, 0.65);
  --color-text-primary: hsl(220, 10%, 95%);
  --color-text-secondary: hsl(220, 8%, 70%);
  --color-border: rgba(255, 255, 255, 0.08);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-dark-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* Background Glow Effects */
.glow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-1 {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0,0,0,0) 70%);
  filter: blur(100px);
}

.glow-2 {
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(0,0,0,0) 70%);
  filter: blur(120px);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--color-card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* =========================================================================
   2. LAYOUT DO SAAS MULTI-TENANT
   ========================================================================= */

.app-container {
  display: flex;
  height: 100vh;
  width: 100vw;
  padding: 16px;
  gap: 16px;
}

/* Sidebar Estilo Lateral */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.brand-logo {
  font-size: 28px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-emerald), var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-info h1 {
  font-size: 20px;
  line-height: 1.1;
}

.brand-info span {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Seletor de Tenant */
.tenant-selector-container {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tenant-selector-container label {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-field {
  width: 100%;
  background: rgba(14, 16, 22, 0.6);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  transition: var(--transition-smooth);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

select.input-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
}

.nav-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.nav-item:hover, .nav-item.active {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  border-left: 3px solid var(--color-cyan);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.badge {
  background: #25d366;
  color: black;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: auto;
}

/* Perfil de Agente Ativo */
.agent-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.agent-profile img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-emerald);
}

.agent-details h4 {
  font-size: 14px;
}

.agent-details span {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* Painel de Conteúdo Principal */
.main-content {
  flex-grow: 1;
  position: relative;
}

.content-section {
  display: none;
  height: 100%;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.4s ease forwards;
}

.content-section.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

/* =========================================================================
   3. ELEMENTOS INTERATIVOS E COMPONENTES COMUNS
   ========================================================================= */

.btn-primary {
  background: linear-gradient(135deg, var(--color-emerald), var(--color-cyan));
  color: #0b0d12;
  border: none;
  font-family: var(--font-title);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  font-family: var(--font-title);
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Barra de Busca de Imóveis */
.search-panel {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-form-row {
  display: flex;
  gap: 12px;
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
}

.search-input-wrapper input {
  padding-left: 44px;
  font-size: 14px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
}

.filters-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.filter-group label {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================================
   4. CATALOG GRID (CARDS + MAPA)
   ========================================================================= */

.catalog-grid {
  display: flex;
  gap: 16px;
  flex-grow: 1;
  height: 0; /* Permite rolar a lista de imóveis sem esticar a tela */
}

.properties-list-container {
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.properties-count {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 0 4px;
}

.properties-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding-right: 4px;
  flex-grow: 1;
}

/* Property Card Premium */
.property-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: rgba(22, 26, 35, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-cyan);
  background: rgba(26, 32, 44, 0.75);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.08);
}

.property-thumb {
  height: 230px;
  position: relative;
  overflow: hidden;
}

/* Gradiente na parte inferior do thumbnail para contraste */
.property-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(11, 13, 18, 0.6), transparent);
  z-index: 1;
}

.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.property-card:hover .property-thumb img {
  transform: scale(1.04);
}

.property-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.tag-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 30px;
  background: rgba(11, 13, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag-badge.abaixo-preco {
  color: var(--color-cyan);
  border-color: rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.06);
}

.tag-badge.troco-troca {
  color: var(--color-emerald);
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
}

.property-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.property-price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-cyan);
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.property-info h3 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-primary);
  font-weight: 600;
}

.property-address {
  font-size: 12px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-address i {
  color: var(--color-emerald);
  font-size: 13px;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-top: 4px;
}

.spec-item {
  font-size: 11px;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.spec-item:hover {
  background: rgba(0, 229, 255, 0.03);
  border-color: rgba(0, 229, 255, 0.15);
}

.spec-item i {
  color: var(--color-cyan);
  font-size: 12px;
}

.spec-item span {
  font-weight: 600;
}

/* Mapa Wrapper */
.map-container-wrapper {
  flex-grow: 1;
  overflow: hidden;
  height: 100%;
  padding: 8px;
}

#map {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Customização de visual escuro no Leaflet */
.leaflet-container {
  background: #0b0d12 !important;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(95%);
}

.leaflet-popup-content-wrapper {
  background: #14161f !important;
  color: var(--color-text-primary) !important;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.leaflet-popup-tip {
  background: #14161f !important;
}

/* =========================================================================
   5. WORKSPACE CHAT / WHATSAPP IA
   ========================================================================= */

.chat-workspace {
  display: flex;
  gap: 16px;
  flex-grow: 1;
}

/* Smartphone Wrapper */
.smartphone-frame {
  width: 380px;
  height: calc(100vh - 120px);
  background: #000;
  border-radius: 36px;
  border: 8px solid #222;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 2px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.smartphone-screen {
  width: 100%;
  height: 100%;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); /* Padrão de fundo clássico do WhatsApp */
  background-color: #0b141a;
  background-size: cover;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
}

.whatsapp-header {
  height: 60px;
  background: #202c33;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.wa-back-btn {
  color: #aebac1;
  font-size: 15px;
  cursor: pointer;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.wa-user-info {
  flex-grow: 1;
}

.wa-user-info h3 {
  font-size: 13px;
  color: #e9edef;
  font-weight: 500;
  font-family: var(--font-body);
}

.wa-status {
  font-size: 10px;
  color: #8696a0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #00e5ff;
  border-radius: 50%;
}

.wa-actions {
  color: #aebac1;
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.whatsapp-chat-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  display: flex;
  width: 100%;
}

.message.incoming {
  justify-content: flex-start;
}

.message.outgoing {
  justify-content: flex-end;
}

.message.system-msg {
  justify-content: center;
}

.message.system-msg span {
  background: rgba(11, 20, 26, 0.85);
  color: #8696a0;
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  max-width: 85%;
  border: 1px solid rgba(255,255,255,0.05);
}

.msg-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  position: relative;
  white-space: pre-line;
}

.message.incoming .msg-bubble {
  background: #202c33;
  color: #e9edef;
  border-top-left-radius: 0;
}

.message.outgoing .msg-bubble {
  background: #005c4b;
  color: #e9edef;
  border-top-right-radius: 0;
}

.msg-time {
  display: block;
  text-align: right;
  font-size: 9px;
  color: #8696a0;
  margin-top: 4px;
}

.whatsapp-input-footer {
  height: 52px;
  background: #202c33;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-emoji-btn {
  background: transparent;
  border: none;
  color: #8696a0;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}

.whatsapp-input-footer input {
  flex-grow: 1;
  background: #2a3942;
  border: none;
  color: #e9edef;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
}

.whatsapp-input-footer input:focus {
  outline: none;
}

.wa-send-btn {
  background: #00a884;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Painel de Metadados da Conversa (IA Debug) */
.chat-info-panel {
  flex-grow: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: calc(100vh - 120px);
}

.panel-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: -12px;
}

.info-metric-card {
  background: rgba(14, 16, 22, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-metric-card label {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.badge-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  width: max-content;
}

.badge-status.active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.badge-status.transferred {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.phone-simulator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-simulator span {
  font-size: 12px;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.actions-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.timeline-item.active {
  opacity: 1;
}

.timeline-item .dot {
  width: 8px;
  height: 8px;
  background: #aebac1;
  border-radius: 50%;
}

.timeline-item.active .dot {
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

.timeline-item .label {
  font-size: 13px;
}

.info-action-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: pulseAlert 2s infinite ease-in-out;
}

@keyframes pulseAlert {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2); }
  50% { box-shadow: 0 0 10px 2px rgba(239, 68, 68, 0.3); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2); }
}

.info-action-alert i {
  color: #ef4444;
  font-size: 20px;
}

.info-action-alert strong {
  font-size: 13px;
  color: #ef4444;
}

.info-action-alert p {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* =========================================================================
   6. TABELA DE AGENDAMENTOS
   ========================================================================= */

.bookings-workspace {
  flex-grow: 1;
  overflow: hidden;
}

.table-container {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  border-radius: 16px;
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.bookings-table th, .bookings-table td {
  padding: 16px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--color-border);
}

.bookings-table th {
  background: rgba(14, 16, 22, 0.8);
  font-family: var(--font-title);
  color: var(--color-text-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
  z-index: 2;
}

.bookings-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.bookings-table td {
  background: rgba(26, 29, 36, 0.2);
}

.status-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  width: max-content;
  display: inline-block;
}

.status-tag.pending {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.status-tag.confirmed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-tag.cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================================================
   7. MODO VISITANTE (USER-ONLY VIEW) & HEADER FLUTUANTE
   ========================================================================= */

/* Comportamento geral do modo de usuário */
body.user-mode .sidebar {
  display: none !important;
}

body.user-mode .main-content {
  width: 100%;
}

body.user-mode .section-header {
  display: none !important;
}

body.user-mode .user-header-floating {
  display: flex !important;
}

/* Estilo do Header Flutuante do Cliente */
.user-header-floating {
  display: none; /* Só visível em body.user-mode */
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  margin-bottom: 8px;
  width: 100%;
  height: 72px;
  flex-shrink: 0;
  z-index: 100;
}

.user-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-brand-logo {
  font-size: 22px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-brand-info h1 {
  font-size: 16px;
  line-height: 1.1;
  color: var(--color-text-primary);
}

.user-brand-info span {
  font-size: 10px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.user-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-search-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.user-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-agent-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--color-border);
  padding-right: 16px;
}

.user-agent-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.user-agent-details h4 {
  font-size: 13px;
  line-height: 1.2;
}

.user-agent-details span {
  font-size: 11px;
  color: var(--color-text-secondary);
}

.btn-whatsapp-quick {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-whatsapp-quick:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #fff;
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-admin-login {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-admin-login:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-view-client {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.btn-view-client:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--color-cyan);
  border-color: rgba(0, 229, 255, 0.2);
}

@media (max-width: 900px) {
  .user-header-center {
    display: none;
  }
}
