/* Parent viewing banner styles */
.gpt-parent-viewing-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.gpt-parent-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gpt-parent-banner-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gpt-parent-banner-icon svg {
  color: white;
}

.gpt-parent-banner-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: white;
  flex-grow: 1;
}

.gpt-parent-banner-info strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  font-weight: 600;
}

.gpt-current-client-name {
  font-size: 18px;
  font-weight: 700;
}

.gpt-parent-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.gpt-client-switcher-select {
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 180px;
}

.gpt-client-switcher-select:hover {
  background: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.gpt-client-switcher-select:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.gpt-back-to-clients-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: #667eea;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gpt-back-to-clients-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #764ba2;
  text-decoration: none;
}

.gpt-back-to-clients-btn svg {
  flex-shrink: 0;
}

/* Responsive styles for parent viewing banner */
@media (max-width: 768px) {
  .gpt-parent-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .gpt-parent-banner-actions {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
  }
  
  .gpt-client-switcher-select,
  .gpt-back-to-clients-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Adding styles for child limit display and disabled button state */
.gpt-parent-child-limit-info {
  margin: 15px 0;
  text-align: center;
}

.gpt-child-count-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.gpt-add-child-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ccc;
}

.gpt-add-child-btn:disabled:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
