/* ============================================================================
   CLIENT INFO PANEL - Painel flutuante canto direito
   ============================================================================ */

.client-info-panel {
  position: fixed;
  top: 120px;
  right: 24px;
  width: 320px;
  background: radial-gradient(900px 420px at 0% 0%, rgba(255, 200, 0, 0.08), transparent 50%),
              linear-gradient(180deg, rgba(10,10,12,0.85), rgba(10,10,12,0.75));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 200, 0, 0.1) inset,
    0 8px 32px rgba(255, 200, 0, 0.15);
  z-index: 900;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(20px);
}

.client-info-panel.visible {
  opacity: 1;
  transform: translateX(0);
}

.client-info-panel.hidden {
  display: none;
}

/* Header */
.client-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.client-info-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ffc800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 200, 0, 0.3);
  box-shadow: 0 4px 12px rgba(255, 200, 0, 0.2);
  flex-shrink: 0;
}

.client-info-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-info-avatar i {
  color: rgba(255, 255, 255, 0.7);
  width: 24px;
  height: 24px;
}

.client-info-details {
  flex: 1;
}

.client-info-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-info-plan {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  text-transform: uppercase;
}

.client-info-plan[data-plan="creator"] {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.client-info-plan[data-plan="authority"] {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.client-info-plan[data-plan="empire"] {
  background: rgba(255, 200, 0, 0.2);
  color: #ffc800;
  border: 1px solid rgba(255, 200, 0, 0.3);
}

/* Agente Ativo */
.client-info-section {
  margin-bottom: 20px;
}

.client-info-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.client-info-agent {
  font-size: 18px;
  font-weight: 700;
  color: #ffc800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Progress Bars */
.client-info-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.client-stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  min-width: 50px;
}

.client-stat-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.client-stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ffc800);
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Plan Wrapper */
.client-info-plan-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.client-info-plan-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Photo Upload Container */
.photo-upload-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 200, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 200, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(255, 200, 0, 0.2);
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.photo-placeholder i {
  width: 40px;
  height: 40px;
}

.photo-placeholder span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.photo-upload-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.photo-upload-actions .btn-secondary {
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1400px) {
  .client-info-panel {
    right: 16px;
    width: 280px;
  }
}

@media (max-width: 1200px) {
  .client-info-panel {
    display: none;
  }
}

